Mon Sep 26 21:21:21 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 2.1.0
* Support for pickling abc.abstractproperty, abc.abstractclassmethod, and abc.abstractstaticmethod. (PR #450)
* Support for pickling subclasses of generic classes. (PR #448)
* Support and CI configuration for Python 3.11. (PR #467)
* Support for the experimental nogil variant of CPython (PR #470)
- Update to 2.0.0
* Python 3.5 is no longer supported.
* Support for registering modules to be serialised by value. This allows code defined in local modules to be serialised
and executed remotely without those local modules installed on the remote machine. (PR #417)
* Fix a side effect altering dynamic modules at pickling time. (PR #426)
* Support for pickling type annotations on Python 3.10 as per PEP 563 (PR #400)
* Stricter parametrized type detection heuristics in _is_parametrized_type_hint to limit false positives. (PR #409)
* Support pickling / depickling of OrderedDict KeysView, ValuesView, and ItemsView, following similar strategy for vanilla Python dictionaries. (PR #423)
* Suppressed a source of non-determinism when pickling dynamically defined functions and handles the deprecation of co_lnotab in Python 3.10+. (PR #428)
Fri Jun 26 04:16:58 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.4.1:
* Fix incompatibilities between cloudpickle 1.4.0 and Python 3.5.0/1/2 introduced by the new support of cloudpickle for pickling typing constructs. (issue #360)
* Restore compat with loading dynamic classes pickled with cloudpickle version 1.2.1 that would reference the types.ClassType attribute. (PR #359)
* This version requires Python 3.5 or later
* cloudpickle can now all pickle all constructs from the typing module and the typing_extensions library in Python 3.5+ (PR #318)
* Stop pickling the annotations of a dynamic class for Python < 3.6 (follow up on #276) (issue #347)
* Fix a bug affecting the pickling of dynamic TypeVar instances on Python 3.7+, and expand the support for pickling TypeVar instances (dynamic or non-dynamic) to Python 3.5-3.6 (PR #350)
* Add support for pickling dynamic classes subclassing typing.Generic instances on Python 3.7+ (PR #351)
Thu Sep 26 10:40:19 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.2.2:
* Revert the change introduced in (issue #276) attempting to pickle functions annotations for Python 3.4 to 3.6. It is not possible to pickle complex typing constructs for those versions (see issue #193)
* Fix a bug affecting bound classmethod saving on Python 2. (issue #288)
* Add support for pickling "getset" descriptors (issue #290)
* Restore (partial) support for Python 3.4 for downstream projects that have LTS versions that would benefit from cloudpickle bug fixes.
* Leverage the C-accelerated Pickler new subclassing API (available in Python 3.8) in cloudpickle. This allows cloudpickle to pickle Python objects up to 30 times faster. (issue #253)
* Support pickling of classmethod and staticmethod objects in python2. arguments. (issue #262)
* Add support to pickle type annotations for Python 3.5 and 3.6 (pickling type annotations was already supported for Python 3.7, Python 3.4 might also work but is no longer officially supported by cloudpickle) (issue #276)
* Internal refactoring to proactively detect dynamic functions and classes when pickling them. This refactoring also yields small performance improvements when pickling dynamic classes (~10%) (issue #273)
Thu Mar 7 13:00:07 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.8.0:
* Add support for pickling interactively defined dataclasses. (issue #245)
* Global variables referenced by functions pickled by cloudpickle are now unpickled in a new and isolated namespace scoped by the CloudPickler instance. This restores the (previously untested) behavior of cloudpickle prior to changes done in 0.5.4 for functions defined in the __main__ module, and 0.6.0/1 for other dynamic functions.
Fri Nov 10 15:55:55 UTC 2017 - toddrme2178@gmail.com
- Update to 0.5.1
* Fixed `cloudpickle.__version__`.
- Update to 0.5.0
* Use `pickle.HIGHEST_PROTOCOL` by default.
- Update to 0.4.2
* Restored compatibility with pickles from 0.4.0.
* Handle the `func.__qualname__` attribute.
- Update to 0.4.1
* Fixed a crash when pickling dynamic classes whose `__dict__` attribute was
defined as a [`property`](https://docs.python.org/3/library/functions.html#property).
Most notably, this affected dynamic [namedtuples](https://docs.python.org/2/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields)
in Python 2. (https://github.com/cloudpipe/cloudpickle/pull/113)
* Cloudpickle now preserves the `__module__` attribute of functions (https://github.com/cloudpipe/cloudpickle/pull/118/).
* Fixed a crash when pickling modules that don't have a `__package__` attribute (https://github.com/cloudpipe/cloudpickle/pull/116).
- Update to 0.4.0
* Fix functions with empty cells
* Allow pickling Logger objects
* Fix crash when pickling dynamic class cycles
* Ignore "None" mdoules added to sys.modules
* Support WeakSets and ABCMeta instances
* Remove non-standard `__transient__` support
* Catch exception from `pickle.whichmodule()`
- Update to 0.3.1
* Fix version information and ship a changelog
- Update to 0.3.0
* Import submodules accessed by pickled functions
* Support recursive functions inside closures
* Fix `ResourceWarnings` and `DeprecationWarnings`
* Assume modules with `__file__` attribute are not dynamic