From efdf8a6dcf20d3734b33e56948b854bd6929e2afb14792e98749f6f0f97543b6 Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 10 Nov 2017 16:23:50 +0000 Subject: [PATCH] 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 --- cloudpickle-0.2.2.tar.gz | 3 --- cloudpickle-0.5.1.tar.gz | 3 +++ python-cloudpickle.changes | 33 +++++++++++++++++++++++++++++++++ python-cloudpickle.spec | 3 ++- 4 files changed, 38 insertions(+), 4 deletions(-) delete mode 100644 cloudpickle-0.2.2.tar.gz create mode 100644 cloudpickle-0.5.1.tar.gz diff --git a/cloudpickle-0.2.2.tar.gz b/cloudpickle-0.2.2.tar.gz deleted file mode 100644 index 24c59a2..0000000 --- a/cloudpickle-0.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9da26af07a25431d8a3c412d4c8e78823c1298655d354f4f570ece1b995f8e74 -size 17020 diff --git a/cloudpickle-0.5.1.tar.gz b/cloudpickle-0.5.1.tar.gz new file mode 100644 index 0000000..7061475 --- /dev/null +++ b/cloudpickle-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e82822730c0bc19c882762229b58d536c0117e57626afdcfd4892042653d5428 +size 24121 diff --git a/python-cloudpickle.changes b/python-cloudpickle.changes index dd834e5..0322285 100644 --- a/python-cloudpickle.changes +++ b/python-cloudpickle.changes @@ -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 diff --git a/python-cloudpickle.spec b/python-cloudpickle.spec index 79f2dbb..2d42980 100644 --- a/python-cloudpickle.spec +++ b/python-cloudpickle.spec @@ -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}