simplejson 3.19.1__tar.gz → 3.19.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. {simplejson-3.19.1 → simplejson-3.19.3}/CHANGES.txt +12 -0
  2. {simplejson-3.19.1/simplejson.egg-info → simplejson-3.19.3}/PKG-INFO +3 -1
  3. {simplejson-3.19.1 → simplejson-3.19.3}/conf.py +1 -1
  4. {simplejson-3.19.1 → simplejson-3.19.3}/index.rst +0 -7
  5. {simplejson-3.19.1 → simplejson-3.19.3}/setup.py +22 -12
  6. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/__init__.py +1 -1
  7. {simplejson-3.19.1 → simplejson-3.19.3/simplejson.egg-info}/PKG-INFO +3 -1
  8. {simplejson-3.19.1 → simplejson-3.19.3}/LICENSE.txt +0 -0
  9. {simplejson-3.19.1 → simplejson-3.19.3}/MANIFEST.in +0 -0
  10. {simplejson-3.19.1 → simplejson-3.19.3}/README.rst +0 -0
  11. {simplejson-3.19.1 → simplejson-3.19.3}/scripts/make_docs.py +0 -0
  12. {simplejson-3.19.1 → simplejson-3.19.3}/setup.cfg +0 -0
  13. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/_speedups.c +0 -0
  14. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/compat.py +0 -0
  15. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/decoder.py +0 -0
  16. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/encoder.py +0 -0
  17. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/errors.py +0 -0
  18. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/ordered_dict.py +0 -0
  19. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/raw_json.py +0 -0
  20. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/scanner.py +0 -0
  21. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/__init__.py +0 -0
  22. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/_cibw_runner.py +0 -0
  23. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_bigint_as_string.py +0 -0
  24. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_bitsize_int_as_string.py +0 -0
  25. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_check_circular.py +0 -0
  26. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_decimal.py +0 -0
  27. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_decode.py +0 -0
  28. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_default.py +0 -0
  29. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_dump.py +0 -0
  30. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_encode_basestring_ascii.py +0 -0
  31. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_encode_for_html.py +0 -0
  32. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_errors.py +0 -0
  33. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_fail.py +0 -0
  34. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_float.py +0 -0
  35. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_for_json.py +0 -0
  36. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_indent.py +0 -0
  37. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_item_sort_key.py +0 -0
  38. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_iterable.py +0 -0
  39. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_namedtuple.py +0 -0
  40. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_pass1.py +0 -0
  41. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_pass2.py +0 -0
  42. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_pass3.py +0 -0
  43. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_raw_json.py +0 -0
  44. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_recursion.py +0 -0
  45. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_scanstring.py +0 -0
  46. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_separators.py +0 -0
  47. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_speedups.py +0 -0
  48. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_str_subclass.py +0 -0
  49. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_subclass.py +0 -0
  50. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_tool.py +0 -0
  51. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_tuple.py +0 -0
  52. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tests/test_unicode.py +0 -0
  53. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson/tool.py +0 -0
  54. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson.egg-info/SOURCES.txt +0 -0
  55. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson.egg-info/dependency_links.txt +0 -0
  56. {simplejson-3.19.1 → simplejson-3.19.3}/simplejson.egg-info/top_level.txt +0 -0
@@ -1,3 +1,15 @@
1
+ Version 3.19.3 released 2024-08-14
2
+
3
+ * Updated test & build matrix to include Python 3.13.
4
+ Dropped wheel support for Python 2.7 on macOS.
5
+ https://github.com/simplejson/simplejson/pull/326
6
+
7
+ Version 3.19.2 released 2023-10-05
8
+
9
+ * Updated test & build matrix to include Python 3.12 and use
10
+ GitHub Actions as a Trusted Publisher (OIDC)
11
+ https://github.com/simplejson/simplejson/pull/317
12
+
1
13
  Version 3.19.1 released 2023-04-06
2
14
 
3
15
  * This release contains security hardening measures based on recommendations
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: simplejson
3
- Version: 3.19.1
3
+ Version: 3.19.3
4
4
  Summary: Simple, fast, extensible JSON encoder/decoder for Python
5
5
  Home-page: https://github.com/simplejson/simplejson
6
6
  Author: Bob Ippolito
@@ -26,6 +26,8 @@ Classifier: Programming Language :: Python :: 3.8
26
26
  Classifier: Programming Language :: Python :: 3.9
27
27
  Classifier: Programming Language :: Python :: 3.10
28
28
  Classifier: Programming Language :: Python :: 3.11
29
+ Classifier: Programming Language :: Python :: 3.12
30
+ Classifier: Programming Language :: Python :: 3.13
29
31
  Classifier: Programming Language :: Python :: Implementation :: CPython
30
32
  Classifier: Programming Language :: Python :: Implementation :: PyPy
31
33
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
@@ -44,7 +44,7 @@ copyright = '2023, Bob Ippolito'
44
44
  # The short X.Y version.
45
45
  version = '3.19'
46
46
  # The full version, including alpha/beta/rc tags.
47
- release = '3.19.1'
47
+ release = '3.19.3'
48
48
 
49
49
  # There are two options for replacing |today|: either, you set today to some
50
50
  # non-false value, then it is used:
@@ -148,13 +148,6 @@ Serializing multiple objects to JSON lines (newline-delimited JSON)::
148
148
  >>> ''.join(dumps_lines([{'count': 1}, {'count': 2}, {'count': 3}]))
149
149
  '{"count":1}\n{"count":2}\n{"count":3}\n'
150
150
 
151
- .. note::
152
-
153
- JSON is a subset of `YAML <http://yaml.org/>`_ 1.2. The JSON produced by
154
- this module's default settings (in particular, the default *separators*
155
- value) is also a subset of YAML 1.0 and 1.1. This module can thus also be
156
- used as a YAML serializer.
157
-
158
151
 
159
152
  Basic Usage
160
153
  -----------
@@ -12,11 +12,11 @@ from distutils.errors import CCompilerError, DistutilsExecError, \
12
12
  DistutilsPlatformError
13
13
 
14
14
  IS_PYPY = hasattr(sys, 'pypy_translation_info')
15
- VERSION = '3.19.1'
15
+ VERSION = '3.19.3'
16
16
  DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python"
17
17
 
18
18
  with open('README.rst', 'r') as f:
19
- LONG_DESCRIPTION = f.read()
19
+ LONG_DESCRIPTION = f.read()
20
20
 
21
21
  PYTHON_REQUIRES = '>=2.5, !=3.0.*, !=3.1.*, !=3.2.*'
22
22
 
@@ -40,23 +40,27 @@ CLASSIFIERS = [
40
40
  'Programming Language :: Python :: 3.9',
41
41
  'Programming Language :: Python :: 3.10',
42
42
  'Programming Language :: Python :: 3.11',
43
+ 'Programming Language :: Python :: 3.12',
44
+ 'Programming Language :: Python :: 3.13',
43
45
  'Programming Language :: Python :: Implementation :: CPython',
44
46
  'Programming Language :: Python :: Implementation :: PyPy',
45
47
  'Topic :: Software Development :: Libraries :: Python Modules',
46
48
  ]
47
49
 
48
50
  if sys.platform == 'win32' and sys.version_info < (2, 7):
49
- # 2.6's distutils.msvc9compiler can raise an IOError when failing to
50
- # find the compiler
51
- # It can also raise ValueError https://bugs.python.org/issue7511
52
- ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError,
53
- IOError, ValueError)
51
+ # 2.6's distutils.msvc9compiler can raise an IOError when failing to
52
+ # find the compiler
53
+ # It can also raise ValueError https://bugs.python.org/issue7511
54
+ ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError,
55
+ IOError, ValueError)
54
56
  else:
55
- ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError)
57
+ ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError)
58
+
56
59
 
57
60
  class BuildFailed(Exception):
58
61
  pass
59
62
 
63
+
60
64
  class ve_build_ext(build_ext):
61
65
  # This class allows C extension building to fail.
62
66
 
@@ -83,18 +87,20 @@ class TestCommand(Command):
83
87
  pass
84
88
 
85
89
  def run(self):
86
- import sys, subprocess
90
+ import sys
91
+ import subprocess
87
92
  raise SystemExit(
88
93
  subprocess.call([sys.executable,
89
94
  # Turn on deprecation warnings
90
95
  '-Wd',
91
96
  'simplejson/tests/__init__.py']))
92
97
 
98
+
93
99
  def run_setup(with_binary):
94
100
  cmdclass = dict(test=TestCommand)
95
101
  if with_binary:
96
102
  kw = dict(
97
- ext_modules = [
103
+ ext_modules=[
98
104
  Extension("simplejson._speedups", ["simplejson/_speedups.c"]),
99
105
  ],
100
106
  cmdclass=dict(cmdclass, build_ext=ve_build_ext),
@@ -117,10 +123,14 @@ def run_setup(with_binary):
117
123
  platforms=['any'],
118
124
  **kw)
119
125
 
126
+
127
+ DISABLE_SPEEDUPS = IS_PYPY or os.environ.get('DISABLE_SPEEDUPS') == '1'
128
+ CIBUILDWHEEL = os.environ.get('CIBUILDWHEEL') == '1'
129
+ REQUIRE_SPEEDUPS = CIBUILDWHEEL or os.environ.get('REQUIRE_SPEEDUPS') == '1'
120
130
  try:
121
- run_setup(not IS_PYPY and os.environ.get('DISABLE_SPEEDUPS') != '1')
131
+ run_setup(not DISABLE_SPEEDUPS)
122
132
  except BuildFailed:
123
- if os.environ.get('REQUIRE_SPEEDUPS') or os.environ.get('CIBUILDWHEEL', '0') == '1':
133
+ if REQUIRE_SPEEDUPS:
124
134
  raise
125
135
  BUILD_EXT_WARNING = ("WARNING: The C extension could not be compiled, "
126
136
  "speedups are not enabled.")
@@ -118,7 +118,7 @@ Serializing multiple objects to JSON lines (newline-delimited JSON)::
118
118
 
119
119
  """
120
120
  from __future__ import absolute_import
121
- __version__ = '3.19.1'
121
+ __version__ = '3.19.3'
122
122
  __all__ = [
123
123
  'dump', 'dumps', 'load', 'loads',
124
124
  'JSONDecoder', 'JSONDecodeError', 'JSONEncoder',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: simplejson
3
- Version: 3.19.1
3
+ Version: 3.19.3
4
4
  Summary: Simple, fast, extensible JSON encoder/decoder for Python
5
5
  Home-page: https://github.com/simplejson/simplejson
6
6
  Author: Bob Ippolito
@@ -26,6 +26,8 @@ Classifier: Programming Language :: Python :: 3.8
26
26
  Classifier: Programming Language :: Python :: 3.9
27
27
  Classifier: Programming Language :: Python :: 3.10
28
28
  Classifier: Programming Language :: Python :: 3.11
29
+ Classifier: Programming Language :: Python :: 3.12
30
+ Classifier: Programming Language :: Python :: 3.13
29
31
  Classifier: Programming Language :: Python :: Implementation :: CPython
30
32
  Classifier: Programming Language :: Python :: Implementation :: PyPy
31
33
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
File without changes
File without changes
File without changes
File without changes