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:           Sat Feb  3 17:11:35 UTC 2024

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

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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/py-jsonpickle/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-jsonpickle/PLIST
cvs rdiff -u -r1.10 -r1.11 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.16 pkgsrc/textproc/py-jsonpickle/Makefile:1.17
--- pkgsrc/textproc/py-jsonpickle/Makefile:1.16 Sun Jul 30 15:32:49 2023
+++ pkgsrc/textproc/py-jsonpickle/Makefile      Sat Feb  3 17:11:34 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2023/07/30 15:32:49 adam Exp $
+# $NetBSD: Makefile,v 1.17 2024/02/03 17:11:34 adam Exp $
 
-DISTNAME=      jsonpickle-2.0.0
+DISTNAME=      jsonpickle-3.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jsonpickle/}
 
@@ -11,17 +10,18 @@ HOMEPAGE=   https://jsonpickle.github.io/
 COMMENT=       Python library for serializing any arbitrary object graph into JSON
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=42:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-gmpy2-[0-9]*:../../math/py-gmpy2
+TEST_DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
+TEST_DEPENDS+= ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8>=1.1.1:../../devel/py-test-flake8
 
 USE_LANGUAGES= # none
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-jsonpickle/PLIST
diff -u pkgsrc/textproc/py-jsonpickle/PLIST:1.3 pkgsrc/textproc/py-jsonpickle/PLIST:1.4
--- pkgsrc/textproc/py-jsonpickle/PLIST:1.3     Tue Jul 21 10:57:12 2020
+++ pkgsrc/textproc/py-jsonpickle/PLIST Sat Feb  3 17:11:34 2024
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2020/07/21 10:57:12 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2024/02/03 17:11:34 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/jsonpickle/__init__.py
 ${PYSITELIB}/jsonpickle/__init__.pyc
 ${PYSITELIB}/jsonpickle/__init__.pyo
@@ -13,9 +13,15 @@ ${PYSITELIB}/jsonpickle/backend.pyo
 ${PYSITELIB}/jsonpickle/compat.py
 ${PYSITELIB}/jsonpickle/compat.pyc
 ${PYSITELIB}/jsonpickle/compat.pyo
+${PYSITELIB}/jsonpickle/errors.py
+${PYSITELIB}/jsonpickle/errors.pyc
+${PYSITELIB}/jsonpickle/errors.pyo
 ${PYSITELIB}/jsonpickle/ext/__init__.py
 ${PYSITELIB}/jsonpickle/ext/__init__.pyc
 ${PYSITELIB}/jsonpickle/ext/__init__.pyo
+${PYSITELIB}/jsonpickle/ext/gmpy.py
+${PYSITELIB}/jsonpickle/ext/gmpy.pyc
+${PYSITELIB}/jsonpickle/ext/gmpy.pyo
 ${PYSITELIB}/jsonpickle/ext/numpy.py
 ${PYSITELIB}/jsonpickle/ext/numpy.pyc
 ${PYSITELIB}/jsonpickle/ext/numpy.pyo

Index: pkgsrc/textproc/py-jsonpickle/distinfo
diff -u pkgsrc/textproc/py-jsonpickle/distinfo:1.10 pkgsrc/textproc/py-jsonpickle/distinfo:1.11
--- pkgsrc/textproc/py-jsonpickle/distinfo:1.10 Fri Dec 10 08:52:22 2021
+++ pkgsrc/textproc/py-jsonpickle/distinfo      Sat Feb  3 17:11:34 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/12/10 08:52:22 adam Exp $
+$NetBSD: distinfo,v 1.11 2024/02/03 17:11:34 adam Exp $
 
-BLAKE2s (jsonpickle-2.0.0.tar.gz) = 6998cdc8156409fc399283fa3f9a0309d29e92aa7f2253e84243b8639283e668
-SHA512 (jsonpickle-2.0.0.tar.gz) = acba11e5dfce116b27edfe0fdccdd74755e299aa43f873dd1ce547d947b58f14c1059c21d04007b5be0857f7ce69fe5355fb2edc47a99cc2217fe00297ca78d3
-Size (jsonpickle-2.0.0.tar.gz) = 110336 bytes
+BLAKE2s (jsonpickle-3.0.2.tar.gz) = 6bcd3c185244950e607104da7191d0f99e8ea4547aaeda643e914993002bf775
+SHA512 (jsonpickle-3.0.2.tar.gz) = bb871c8982a3012ced11e98c2e2c5930a897d37611b1d9e6fbfef4a80f5eac1a471607018da12aed40fd48bb98bdeaf575aa687f247c372c8da0ce09b0222c0d
+Size (jsonpickle-3.0.2.tar.gz) = 266361 bytes



Home | Main Index | Thread Index | Old Index