./textproc/py-jsonpickle, Python library for serializing any arbitrary object graph into JSON

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


Branch: CURRENT, Version: 3.0.3, Package name: py311-jsonpickle-3.0.3, Maintainer: pkgsrc-users

jsonpickle converts complex Python objects to and from JSON.


Required to run:
[lang/python310]

Required to build:
[devel/py-setuptools_scm]

Master sites:

Filesize: 258.693 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-20 05:45:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-jsonpickle: updated to 3.0.3

v3.0.3

* Compatibilty with Pandas and Cython 3.0 was added.
* Fixed a bug where pickling some built-in classes (e.g. zoneinfo)
  could return a ``None`` module.
* Fixed a bug where unpickling a missing class would return a different object
  instead of ``None``.
* Fixed the handling of missing classes when setting ``on_missing`` to ``warn`` \ 
or ``error``.
* The test suite was made compatible with Python 3.12.
* The tox configuration was updated to generate code coverage reports.
* The suite now uses ``ruff`` to validate python code.
* The documentation can now be built offline when ``rst.linker`` and
  ``jaraco.packaging.sphinx`` are not available.
   2024-02-03 18:11:35 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-jsonpickle: updated to 3.0.2

v3.0.2
======
* Properly raise warning if a custom pickling handler returns None.
* Fix issue with serialization of certain sklearn objects breaking when
  the numpy handler was enabled.
* Allow custom backends to not implement _encoder_options
* Implement compatibility with pandas 2 (+446)

v3.0.1
======
* Remove accidental pin of setuptools to versions below 59. This allows
  jsonpickle to build with CPython 3.11 and 3.12 alphas.
* Remove accidental dependency on pytz in pandas tests. (+421)
* Fix issue with decoding bson.bson.Int64 objects

v3.0.0
======
* Drop support for CPython<3.7. CPython 3.6 and below have reached EOL
  and no longer receive security updates.
* Add support for CPython 3.11.
* Remove jsonlib and yajl backends (py2 only)
* Add ``include_properties`` option to the pickler. This should only
  be used if analyzing generated json outside of Python.
* Allow the ``classes`` argument to ``jsonpickle.decode`` to be a dict
  of class name to class object. This lets you decode arbitrary dumps
  into different classes.
* Fix bug with deserializing `numpy.poly1d`.
* Allow frozen dataclasses to be deserialized.
* Fixed a bug where pickling a function could return a ``None`` module.
* Removed old bytes/quopri and ref decoding abaility from the unpickler.
  These were last used in jsonpickle<1. Removing them causes a slight speedup
  in unpickling lists (~5%). (+403)
* Fixed a bug with namedtuples encoding on CPython 3.11.
* When using the ``sort_keys`` option for the ``simplejson`` backend,
  jsonpickle now produces correct object references with py/id tags.
* Speed up the internal method ``_restore_tags`` by ~10%. This should speed
  up unpickling of almost every object.
   2023-07-30 17:32:50 by Adam Ciarcinski | Files touched by this commit (19)
Log message:
Remove dependencies for Python 3.7
   2023-04-30 17:40:20 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-jsonpickle: not for python 2
   2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96)
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
   2022-08-24 10:41:09 by Thomas Klausner | Files touched by this commit (13)
Log message:
*: use py-test-cov from versioned_dependencies
   2022-01-25 10:05:12 by Thomas Klausner | Files touched by this commit (10)
Log message:
*: use versioned_dependencies.mk for py-importlib-metadata
   2022-01-13 20:31:25 by Thomas Klausner | Files touched by this commit (43)
Log message:
*: setuptools_scm: switch to versioned_dependencies