./converters/py-simplejson, Simple, fast, complete and extensible JSON encoder/decoder

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.20.1, Package name: py312-simplejson-3.20.1, Maintainer: pkgsrc-users

simplejson is a simple, fast, extensible JSON encoder/decoder for Python

simplejson is compatible with Python 2.3 and later with no external
dependencies. It covers the full JSON specification for both encoding and
decoding, with unicode support. By default, encoding is done in an encoding
neutral fashion (plain ASCII with \uXXXX escapes for unicode characters).

The encoder may be subclassed to provide serialization in any kind of
situation, without any special support by the objects to be serialized
(somewhat like pickle).

The decoder can handle incoming JSON strings of any specified encoding
(UTF-8 by default).


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 83.585 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-15 17:07:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: updated to 3.20.1

Version 3.20.1
* Do not memoize keys before they are coerced to string
   2025-02-02 11:38:04 by Havard Eidnes | Files touched by this commit (28)
Log message:
lang/python and a number of python packages: re-do atomic64.mk issue.

Evidently, python 3.13 brought in the need to support 64-bit atomics.
This means that python extension packages built with C needs to
use mk/atomic64.mk to make -latomic available on the required 32-bit
ports.  Sadly, there is no reliable way to detect in the .mk files
whether the package is using C (or C++), so this change adds an
unconditional include of mk/atomic64.mk when the python version is
equal to or larger than 3.13 for packages using egg.mk or wheel.mk.

This undoes the individual package Makefile inclusions of mk/atomic64.mk
that I've added over the last few days.
   2025-01-21 16:35:41 by Havard Eidnes | Files touched by this commit (1)
Log message:
converters/py-simplejson: use atomic64.mk to fix build on macppc w/py3.13.
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-08-20 16:12:08 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-simplejson: updated to 3.19.3

Version 3.19.3 released 2024-08-14

* 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
   2023-10-07 22:10:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: updated to 3.19.2

Version 3.19.2 released 2023-10-05

* Updated test & build matrix to include Python 3.12 and use
  GitHub Actions as a Trusted Publisher (OIDC)
   2023-04-07 06:30:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: update to 3.19.1

Version 3.19.1 released 2023-04-06

* 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.
  A link to the public version of this report will be included in a
  future release of simplejson. The following fixes were implemented in
  one PR: https://github.com/simplejson/simplejson/pull/313
* 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)
   2023-03-15 14:00:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: updated to 3.18.4

Version 3.18.4 released 2023-03-14

* Test the sdist to prevent future regressions
  https://github.com/simplejson/simplejson/pull/311
* Enable ppc64le wheels
  https://github.com/simplejson/simplejson/pull/312