Revisions of python-jsonpickle
Dominique Leuenberger (dimstar_suse)
accepted
request 1184137
from
Dirk Mueller (dirkmueller)
(revision 18)
- 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.
Ana Guerrero (anag+factory)
accepted
request 1181704
from
Dirk Mueller (dirkmueller)
(revision 17)
- 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)
Ana Guerrero (anag+factory)
accepted
request 1167627
from
Dirk Mueller (dirkmueller)
(revision 16)
- 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.
Ana Guerrero (anag+factory)
accepted
request 1163290
from
Markéta Machová (mcalabkova)
(revision 15)
Ana Guerrero (anag+factory)
accepted
request 1160902
from
Factory Maintainer (factory-maintainer)
(revision 14)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 1136659
from
Markéta Machová (mcalabkova)
(revision 13)
Dominique Leuenberger (dimstar_suse)
accepted
request 1093360
from
Dirk Mueller (dirkmueller)
(revision 11)
Dominique Leuenberger (dimstar_suse)
accepted
request 1060582
from
Dirk Mueller (dirkmueller)
(revision 10)
Dominique Leuenberger (dimstar_suse)
accepted
request 872816
from
Benjamin Greiner (bnavigator)
(revision 8)
- Update to version 2.0.0 * Major release: the serialized JSON format now preserves dictionary identity, which is a subtle change in the serialized format. (#351) * 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. (#255) (+332) - Changes in 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. (#351) * This relese does not include the performance improvements from v1.5.1. * Pandas DataFrame objects with multilevel columns are now supported. (#346) (+347) * Numpy 1.20 is now officially supported. (#336) * Python 3.9 is now officially supported. (+348) * Achieved a small speedup for _get_flattener by merging type checks. (+349) - Changes in v1.5.1 * The performance of the unpickler was drastically improved by avoiding tag checks for basic Python types. (+340) * decode() documentation improvements. (+341) * Serialization of Pandas DataFrame objects that contain timedelta64[ns] dtypes are now supported. (+330) (#331) * 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. (#255) (+332) * Unit tests were added to ensure that sklearn.tree. DecisionTreeClassifier objects are properly serialized. (#155) (+344) * The is_reducible() utility function used by encode() is now 4x faster! Objects that provide __getstate__(), __setstate__(), and __slots__ benefit most from these improvements. (+343) * Improved pickler flatten()/encode() performance. (+345) - Changes in 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. (#333) (#334) (#337) (+338) * Multiple enums are now serialized correctly with make_refs=False. (#235) - Changes in v1.4.2 * Use importlib.metadata from the stdlib on Python 3.8. (+305) (#303) * Micro-optimize type checks to use a set for lookups. (+327) * Documentation improvements. - Changes in v1.4.1 * Patch release for Python 3.8 importlib_metadata support. (#300) - Changes in v1.4 * Python 3.8 support. (#292) * jsonpickle.encode now supports the standard indent and separators arguments, and passes them through to the active JSON backend library. (#183) * We now include a custom handler for array.array objects. (#199) * Dict key order is preserved when pickling dictionaries on Python3. (#193) * 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. (#286) * Improved serialization of pandas.Series objects. (#287) - Don't test numpy and pandas in python36 flavor, because they are no longer available on Tumbleweed (NEP 29) - Test some extras, but not in lettered staging if they are not in Ring1. - Drop PR292-Python38.patch merged upstream
Dominique Leuenberger (dimstar_suse)
accepted
request 784832
from
Tomáš Chvátal (scarabeus_iv)
(revision 7)
Staging:I py2
Dominique Leuenberger (dimstar_suse)
accepted
request 780358
from
Matej Cepl (mcepl)
(revision 6)
- Add PR292-Python38.patch to fix Python 3.8 incompatibilities (gh#jsonpickle/jsonpickle#281).
Dominique Leuenberger (dimstar_suse)
accepted
request 754492
from
Matej Cepl (mcepl)
(revision 5)
- Exclude tests failing with python 3.8 (test_thing_with_fd, test_list_with_fd, and test_dict_with_fd). gh#jsonpickle/jsonpickle#281
Dominique Leuenberger (dimstar_suse)
accepted
request 710340
from
Tomáš Chvátal (scarabeus_iv)
(revision 4)
- Update to 1.2: * support new sqlalchemy - Remove merged patch sqlalchemy13.patch
Dominique Leuenberger (dimstar_suse)
accepted
request 686312
from
Tomáš Chvátal (scarabeus_iv)
(revision 3)
- Add patch to work with sqlalchemy 1.3: * sqlalchemy13.patch - 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).
Dominique Leuenberger (dimstar_suse)
accepted
request 659458
from
Matej Cepl (mcepl)
(revision 2)
Remove superfluous devel dependency for noarch package
Dominique Leuenberger (dimstar_suse)
accepted
request 612068
from
Todd R (TheBlackCat)
(revision 1)
Python library for serializing any arbitrary object graph into JSON
Displaying all 18 revisions