forked from pool/python-cloudpickle
Accepting request 540601 from home:TheBlackCat:branches:devel:languages:python
- 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
OBS-URL: https://build.opensuse.org/request/show/540601
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=4
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cloudpickle
|
||||
Version: 0.2.2
|
||||
Version: 0.5.1
|
||||
Release: 0
|
||||
Summary: Extended pickling support for Python objects
|
||||
License: BSD-3-Clause
|
||||
@@ -32,6 +32,7 @@ BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module curses}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pytest}
|
||||
|
||||
Reference in New Issue
Block a user