Changelog
### 2.2.0
```
=====
- Fix support of PyPy 3.8 and later.
([issue 455](https://github.com/cloudpipe/cloudpickle/issues/455))
```
### 2.1.0
```
=====
- Support for pickling `abc.abstractproperty`, `abc.abstractclassmethod`,
and `abc.abstractstaticmethod`.
([PR 450](https://github.com/cloudpipe/cloudpickle/pull/450))
- Support for pickling subclasses of generic classes.
([PR 448](https://github.com/cloudpipe/cloudpickle/pull/448))
- Support and CI configuration for Python 3.11.
([PR 467](https://github.com/cloudpipe/cloudpickle/pull/467))
- Support for the experimental `nogil` variant of CPython
([PR 470](https://github.com/cloudpipe/cloudpickle/pull/470))
```
### 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](https://github.com/cloudpipe/cloudpickle/pull/417))
- Fix a side effect altering dynamic modules at pickling time.
([PR 426](https://github.com/cloudpipe/cloudpickle/pull/426))
- Support for pickling type annotations on Python 3.10 as per [PEP 563](
https://www.python.org/dev/peps/pep-0563/)
([PR 400](https://github.com/cloudpipe/cloudpickle/pull/400))
- Stricter parametrized type detection heuristics in
_is_parametrized_type_hint to limit false positives.
([PR 409](https://github.com/cloudpipe/cloudpickle/pull/409))
- Support pickling / depickling of OrderedDict KeysView, ValuesView, and
ItemsView, following similar strategy for vanilla Python dictionaries.
([PR 423](https://github.com/cloudpipe/cloudpickle/pull/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](https://github.com/cloudpipe/cloudpickle/pull/428))
```
### 1.6.0
```
=====
- `cloudpickle`'s pickle.Pickler subclass (currently defined as
`cloudpickle.cloudpickle_fast.CloudPickler`) can and should now be accessed
as `cloudpickle.Pickler`. This is the only officially supported way of
accessing it.
([issue 366](https://github.com/cloudpipe/cloudpickle/issues/366))
- `cloudpickle` now supports pickling `dict_keys`, `dict_items` and
`dict_values`.
([PR 384](https://github.com/cloudpipe/cloudpickle/pull/384))
```
### 1.5.0
```
=====
- Fix a bug causing cloudpickle to crash when pickling dynamically created,
importable modules.
([issue 360](https://github.com/cloudpipe/cloudpickle/issues/354))
- Add optional dependency on `pickle5` to get improved performance on
Python 3.6 and 3.7.
([PR 370](https://github.com/cloudpipe/cloudpickle/pull/370))
- Internal refactoring to ease the use of `pickle5` in cloudpickle
for Python 3.6 and 3.7.
([PR 368](https://github.com/cloudpipe/cloudpickle/pull/368))
```
### 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](https://github.com/cloudpipe/cloudpickle/issues/360))
- Restore compat with loading dynamic classes pickled with cloudpickle
version 1.2.1 that would reference the `types.ClassType` attribute.
([PR 359](https://github.com/cloudpipe/cloudpickle/pull/359))
```
### 1.4.0
```
=====
**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](https://github.com/cloudpipe/cloudpickle/pull/318))
- Stop pickling the annotations of a dynamic class for Python < 3.6
(follow up on 276)
([issue 347](https://github.com/cloudpipe/cloudpickle/issues/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](https://github.com/cloudpipe/cloudpickle/pull/350))
- Add support for pickling dynamic classes subclassing `typing.Generic`
instances on Python 3.7+
([PR 351](https://github.com/cloudpipe/cloudpickle/pull/351))
```
Links
- PyPI: https://pypi.org/project/cloudpickle
- Changelog: https://pyup.io/changelogs/cloudpickle/
- Repo: https://github.com/cloudpipe/cloudpickle
This PR updates cloudpickle from 1.3.0 to 2.2.0.
Changelog
### 2.2.0 ``` ===== - Fix support of PyPy 3.8 and later. ([issue 455](https://github.com/cloudpipe/cloudpickle/issues/455)) ``` ### 2.1.0 ``` ===== - Support for pickling `abc.abstractproperty`, `abc.abstractclassmethod`, and `abc.abstractstaticmethod`. ([PR 450](https://github.com/cloudpipe/cloudpickle/pull/450)) - Support for pickling subclasses of generic classes. ([PR 448](https://github.com/cloudpipe/cloudpickle/pull/448)) - Support and CI configuration for Python 3.11. ([PR 467](https://github.com/cloudpipe/cloudpickle/pull/467)) - Support for the experimental `nogil` variant of CPython ([PR 470](https://github.com/cloudpipe/cloudpickle/pull/470)) ``` ### 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](https://github.com/cloudpipe/cloudpickle/pull/417)) - Fix a side effect altering dynamic modules at pickling time. ([PR 426](https://github.com/cloudpipe/cloudpickle/pull/426)) - Support for pickling type annotations on Python 3.10 as per [PEP 563]( https://www.python.org/dev/peps/pep-0563/) ([PR 400](https://github.com/cloudpipe/cloudpickle/pull/400)) - Stricter parametrized type detection heuristics in _is_parametrized_type_hint to limit false positives. ([PR 409](https://github.com/cloudpipe/cloudpickle/pull/409)) - Support pickling / depickling of OrderedDict KeysView, ValuesView, and ItemsView, following similar strategy for vanilla Python dictionaries. ([PR 423](https://github.com/cloudpipe/cloudpickle/pull/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](https://github.com/cloudpipe/cloudpickle/pull/428)) ``` ### 1.6.0 ``` ===== - `cloudpickle`'s pickle.Pickler subclass (currently defined as `cloudpickle.cloudpickle_fast.CloudPickler`) can and should now be accessed as `cloudpickle.Pickler`. This is the only officially supported way of accessing it. ([issue 366](https://github.com/cloudpipe/cloudpickle/issues/366)) - `cloudpickle` now supports pickling `dict_keys`, `dict_items` and `dict_values`. ([PR 384](https://github.com/cloudpipe/cloudpickle/pull/384)) ``` ### 1.5.0 ``` ===== - Fix a bug causing cloudpickle to crash when pickling dynamically created, importable modules. ([issue 360](https://github.com/cloudpipe/cloudpickle/issues/354)) - Add optional dependency on `pickle5` to get improved performance on Python 3.6 and 3.7. ([PR 370](https://github.com/cloudpipe/cloudpickle/pull/370)) - Internal refactoring to ease the use of `pickle5` in cloudpickle for Python 3.6 and 3.7. ([PR 368](https://github.com/cloudpipe/cloudpickle/pull/368)) ``` ### 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](https://github.com/cloudpipe/cloudpickle/issues/360)) - Restore compat with loading dynamic classes pickled with cloudpickle version 1.2.1 that would reference the `types.ClassType` attribute. ([PR 359](https://github.com/cloudpipe/cloudpickle/pull/359)) ``` ### 1.4.0 ``` ===== **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](https://github.com/cloudpipe/cloudpickle/pull/318)) - Stop pickling the annotations of a dynamic class for Python < 3.6 (follow up on 276) ([issue 347](https://github.com/cloudpipe/cloudpickle/issues/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](https://github.com/cloudpipe/cloudpickle/pull/350)) - Add support for pickling dynamic classes subclassing `typing.Generic` instances on Python 3.7+ ([PR 351](https://github.com/cloudpipe/cloudpickle/pull/351)) ```Links
- PyPI: https://pypi.org/project/cloudpickle - Changelog: https://pyup.io/changelogs/cloudpickle/ - Repo: https://github.com/cloudpipe/cloudpickle