b901d092d2
- Exclude testing with pandas on Leap 16.0
Matej Cepl2025-12-19 21:59:41 +00:00
87cdeb7abd
Accepting request 1307763 from devel:languages:python
Ana Guerrero2025-09-29 14:37:53 +00:00
3ce7dd7581
- update to 4.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. * 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) * pyproject.toml was updated to include the project.license.text field so that pypi continues to list our license. * 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. * Documentation warnings from furo have been fixed. * Numpy datetime64 objects with nanosecond precision are now supported. (+556)
Dirk Mueller2025-09-29 11:33:09 +00:00
bd8cfc6f64
- Update to 4.0.2 * The unpickler is now more resilient to malformed "py/id" and "py/repr" data. (+546) * The unpickler is now more resilient to invalid "py/b85" and "py/b64" data. (+547) * The unpickler's support for read-only str attributes was improved. (+548) (#478)
Markéta Machová2025-02-24 14:31:00 +00:00
09f0a97c48
Accepting request 1243316 from devel:languages:python
Ana Guerrero2025-02-05 16:32:21 +00:00
6eace1b379
- Update to 4.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. (+544) (+545) * 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.
Markéta Machová2025-02-05 10:57:23 +00:00
39e4d8f8f4
Accepting request 1225333 from devel:languages:python
Ana Guerrero2024-11-21 14:13:55 +00:00
7426192e76
- update to 4.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. (+514) * 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. (+514) * The test suite no longer uses the deprecated datetime.datetime.utcnow() function. (+539) * The breaking changes from v4 were inadvertedly included in v3.4.1, which has been yanked. This release remedies this by reverting the v4 changes. * Support decoding pandas dataframes encoded with versions 3.3.0 and older. (+536) * Officially support Python 3.12 in the GitHub Actions testing matrix, and update GHA package versions used. (+524) * Improve reproducibility of benchmarking commands on Linux by using taskset and adding a "HOWTO" run benchmarks section in benchmarking/README.md. (+526) * The setup.cfg packaging configuration has been replaced by pyproject.toml. (+527) * yaml is now supported as a jsonpickle backend. (+528) * OSSFuzz scripts are now available in the fuzzing/ directory. (+525)
Dirk Mueller2024-11-20 16:10:58 +00:00
afcdb7071e
- update to 3.2.2: * A bug with the incorrect (de)serialization of NoneType objects has been fixed. (+507) * tests/benchmark.py was updated to avoid Python 2 syntax. (+508) * The unpickler was updated to avoid creating temporary functions. (+508) * Some basic scripts have been made to analyze benchmark results. (+511) * Fix test suite compatibility with Numpy 2.x (+512) * setup.cfg was updated to use license_files instead of license_file.
Dirk Mueller2024-06-30 20:34:31 +00:00
bd779e0dba
Accepting request 1181704 from devel:languages:python
Ana Guerrero2024-06-19 14:40:49 +00:00
800bc2cb8f
- update to 3.2.1: * The `ignorereserved parameter to the private _restore_from_dict() function has been restored for backwards compatibility. (+501) * Nested dictionaries in py/state are now correctly restored when tracking object references. (+501) (#500) * jsonpickle.ext.numpy.register_handlers now provides options that are forwarded to the NumpyNDArrayHandler constructor. * Fix bug of not handling classes argument to jsonpickle.decode being a dict. Previously, the keys were ignored and only values were used. (+494) * Allow the classes argument to jsonpickle.pickle to have class objects as keys. This extends the current functionality of only having class name strings as keys. (+494) * The garden setup/dev action and requirements-dev.txt` requirements file now include test dependencies for use during development. * Added support for Python 3.13. (+505) (#504)
Dirk Mueller2024-06-19 08:56:59 +00:00
1f426ffd82
Accepting request 1167627 from devel:languages:python
Ana Guerrero2024-04-15 18:17:09 +00:00
78d5c28131
- update to 3.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 command runner. * The test suite was updated to avoid deprecated SQLALchemy APIs. * The jaraco.packaging.sphinx documentation dependency was removed.
Dirk Mueller2024-04-14 08:31:20 +00:00
085f78145f
Accepting request 1163290 from devel:languages:python
Ana Guerrero2024-03-28 12:55:35 +00:00
e5574074ee
Accepting request 1163279 from home:ecsos:python
Markéta Machová2024-03-28 10:39:24 +00:00
a649a0c3d0
Accepting request 1160902 from devel:languages:python
Ana Guerrero2024-03-25 20:08:37 +00:00
867cb833d5
- update to 3.0.3: * Compatibilty with Pandas and Cython 3.0 was added. * Fixed a bug where pickling some built-in classes (e.g. zoneinfo)
Dirk Mueller2024-03-16 08:36:00 +00:00
3b3c66c6af
- Add patch to work with sqlalchemy 1.3: * sqlalchemy13.patch
Tomáš Chvátal
2019-03-19 08:20:58 +00:00
872dfbfd57
- Update to 1.1: * Python 3.7 collections.Iterator deprecation warnings have been fixed. (#229). * Improved Pandas support for datetime and complex numbers. (#245) * 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. (#227) * Improved support for pickling iterators. (#216) * Better support for the stdlib json module when simplejson is not installed. (#217) * jsonpickle will now output python3-style module names when pickling builtins methods or functions. (#223) * 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. (#206, #176). * Better support for older (pre-1.9) versions of numpy (#195).
Tomáš Chvátal
2019-03-15 13:07:06 +00:00