pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-jsonpickle



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr 14 12:30:38 UTC 2025

Modified Files:
        pkgsrc/textproc/py-jsonpickle: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/textproc/py-jsonpickle/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-jsonpickle/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/py-jsonpickle/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-jsonpickle/Makefile
diff -u pkgsrc/textproc/py-jsonpickle/Makefile:1.20 pkgsrc/textproc/py-jsonpickle/Makefile:1.21
--- pkgsrc/textproc/py-jsonpickle/Makefile:1.20 Mon Nov 11 07:29:04 2024
+++ pkgsrc/textproc/py-jsonpickle/Makefile      Mon Apr 14 12:30:38 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2024/11/11 07:29:04 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2025/04/14 12:30:38 adam Exp $
 
-DISTNAME=      jsonpickle-3.0.4
+DISTNAME=      jsonpickle-4.0.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jsonpickle/}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://jsonpickle.github.io/
 COMMENT=       Python library for serializing any arbitrary object graph into JSON
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=42:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
 TEST_DEPENDS+= ${PYPKGPREFIX}-gmpy2-[0-9]*:../../math/py-gmpy2
 TEST_DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
@@ -19,7 +19,5 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-jsonpickle/PLIST
diff -u pkgsrc/textproc/py-jsonpickle/PLIST:1.4 pkgsrc/textproc/py-jsonpickle/PLIST:1.5
--- pkgsrc/textproc/py-jsonpickle/PLIST:1.4     Sat Feb  3 17:11:34 2024
+++ pkgsrc/textproc/py-jsonpickle/PLIST Mon Apr 14 12:30:38 2025
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.4 2024/02/03 17:11:34 adam Exp $
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+@comment $NetBSD: PLIST,v 1.5 2025/04/14 12:30:38 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/jsonpickle/__init__.py
 ${PYSITELIB}/jsonpickle/__init__.pyc
@@ -37,6 +37,9 @@ ${PYSITELIB}/jsonpickle/pickler.pyo
 ${PYSITELIB}/jsonpickle/tags.py
 ${PYSITELIB}/jsonpickle/tags.pyc
 ${PYSITELIB}/jsonpickle/tags.pyo
+${PYSITELIB}/jsonpickle/tags_pd.py
+${PYSITELIB}/jsonpickle/tags_pd.pyc
+${PYSITELIB}/jsonpickle/tags_pd.pyo
 ${PYSITELIB}/jsonpickle/unpickler.py
 ${PYSITELIB}/jsonpickle/unpickler.pyc
 ${PYSITELIB}/jsonpickle/unpickler.pyo

Index: pkgsrc/textproc/py-jsonpickle/distinfo
diff -u pkgsrc/textproc/py-jsonpickle/distinfo:1.13 pkgsrc/textproc/py-jsonpickle/distinfo:1.14
--- pkgsrc/textproc/py-jsonpickle/distinfo:1.13 Fri Apr 19 04:29:08 2024
+++ pkgsrc/textproc/py-jsonpickle/distinfo      Mon Apr 14 12:30:38 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2024/04/19 04:29:08 adam Exp $
+$NetBSD: distinfo,v 1.14 2025/04/14 12:30:38 adam Exp $
 
-BLAKE2s (jsonpickle-3.0.4.tar.gz) = 2e0e4d7bda6d5a46640848e9d93fd5031040d32ab90b424cfa555ccdb0e9784b
-SHA512 (jsonpickle-3.0.4.tar.gz) = d4696faa12e6653a9d6dd4447f6c3d0a0f9d1fde05824f52589ce6fb8a0cdfeecfbb748f69d56f84105e56f912cc8d5e4e432f33c1a0ad6681b11e0f0df1bf63
-Size (jsonpickle-3.0.4.tar.gz) = 265054 bytes
+BLAKE2s (jsonpickle-4.0.5.tar.gz) = 75ad7b2605c5852c7c3c2aeb9be6e3246b3f77d490b1bcad5b757acf7d65eb63
+SHA512 (jsonpickle-4.0.5.tar.gz) = 407bf10221fcd1128625bd9c275b7ce4668176ac6b37fb9c11df3135fe504712bfb2616f7f6530d3f1bbe9c691ac731c7ab15704fc95100351254c3d5d768c3c
+Size (jsonpickle-4.0.5.tar.gz) = 315661 bytes



Home | Main Index | Thread Index | Old Index