820df74342
- update to 3.19.1:
...
* This release contains security hardening measures based on
recommendations by a security audit sponsored by OSTIF and
conducted by X41 D-Sec GmbH.
Several of these measures include changing defaults to be
more strict, by default simplejson will now only consume
and produce compliant JSON, but the flags still exist for
any backwards compatibility needs.
No high priority issues were discovered, the reference
count leak is thought to be unreachable since the digits of the
float are checked before PyOS_string_to_double is called.
* Fix invalid handling of unicode escape sequences in the pure
Python implementation of the decoder (SJ-PT-23-01)
* Fix missing reference count decrease if PyOS_string_to_double
raises an exception in Python 2.x; was probably unreachable (SJ-
PT-23-02)
* Backport the integer string length limitation from Python
3.11 to limit quadratic number parsing (SJ-PT-23-03)
* Fix inconsistencies with error messages between the C and
Python implementations (SJ-PT-23-100)
* Remove unused unichr import from encoder (SJ-PT-23-101)
* Remove unused namedtuple_as_object and tuple_as_array
arguments from simplejson.load (SJ-PT-23-102)
* Remove vestigial _one_shot code from iterencode (SJ-
PT-23-103)
* Change default of allow_nan from True to False and add
allow_nan to decoder (SJ-PT-23-107)
* Test the sdist to prevent future regressions
* Fix regression in sdist archive
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=96
2023-05-04 20:13:18 +00:00
e552b44405
Accepting request 1081623 from home:dirkmueller:acdc:as_python3_module
...
SR for python stack proposal
OBS-URL: https://build.opensuse.org/request/show/1081623
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=94
2023-04-21 13:34:37 +00:00
3f3d7bd1d9
- update to 3.18.1:
...
* Remove unnecessary `i` variable from encoder module namespace
* Declare support for Python 3.11 and add wheels
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=92
2023-01-04 18:46:52 +00:00
6b45da45e6
Accepting request 1039931 from home:yarunachalam:branches:devel:languages:python
...
- Update to v3.18.0
* Allow serialization of classes that implement for_json or _asdict by
ignoring TypeError when those methods are called
https://github.com/simplejson/simplejson/pull/302
* Raise JSONDecodeError instead of ValueError in invalid unicode escape
sequence edge case
https://github.com/simplejson/simplejson/pull/298
OBS-URL: https://build.opensuse.org/request/show/1039931
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=90
2022-12-05 12:52:33 +00:00
b795d3cd13
- update to 3.17.6:
...
* Declare support for Python 3.10 and add wheels
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=89
2021-11-29 11:54:20 +00:00
be8afc26b4
- update to 3.17.5:
...
* Fix the C extension module to harden is_namedtuple against looks-a-likes such
as Mocks. Also prevent dict encoding from causing an unraised SystemError when
encountering a non-Dict. Noticed by running user tests against a CPython
interpreter with C asserts enabled (COPTS += -UNDEBUG).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=88
2021-09-07 06:56:11 +00:00
2a14cde3ba
- update to 3.17.3:
...
* Replaced Travis-CI and AppVeyor with Github Actions,
adding wheels for Python 3.9.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=87
2021-07-16 19:51:28 +00:00
fa16c44674
- update to 3.17.2
...
- use pytest as testrunner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=85
2020-07-29 06:53:21 +00:00
Tomáš Chvátal
da3bbda9c0
Accepting request 750608 from home:apersaud:branches:devel:languages:python
...
update to latest version
OBS-URL: https://build.opensuse.org/request/show/750608
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=83
2019-11-29 09:44:11 +00:00
Tomáš Chvátal
0c53665582
Accepting request 634496 from home:apersaud:branches:devel:languages:python
...
update to latest version
OBS-URL: https://build.opensuse.org/request/show/634496
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=81
2018-09-08 19:47:55 +00:00
Tomáš Chvátal
45e98c6b14
- Do not package tests
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=79
2018-07-02 11:11:00 +00:00
Tomáš Chvátal
32381f0157
Accepting request 620092 from home:apersaud:branches:devel:languages:python
...
update to latest version
OBS-URL: https://build.opensuse.org/request/show/620092
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=78
2018-07-02 11:07:38 +00:00
Tomáš Chvátal
3c384ba1e7
Accepting request 610824 from home:apersaud:branches:devel:languages:python
...
update to latest version
OBS-URL: https://build.opensuse.org/request/show/610824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=76
2018-05-21 06:43:50 +00:00
Tomáš Chvátal
cfd530235f
Accepting request 604541 from home:apersaud:branches:devel:languages:python
...
update to latest version
OBS-URL: https://build.opensuse.org/request/show/604541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=74
2018-05-07 13:48:44 +00:00
132a0385b7
Accepting request 545924 from home:jengelh:branches:devel:languages:python
...
- Remove bias from description.
OBS-URL: https://build.opensuse.org/request/show/545924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=72
2017-11-27 13:44:01 +00:00
2d5e6139f2
Accepting request 545764 from home:apersaud:branches:devel:languages:python
...
update to latest version
OBS-URL: https://build.opensuse.org/request/show/545764
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=71
2017-11-27 09:40:33 +00:00
Jan Matejek
768657b626
Accepting request 539365 from home:apersaud:branches:devel:languages:python
...
update to latest version
OBS-URL: https://build.opensuse.org/request/show/539365
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=69
2017-11-07 15:34:56 +00:00
f616792890
Accepting request 515232 from home:tbechtold:branches:devel:languages:python
...
- update to 3.11.1:
* Fix issue with item_sort_key when speedups are available, and add
auto-discovery to test suites to prevent similar regressions
* docstring fix in JSONEncoder
* Call PyObject_IsTrue() only once for the strict argument of scann er
* Fix a crash with unencodable encoding in the encoder
* Remove unused imports
* Remove remnants of Python 2.4 support
* Fix argument checking errors in _speedups.c
* Remove the `__init__` methods in extension classes
* Fix typo in the doc for loads
* Add Python 3.6 to testing matrix and PyPI metadata
OBS-URL: https://build.opensuse.org/request/show/515232
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=67
2017-08-08 18:54:50 +00:00
Jan Matejek
b6c019aee4
- fix pypi url
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=64
2017-03-21 15:56:50 +00:00
Jan Matejek
c01daeeeaf
Accepting request 480736 from home:rjschwei:branches:devel:languages:python
...
- Switch to single-spec build
- Update to 3.10.0
* Add RawJSON class to allow a faster path for already encoded JSON.
- From 3.9.0
* Workaround for bad behavior in string subclasses
* Fix warnings flagged by -3
* Update readthedocs documentation links
* Add build status badge to README
OBS-URL: https://build.opensuse.org/request/show/480736
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=63
2017-03-20 14:41:00 +00:00
3d1896a05c
- update to 3.8.2:
...
* Fix implicit cast compiler warning in _speedups.c
* simplejson is now available as wheels for OS X and Windows thanks to Travis-CI
and AppVeyor respectively! Many thanks to @aebrahim for getting this party
started.
* Fix issue with iterable_as_array and indent option
* Fix typo in keyword argument name introduced in 3.8.0
* New iterable_as_array encoder option to perform lazy serialization of
any iterable objects, without having to convert to tuple or list.
* Fix typo introduced in 3.7.0 (behavior should be indistinguishable)
e18cc09b68 (commitcomment-11443842)
* Do not cache Decimal class in encoder, only reference the decimal module.
This may make reload work in more common scenarios.
* Fix compilation with MSVC
https://github.com/simplejson/simplejson/pull/119
* simplejson no longer trusts custom str/repr methods for int, long, float
subclasses. These instances are now formatted as if they were exact
instances of those types.
https://github.com/simplejson/simplejson/issues/118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=61
2016-11-18 22:43:22 +00:00
Denisart Benjamin
4b53984bc8
Accepting request 306629 from home:benoit_monin:branches:devel:languages:python
...
update to version 3.6.5
OBS-URL: https://build.opensuse.org/request/show/306629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=59
2015-05-16 13:27:27 +00:00
Sascha Peilicke
4d86150d3b
Accepting request 235927 from Cloud:OpenStack:Master
...
- update to 3.5.2:
* Fix Windows build with VS2008
Version 3.5.1 released 2014-05-21
* Consistently reject int_as_string_bitcount settings that are not
positive integers
Version 3.5.0 released 2014-05-20
* Added int_as_string_bitcount encoder option
* Fixed potential crash when encoder created with incorrect options
OBS-URL: https://build.opensuse.org/request/show/235927
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=57
2014-06-02 09:08:58 +00:00
Todd R
a24a492bfe
Accepting request 234838 from home:TheBlackCat:branches:devel:languages:python
...
Update to 3.4.1
OBS-URL: https://build.opensuse.org/request/show/234838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=55
2014-05-20 12:32:17 +00:00
Denisart Benjamin
bb84ff875f
Accepting request 205479 from home:dirkmueller:branches:devel:languages:python
...
- update to 3.3.1:
* JSONDecodeError exceptions can now be pickled
OBS-URL: https://build.opensuse.org/request/show/205479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=53
2013-11-01 00:04:40 +00:00
Sascha Peilicke
9b6a153256
- Require python-setuptools instead of distribute (upstreams merged)
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=51
2013-10-24 11:14:31 +00:00
Todd R
621e9f5404
Accepting request 174803 from home:bgaechter:branches:devel:languages:python
...
Updated package to latest version 3.3.0
OBS-URL: https://build.opensuse.org/request/show/174803
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=47
2013-05-08 11:39:57 +00:00
Todd R
24aeef863d
Accepting request 163738 from devel:languages:python3
...
- Disable building on python3 < 3.3 since it is not supported
- Update to version 3.1.3 (forwarded request 163737 from TheBlackCat)
OBS-URL: https://build.opensuse.org/request/show/163738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=45
2013-04-12 12:10:31 +00:00
Denisart Benjamin
da5d702d0d
Accepting request 155989 from home:posophe:branches:devel:languages:python
...
Update
OBS-URL: https://build.opensuse.org/request/show/155989
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=43
2013-02-21 15:59:25 +00:00
Todd R
4df4feab94
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=36
2013-01-17 14:20:08 +00:00
Sascha Peilicke
f9f1d61296
Accepting request 148421 from home:posophe:branches:devel:languages:python
...
Made required changes
OBS-URL: https://build.opensuse.org/request/show/148421
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=33
2013-01-15 14:15:26 +00:00
Ismail Dönmez
677c0a97a3
Accepting request 136434 from home:poorboywilly:branches:devel:languages:python
...
Update to 2.6.2
OBS-URL: https://build.opensuse.org/request/show/136434
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=31
2012-09-29 20:13:12 +00:00
Todd R
7e1787203e
Accepting request 132438 from home:poorboywilly:branches:devel:languages:python
...
Update to 2.6.1
OBS-URL: https://build.opensuse.org/request/show/132438
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=29
2012-09-05 07:51:51 +00:00
Todd R
dae3b51dac
Accepting request 122373 from home:TheBlackCat:branches:devel:languages:python
...
- Clean up spec file
- Update to version 2.5.2:
OBS-URL: https://build.opensuse.org/request/show/122373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=27
2012-05-25 12:27:56 +00:00
Sascha Peilicke
3c195bb4de
- Update to version 2.4.0:
...
* New bigint_as_string option for encoder to trade JavaScript number
precision issues for type issues.
- Run testsuite
- Package README.rst, CHANGES.txt and LICENSE.txt
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=25
2012-03-12 21:17:02 +00:00
Sascha Peilicke
b7484787c5
- Re-add python-distribute, you can't simply remove that, it breaks RPM updates
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=22
2011-09-20 14:23:22 +00:00
Alexandre Rogoski
c9f57ee077
- Update to 2.2.1:
...
* Fix MANIFEST.in issue when building a sdist from a sdist.
https://github.com/simplejson/simplejson/issues/16
- Aditional changes from version 2.2.0:
* Remove setuptools requirement, reverted to pure distutils
* use_decimal default for encoding (dump, dumps, JSONEncoder) is now True
* tuple encoding as JSON objects can be turned off with new
tuple_as_array=False option.
https://github.com/simplejson/simplejson/pull/6
* namedtuple (or other tuple subclasses with _asdict methods) are now
encoded as JSON objects rather than arrays by default. Can be disabled
and treated as a tuple with the new namedtuple_as_object=False option.
https://github.com/simplejson/simplejson/pull/6
* JSONDecodeError is now raised instead of ValueError when a document
ends with an opening quote and the C speedups are in use.
https://github.com/simplejson/simplejson/issues/15
* Updated documentation with information about JSONDecodeError
* Force unicode linebreak characters to be escaped (U+2028 and U+2029)
http://timelessrepo.com/json-isnt-a-javascript-subset
* Moved documentation from a git submodule to
http://simplejson.readthedocs.org/
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=21
2011-09-06 22:13:40 +00:00
Alexandre Rogoski
119f2d1a3f
- Update to 2.1.6:
...
* Prevent segfaults with deeply nested JSON documents
https://github.com/simplejson/simplejson/issues/11
* Fix compatibility with Python 2.5
https://github.com/simplejson/simplejson/issues/5
- Aditional changes from 2.1.5 released 2011-04-17:
* Built sdist tarball with setuptools_git installed. Argh.
- Aditional changes from 2.1.4 released 2011-04-17:
* Does not try to build the extension when using PyPy
* Trailing whitespace after commas no longer emitted when indent is used
* Migrated to github http://github.com/simplejson/simplejson
- Regenerate spec file with py2pack.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=19
2011-05-09 03:32:26 +00:00
Berthold Gunreben
102790953a
Accepting request 63286 from devel:languages:python
...
Accepted submit request 63286 from user saschpe
OBS-URL: https://build.opensuse.org/request/show/63286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplejson?expand=0&rev=8
2011-03-08 10:06:11 +00:00
OBS User autobuild
97390c0d2b
Accepting request 48274 from devel:languages:python
...
Copy from devel:languages:python/python-simplejson based on submit request 48274 from user coolo
OBS-URL: https://build.opensuse.org/request/show/48274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplejson?expand=0&rev=6
2010-09-17 23:10:19 +00:00
OBS User unknown
ae3e43b7fc
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplejson?expand=0&rev=1
2009-07-27 02:56:14 +00:00