The NetBSD Project

CVS log for pkgsrc/textproc/py-jsonpickle/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-jsonpickle

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Oct 16 19:46:06 2026 UTC (4 weeks, 2 days ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -9 lines
py-jsonpickle: updated to 4.1.4

v4.1.4
* Fix broken build from source on 4.1.3.

v4.1.3
* Add deprecation warnings for the pending removal of the ``backend``, ``max_iter``, and
  ``v1_decode`` arguments, as well as the new behavior of 5.0.0 in not registering the
  yaml backend by default.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jun 28 15:41:39 2026 UTC (4 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
*: limit Python versions due to py-numpy dropping Python 3.11 support

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri May 29 13:08:05 2026 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
py-jsonpickle: updated to 4.1.2

v4.1.2
* Add deprecation warnings for the pending removal of the ``safe``, ``numeric_keys``, and
  ``use_decimal`` arguments, as well as the pending change of ``keys`` parameter to default
  to ``True``.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Oct 9 07:57:59 2025 UTC (13 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
*: remove reference to (removed) Python 3.9

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jul 3 19:18:11 2025 UTC (16 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -1 lines
*: py-numpy needs Python >= 3.11 now

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Jun 3 08:32:15 2025 UTC (17 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
py-jsonpickle: updated to 4.1.1

v4.1.1
* Maintenance release to omit upcoming breaking changes.
* An error in the jsonpickle pandas extension when decoding objects that were encoded
  before jsonpickle v3.4.0 was fixed, and warnings were added. (+562)
* Added ``jsonpickle.ext.yaml`` for forwards-compatibility, but the ``yaml`` module
  continues to be registered by default. ``v5.0.0`` will no longer register
  ``jsonpickle.ext.yaml`` by default.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu May 22 05:41:56 2025 UTC (17 months, 3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
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)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Apr 14 12:30:38 2025 UTC (19 months ago) by adam
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -5 lines
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.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:29:04 2024 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Apr 19 04:29:08 2024 UTC (2 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
py-jsonpickle: updated to 3.0.4

v3.0.4

* Fixed an issue with django.SafeString and other classes inheriting from
  str having read-only attribute errors
* The test suite was made compatible with `pytest-ruff>=0.3.0`.
* A `garden.yaml` file was added for use with the
  `garden <https://crates.io/crates/garden-tools>_` command runner.
* The test suite was updated to avoid deprecated SQLALchemy APIs.
* The `jaraco.packaging.sphinx` documentation dependency was removed.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Feb 20 04:45:00 2024 UTC (2 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3 lines
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.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Feb 3 17:11:34 2024 UTC (2 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +11 -11 lines
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.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jul 30 15:32:49 2023 UTC (3 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -7 lines
Remove dependencies for Python 3.7

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Apr 30 15:40:20 2023 UTC (3 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -5 lines
py-jsonpickle: not for python 2

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Mar 29 09:34:13 2023 UTC (3 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2 lines
*: use PYTHON_VERSION instead of _PYTHON_VERSION

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 24 08:41:09 2022 UTC (4 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -4 lines
*: use py-test-cov from versioned_dependencies

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jan 25 09:05:11 2022 UTC (4 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
*: use versioned_dependencies.mk for py-importlib-metadata

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jan 13 19:31:25 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -2 lines
*: setuptools_scm: switch to versioned_dependencies

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:54:57 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Dec 10 08:52:22 2021 UTC (4 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -3 lines
py-jsonpickle: updated to 2.0.0

v2.0.0

Major release: the serialized JSON format now preserves dictionary identity, which is a subtle change in the serialized format.
Dictionary identity is now preserved. For example, if the same dictionary appears twice in a list, the reconstituted list will now contain two references to the same dictionary.

v1.5.2

Patch release to avoid the change in behavior from the preservation of dict identity. The next release will be v2.0.0.
This relese does not include the performance improvements from v1.5.1.
Pandas DataFrame objects with multilevel columns are now supported.
Numpy 1.20 is now officially supported.
Python 3.9 is now officially supported.
Achieved a small speedup for _get_flattener by merging type checks.

v1.5.1

The performance of the unpickler was drastically improved by avoiding tag checks for basic Python types.
decode() documentation improvements.
Serialization of Pandas DataFrame objects that contain timedelta64[ns] dtypes are now supported.
Dictionary identity is now preserved. For example, if the same dictionary appears twice in a list, the reconstituted list will now contain two references to the same dictionary.
Unit tests were added to ensure that sklearn.tree.DecisionTreeClassifier objects are properly serialized.
The is_reducible() utility function used by encode() is now 4x faster! Objects that provide __getstate__(), __setstate__(), and __slots__ benefit most from these improvements.
Improved pickler flatten()/encode() performance.

v1.5.0

Previous versions of jsonpickle with make_refs=False would emit null when encountering an object it had already seen when traversing objects. All instances of the object are now serialized. While this is arguably an improvement in the vast majority of scenarios, it is a change in behavior and is thus considered a minor-level change.
Multiple enums are now serialized correctly with make_refs=False.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Nov 30 20:36:10 2020 UTC (5 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -2 lines
py-jsonpickle: updated to 1.4.2

v1.4.2
* Use importlib.metadata from the stdlib on Python 3.8.
* Micro-optimize type checks to use a `set` for lookups.
* Documentation improvements.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jul 21 10:57:12 2020 UTC (6 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -2 lines
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``.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 18 23:35:31 2020 UTC (6 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jul 3 20:14:59 2019 UTC (7 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -2 lines
py-jsonpickle: updated to 1.2

Version 1.2:

* Simplified JSON representation for __reduce__ values.

* Improved Pandas support with new handlers for more Pandas data types.

* Prevent stack overflows caused by bugs in user-defined __getstate__
  functions which cause infinite recursion.

* Improved support for objects that contain dicts with Integer keys.
  Previously, jsonpickle could not restore objects that contained
  dicts with integer keys and provided getstate only.
  These objects are now handled robustly.

* Support for encoding binary data in base85_ instead of base64 has been
  added on Python 3. Base85 produces payloads about 10% smaller than base64,
  albeit at the cost of lower throughput.  For performance and backwards
  compatibility with Python 2 the pickler uses base64 by default, but it can
  be configured to use base85 with the new use_base85 argument.

* Dynamic SQLAlchemy tables in SQLAlchemy >= 1.3 are now supported.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jan 25 13:35:39 2019 UTC (7 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
py-jsonpickle: updated to 1.1

Version 1.1:
* Python 3.7 `collections.Iterator` deprecation warnings have been fixed.
* Improved Pandas support for datetime and complex numbers.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 11 10:42:02 2018 UTC (8 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
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

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Feb 14 11:27:22 2018 UTC (8 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
py-jsonpickle: updated to 0.9.6

Version 0.9.6:
* Better support for SQLAlchemy
* Better support for NumPy and SciKit-Learn.
* Better support for dict sub-classes

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Sep 29 11:04:19 2017 UTC (9 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Added textproc/py-jsonpickle version 0.9.5

jsonpickle converts complex Python objects to and from JSON.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>