1
0

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:
Todd R 2017-11-10 16:23:50 +00:00 committed by Git OBS Bridge
parent 6df99f74ef
commit efdf8a6dcf
4 changed files with 38 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9da26af07a25431d8a3c412d4c8e78823c1298655d354f4f570ece1b995f8e74
size 17020

3
cloudpickle-0.5.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e82822730c0bc19c882762229b58d536c0117e57626afdcfd4892042653d5428
size 24121

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
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
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 11 03:26:35 UTC 2017 - toddrme2178@gmail.com Thu May 11 03:26:35 UTC 2017 - toddrme2178@gmail.com

View File

@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cloudpickle Name: python-cloudpickle
Version: 0.2.2 Version: 0.5.1
Release: 0 Release: 0
Summary: Extended pickling support for Python objects Summary: Extended pickling support for Python objects
License: BSD-3-Clause License: BSD-3-Clause
@ -32,6 +32,7 @@ BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
%if %{with tests} %if %{with tests}
BuildRequires: %{python_module curses}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module numpy} BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}