pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-jsonpickle py-jsonpickle: updated to 1.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f5f2995dbe36
branches:  trunk
changeset: 335969:f5f2995dbe36
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jul 03 20:14:59 2019 +0000

description:
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.

diffstat:

 textproc/py-jsonpickle/Makefile |   7 +++++--
 textproc/py-jsonpickle/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (36 lines):

diff -r f195a9fc5258 -r f5f2995dbe36 textproc/py-jsonpickle/Makefile
--- a/textproc/py-jsonpickle/Makefile   Wed Jul 03 20:11:07 2019 +0000
+++ b/textproc/py-jsonpickle/Makefile   Wed Jul 03 20:14:59 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2019/01/25 13:35:39 adam Exp $
+# $NetBSD: Makefile,v 1.5 2019/07/03 20:14:59 adam Exp $
 
-DISTNAME=      jsonpickle-1.1
+DISTNAME=      jsonpickle-1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jsonpickle/}
@@ -12,5 +12,8 @@
 
 USE_LANGUAGES= # none
 
+do-test:
+       cd ${WRKSRC} && ${PYTHONBIN} tests/runtests.py
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f195a9fc5258 -r f5f2995dbe36 textproc/py-jsonpickle/distinfo
--- a/textproc/py-jsonpickle/distinfo   Wed Jul 03 20:11:07 2019 +0000
+++ b/textproc/py-jsonpickle/distinfo   Wed Jul 03 20:14:59 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2019/01/25 13:35:39 adam Exp $
+$NetBSD: distinfo,v 1.5 2019/07/03 20:14:59 adam Exp $
 
-SHA1 (jsonpickle-1.1.tar.gz) = 05d284e1bb01388ea8f76f45e1faafa6ff27b4d0
-RMD160 (jsonpickle-1.1.tar.gz) = 100ff9c206620cb9cca9dbcd049609afc518ced4
-SHA512 (jsonpickle-1.1.tar.gz) = 38de974406378a47ceeb5566ad2e76c183348528d681558d1309c547147cf4c427c134eac96574f80cf59f817fb6070dad219871c6bdd8830f47f2b2d99b3b13
-Size (jsonpickle-1.1.tar.gz) = 71602 bytes
+SHA1 (jsonpickle-1.2.tar.gz) = 221d5365e92352dda0238e526df02567cacd4b64
+RMD160 (jsonpickle-1.2.tar.gz) = eeadb48d325c40a2e0d02494098363abf4032aa9
+SHA512 (jsonpickle-1.2.tar.gz) = 0a5bfb2e77175c9174ee1783301c613e25fcfa60f07e610206d1e1e34053e90b21b12bc1b1045dd03ff2d4efe5940d85d852800037ca01397994c022f0ffb2c6
+Size (jsonpickle-1.2.tar.gz) = 74693 bytes



Home | Main Index | Thread Index | Old Index