14
0

48 Commits

Author SHA256 Message Date
40372495a9 - update to 3.20.1:
* Do not memoize keys before they are coerced to string
    https://github.com/simplejson/simplejson/pull/329

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=102
2025-03-30 08:04:28 +00:00
533c674966 - update to 3.19.3:
* Updated test & build matrix to include Python 3.13.
  * Dropped wheel support for Python 2.7 on macOS.
  * https://github.com/simplejson/simplejson/pull/326

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=100
2024-09-08 13:32:57 +00:00
6c522ba9bd - update to 3.19.2:
* Updated test & build matrix to include Python 3.12
    more strict, by default simplejson will now only consume
- Update to v3.18.0
    adding wheels for Python 3.9.
* 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
      https://github.com/simplejson/simplejson/issues/62
  * New item_sort_key option for encoder to allow fine grained

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=98
2023-11-27 18:47:03 +00:00
25b19d4097 - 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
c0024f0d9c 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
2d13a46a4a - 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
d03f3bd2c8 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
31066a4dfb - 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
493c9ac8c8 - 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
ef2208e797 - 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
f9eb8eb08e - 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
912a61fe1a 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
891d170604 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
5370449e9e - 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
abf10c4ecb 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
c3e5087479 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
3d5a4786e1 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
8b6c19dd56 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
115ef6b1c8 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
4482aed1d8 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
ac03bfe606 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
bb14094b78 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=65 2017-03-21 15:57:20 +00:00
Jan Matejek
4323090aa3 - 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
a210e43284 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
2b9b5bdb76 - 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
30976b90a0 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
87b215412a 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
a8272ebc20 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
83b589555c 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
cd8370e524 - 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
9eb9ba0940 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
e8f9c5949e 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
421cf9ee17 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
Sascha Peilicke
4e5b88f0b2 - Use 2to3 to fix build, disable testsuite for now
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=42
2013-01-30 11:58:46 +00:00
Todd R
403adda928 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=34 2013-01-17 14:18:59 +00:00
Sascha Peilicke
6fff2e8e33 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
de6f86147f 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
f3ef9e08a9 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
82de61a048 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
e48f66ce7c - 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
fb4def3716 - 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
10854928ae - 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
OBS User buildservice-autocommit
efe77ded41 Updating link to change in openSUSE:Factory/python-simplejson revision 11.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=87dc0e9ecff933381252e4ee88c1ea65
2011-07-19 13:05:28 +00:00
Alexandre Rogoski
b2d93ab269 - 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
eb00f14f7d Autobuild autoformatter for 63286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplejson?expand=0&rev=9
2011-03-08 10:06:35 +00:00
Berthold Gunreben
89af754c48 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
de2ba0e95e 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
d5ed71d650 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplejson?expand=0&rev=1 2009-07-27 02:56:14 +00:00