Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-jsonpickle
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-jsonpickle: updated to 4.1.0 v4.1.0 * Deprecation warnings were added to certain simple functions in ``jsonpickle/util.py``. These functions will be removed in 5.0.0 to ease the transition into typing everything. * The ``test_multindex_dataframe_roundtrip`` test in the pandas extension had been failing on 32-bit architectures in Debian's test suite. This has been resolved. (+560)
py-jsonpickle: updated to 4.0.5 v4.0.5 * ``pyproject.toml`` was updated to include the ``project.license.text`` field so that pypi continues to list our license. v4.0.4 * ``pyproject.toml`` was updated to avoid specifying the license file. This avoids breaking older setuptools versions while also avoiding the deprecated ``tool.setuptools.license-files`` field. ``setuptools`` will find our ``LICENSE`` file automatically, so there is no need to specify it. v4.0.3 * Documentation warnings from ``furo`` have been fixed. * Numpy datetime64 objects with nanosecond precision are now supported. v4.0.2 * The unpickler is now more resilient to malformed "py/id" and "py/repr" data. * The unpickler is now more resilient to invalid "py/b85" and "py/b64" data. * The unpickler's support for read-only str attributes was improved. v4.0.1 * The unpickler is now more resilient to malformed "py/reduce", "py/set", "py/tuple", "py/b64", "py/b85", and "py/iterator" input data. * The test suite was updated to leverage more pytest features. * The ``jsonpickle.compat`` module is no longer used. It is still provided for backwards compatibility but it may be removed in a future version. v4.0.0 * **Breaking Change**: Python 3.7 is no longer supported. * **Breaking Change**: Support for pre-0.7.0 ``repr``-serialized objects is no longer enabled by default. The ``safe`` option to ``decode()`` was changed from ``False`` to ``True``. Users can still pass ``safe=False`` to ``decode()`` in order to enable this feature for the purposes of loading older files, but beware that this feature relies on unsafe behavior through its use of ``eval()``. Users are encouraged to re-pickle old data in order to migrate away from the the unsafe loading feature. * The pickler no longer produces ``py/repr`` tags when pickling modules. ``py/mod`` is used instead, as it is clearer and uses one less byte. * The test suite no longer uses the deprecated ``datetime.datetime.utcnow()`` function.
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.
py-jsonpickle: updated to 1.4.1 v1.4.1 * Patch release for Python 3.8 `importlib_metadata` support. v1.4 * Python 3.8 support. * ``jsonpickle.encode`` now supports the standard ``indent`` and ``separators`` arguments, and passes them through to the active JSON backend library. * We now include a custom handler for `array.array` objects. * Dict key order is preserved when pickling dictionaries on Python3. * Improved serialization of dictionaries with non-string keys. Previously, using an enum that was both the key and a value in a dictionary could end up with incorrect references to other objects. The references are now properly maintained for dicts with object keys that are also referenced in the dict's values. * Improved serialization of pandas.Series objects. v1.3 * Improved round tripping of default dicts. * Better support for cyclical references when encoding with ``unpicklable=False``.
py-jsonpickle: updated to 1.0 Version 1.0: NOTE jsonpickle no longer supports Python2.6, or Python3 < 3.4. The officially supported Python versions are now 2.7 and 3.4+. Improved Pandas and Numpy support. Improved support for pickling iterators. Better support for the stdlib json module when simplejson is not installed. jsonpickle will now output python3-style module names when pickling builtins methods or functions. jsonpickle will always flatten primitives, even when max_depth is reached, which avoids encoding unicode strings into their u'string' representation. Nested classes are now supported on Python 3. Better support for older (pre-1.9) versions of numpy
Added textproc/py-jsonpickle version 0.9.5 jsonpickle converts complex Python objects to and from JSON.