commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2020-06-28 23:03:56 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new.3060 (New) Package is "python-cloudpickle" Sun Jun 28 23:03:56 2020 rev:12 rq:817136 version:1.4.1 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2020-04-04 12:20:36.667685318 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new.3060/python-cloudpickle.changes 2020-06-28 23:05:37.150717758 +0200 @@ -1,0 +2,12 @@ +Fri Jun 26 04:16:58 UTC 2020 - Steve Kowalik + +- 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) + +--- Old: cloudpickle-1.3.0.tar.gz New: cloudpickle-1.4.1.tar.gz Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.MG42vl/_old 2020-06-28 23:05:38.654722753 +0200 +++ /var/tmp/diff_new_pack.MG42vl/_new 2020-06-28 23:05:38.658722766 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-cloudpickle -Version:1.3.0 +Version:1.4.1 Release:0 Summary:Extended pickling support for Python objects License:BSD-3-Clause ++ cloudpickle-1.3.0.tar.gz -> cloudpickle-1.4.1.tar.gz ++ 1710 lines of diff (skipped)
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2020-04-04 12:20:34 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new.3248 (New) Package is "python-cloudpickle" Sat Apr 4 12:20:34 2020 rev:11 rq:790248 version:1.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2020-03-27 00:25:28.872262390 +0100 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new.3248/python-cloudpickle.changes 2020-04-04 12:20:36.667685318 +0200 @@ -1,0 +2,7 @@ +Tue Mar 31 14:59:31 UTC 2020 - Marketa Calabkova + +- Update to version 1.3.0 + * mostly bugfix release + * Add support for out-of-band pickling (Python 3.8 and later). + +--- Old: cloudpickle-1.2.2.tar.gz New: cloudpickle-1.3.0.tar.gz Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.3GioyF/_old 2020-04-04 12:20:37.267685833 +0200 +++ /var/tmp/diff_new_pack.3GioyF/_new 2020-04-04 12:20:37.271685836 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-cloudpickle -Version:1.2.2 +Version:1.3.0 Release:0 Summary:Extended pickling support for Python objects License:BSD-3-Clause ++ cloudpickle-1.2.2.tar.gz -> cloudpickle-1.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-1.2.2/PKG-INFO new/cloudpickle-1.3.0/PKG-INFO --- old/cloudpickle-1.2.2/PKG-INFO 2019-09-10 14:27:06.0 +0200 +++ new/cloudpickle-1.3.0/PKG-INFO 2020-02-10 15:30:46.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: cloudpickle -Version: 1.2.2 +Version: 1.3.0 Summary: Extended pickling support for Python objects Home-page: https://github.com/cloudpipe/cloudpickle Author: Cloudpipe @@ -8,8 +8,7 @@ License: BSD 3-Clause License Description: # cloudpickle -[![Build Status](https://travis-ci.org/cloudpipe/cloudpickle.svg?branch=master -)](https://travis-ci.org/cloudpipe/cloudpickle) + [![github-actions](https://github.com/cloudpipe/cloudpickle/workflows/Automated%20Tests/badge.svg)](https://github.com/cloudpipe/cloudpickle/actions) [![codecov.io](https://codecov.io/github/cloudpipe/cloudpickle/coverage.svg?branch=master)](https://codecov.io/github/cloudpipe/cloudpickle?branch=master) `cloudpickle` makes it possible to serialize Python constructs not supported diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-1.2.2/README.md new/cloudpickle-1.3.0/README.md --- old/cloudpickle-1.2.2/README.md 2019-09-10 14:19:13.0 +0200 +++ new/cloudpickle-1.3.0/README.md 2020-02-10 15:13:49.0 +0100 @@ -1,7 +1,6 @@ # cloudpickle -[![Build Status](https://travis-ci.org/cloudpipe/cloudpickle.svg?branch=master -)](https://travis-ci.org/cloudpipe/cloudpickle) +[![github-actions](https://github.com/cloudpipe/cloudpickle/workflows/Automated%20Tests/badge.svg)](https://github.com/cloudpipe/cloudpickle/actions) [![codecov.io](https://codecov.io/github/cloudpipe/cloudpickle/coverage.svg?branch=master)](https://codecov.io/github/cloudpipe/cloudpickle?branch=master) `cloudpickle` makes it possible to serialize Python constructs not supported diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-1.2.2/cloudpickle/__init__.py new/cloudpickle-1.3.0/cloudpickle/__init__.py --- old/cloudpickle-1.2.2/cloudpickle/__init__.py 2019-09-10 14:19:34.0 +0200 +++ new/cloudpickle-1.3.0/cloudpickle/__init__.py 2020-02-10 15:15:40.0 +0100 @@ -8,4 +8,4 @@ if sys.version_info[:2] >= (3, 8): from cloudpickle.cloudpickle_fast import CloudPickler, dumps, dump -__version__ = '1.2.2' +__version__ = '1.3.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-1.2.2/cloudpickle/cloudpickle.py new/cloudpickle-1.3.0/cloudpickle/cloudpickle.py --- old/cloudpickle-1.2.2/cloudpickle/cloudpickle.py2019-09-10 14:19:13.0 +0200 +++ new/cloudpickle-1.3.0/cloudpickle/cloudpickle.py2020-02-10 15:13:49.0 +0100 @@ -42,6 +42,7 @@ """ from __future__ import print_function +import abc import dis from functools import partial import io @@ -90,17 +91,18 @@ from cStringIO import StringIO except ImportError: from StringIO import StringIO +imp
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2020-03-27 00:25:22 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new.3160 (New) Package is "python-cloudpickle" Fri Mar 27 00:25:22 2020 rev:10 rq:785566 version:1.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2019-12-23 22:39:22.765870693 +0100 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new.3160/python-cloudpickle.changes 2020-03-27 00:25:28.872262390 +0100 @@ -1,0 +2,5 @@ +Mon Mar 16 10:25:19 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +--- Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.IBBD0w/_old 2020-03-27 00:25:29.808262863 +0100 +++ /var/tmp/diff_new_pack.IBBD0w/_new 2020-03-27 00:25:29.808262863 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cloudpickle # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-cloudpickle Version:1.2.2 Release:0 Summary:Extended pickling support for Python objects License:BSD-3-Clause -Group: Development/Languages/Python URL:https://github.com/cloudpipe/cloudpickle Source: https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz BuildRequires: %{python_module curses} @@ -35,13 +35,18 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tornado} BuildRequires: fdupes -BuildRequires: python-futures BuildRequires: python-rpm-macros Requires: python-curses Requires: python-numpy >= 1.8.2 Requires: python-scipy Requires: python-tornado BuildArch: noarch +%if %{with python2} +BuildRequires: python-futures +%endif +%ifpython2 +Requires: python-futures +%endif %python_subpackages %description
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2019-12-23 22:36:54 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new.6675 (New) Package is "python-cloudpickle" Mon Dec 23 22:36:54 2019 rev:9 rq:758142 version:1.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2019-09-30 15:56:32.597672606 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new.6675/python-cloudpickle.changes 2019-12-23 22:39:22.765870693 +0100 @@ -1,0 +2,5 @@ +Thu Dec 19 11:53:07 CET 2019 - Matej Cepl + +- Exclude failing tests gh#cloudpipe/cloudpickle#316 + +--- Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.780fLC/_old 2019-12-23 22:39:26.241872200 +0100 +++ /var/tmp/diff_new_pack.780fLC/_new 2019-12-23 22:39:26.241872200 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cloudpickle # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,11 +25,6 @@ Group: Development/Languages/Python URL:https://github.com/cloudpipe/cloudpickle Source: https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-futures -BuildRequires: python-rpm-macros -BuildArch: noarch BuildRequires: %{python_module curses} BuildRequires: %{python_module mock} BuildRequires: %{python_module numpy >= 1.8.2} @@ -37,11 +32,16 @@ BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tornado} +BuildRequires: fdupes +BuildRequires: python-futures +BuildRequires: python-rpm-macros Requires: python-curses Requires: python-numpy >= 1.8.2 Requires: python-scipy Requires: python-tornado +BuildArch: noarch %python_subpackages %description @@ -68,7 +68,8 @@ %check export PYTHONPATH='.:tests' -%pytest -s +# Because of gh#cloudpipe/cloudpickle#316 +%pytest -s -k 'not (test_dynamic_module or test_load_dynamic_module_in_grandchild_process)' %files %{python_files} %doc README.md
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2019-09-30 15:56:31 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new.2352 (New) Package is "python-cloudpickle" Mon Sep 30 15:56:31 2019 rev:8 rq:733396 version:1.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2019-07-31 14:15:18.638794685 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new.2352/python-cloudpickle.changes 2019-09-30 15:56:32.597672606 +0200 @@ -1,0 +2,8 @@ +Thu Sep 26 10:40:19 UTC 2019 - Tomáš Chvátal + +- 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) + +--- Old: cloudpickle-1.2.1.tar.gz New: cloudpickle-1.2.2.tar.gz Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.OuVfmM/_old 2019-09-30 15:56:33.149671137 +0200 +++ /var/tmp/diff_new_pack.OuVfmM/_new 2019-09-30 15:56:33.149671137 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cloudpickle -Version:1.2.1 +Version:1.2.2 Release:0 Summary:Extended pickling support for Python objects License:BSD-3-Clause ++ cloudpickle-1.2.1.tar.gz -> cloudpickle-1.2.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-1.2.1/PKG-INFO new/cloudpickle-1.2.2/PKG-INFO --- old/cloudpickle-1.2.1/PKG-INFO 2019-06-10 21:56:01.0 +0200 +++ new/cloudpickle-1.2.2/PKG-INFO 2019-09-10 14:27:06.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: cloudpickle -Version: 1.2.1 +Version: 1.2.2 Summary: Extended pickling support for Python objects Home-page: https://github.com/cloudpipe/cloudpickle Author: Cloudpipe @@ -23,11 +23,15 @@ along with **functions and classes defined interactively** in the `__main__` module (for instance in a script, a shell or a Jupyter notebook). -**`cloudpickle` uses `pickle.HIGHEST_PROTOCOL` by default**: it is meant to -send objects between processes running the **same version of Python**. +Cloudpickle can only be used to send objects between the **exact same version +of Python**. Using `cloudpickle` for **long-term object storage is not supported and -discouraged.** +strongly discouraged.** + +**Security notice**: one should **only load pickle data from trusted sources** as +otherwise `pickle.load` can lead to arbitrary code execution resulting in a critical +security vulnerability. Installation @@ -89,6 +93,25 @@ PYTHONPATH='.:tests' py.test +Note about function Annotations +--- + +Note that because of design issues `Python`'s `typing` module, `cloudpickle` +supports pickling type annotations of dynamic functions for `Python` 3.7 and +later. On `Python` 3.4, 3.5 and 3.6, those type annotations will be dropped +silently during pickling (example below): + +```python +>>> import typing +>>> import cloudpickle +>>> def f(x: typing.Union[list, int]): +... return x +>>> f + +>>> cloudpickle.loads(cloudpickle.dumps(f)) # drops f's annotations + +``` + History --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-1.2.1/README.md new/cloudpickle-1.2.2/README.md --- old/cloudpickle-1.2.1/README.md 2019-04-17 11:27:32.0 +0200 +++ new/cloudpickle-1.2.2/README.md 2019-09-10 14:19:13.0 +0200 @@ -15,11 +15,15 @@ along with **functions and classes defined interactively** in the `__main__` module (for instance in a script, a shell or a Jupyter notebook). -**`cloudpickle` uses `pickle.HIGHEST_PROTOCOL` by default**: it is meant to -send objects between processes running the **same version of Python**. +Cloudpickle can only be used to send objects between the **exact same version +of Python**. Using `cloudpickle` for **long-term ob
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2019-07-31 14:15:17 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new.4126 (New) Package is "python-cloudpickle" Wed Jul 31 14:15:17 2019 rev:7 rq:718787 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2019-05-25 13:17:58.988386797 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new.4126/python-cloudpickle.changes 2019-07-31 14:15:18.638794685 +0200 @@ -1,0 +2,10 @@ +Fri Jul 26 07:52:16 UTC 2019 - pgaj...@suse.com + +- version update to 1.2.1 +* 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) + +--- Old: cloudpickle-1.1.1.tar.gz New: cloudpickle-1.2.1.tar.gz Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.AAoI01/_old 2019-07-31 14:15:19.218793612 +0200 +++ /var/tmp/diff_new_pack.AAoI01/_new 2019-07-31 14:15:19.226793598 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cloudpickle -Version:1.1.1 +Version:1.2.1 Release:0 Summary:Extended pickling support for Python objects License:BSD-3-Clause ++ cloudpickle-1.1.1.tar.gz -> cloudpickle-1.2.1.tar.gz ++ 1623 lines of diff (skipped)
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2019-05-25 13:17:55 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new.5148 (New) Package is "python-cloudpickle" Sat May 25 13:17:55 2019 rev:6 rq:704439 version:1.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2019-04-02 09:21:46.028681327 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new.5148/python-cloudpickle.changes 2019-05-25 13:17:58.988386797 +0200 @@ -1,0 +2,10 @@ +Tue May 21 11:38:21 UTC 2019 - Marketa Calabkova + +- Update to 1.1.1 + * Support the pickling of interactively-defined functions with +positional-only arguments. + * Track the provenance of dynamic classes and enums. + * Fix a bug making functions with keyword-only arguments forget +the default values of these arguments after being pickled. + +--- Old: cloudpickle-0.8.1.tar.gz New: cloudpickle-1.1.1.tar.gz Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.CpWZNj/_old 2019-05-25 13:17:59.660386547 +0200 +++ /var/tmp/diff_new_pack.CpWZNj/_new 2019-05-25 13:17:59.664386546 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cloudpickle -Version:0.8.1 +Version:1.1.1 Release:0 Summary:Extended pickling support for Python objects License:BSD-3-Clause @@ -68,7 +68,7 @@ %check export PYTHONPATH='.:tests' -%python_expand py.test-%{$python_bin_suffix} -s +%pytest -s %files %{python_files} %doc README.md ++ cloudpickle-0.8.1.tar.gz -> cloudpickle-1.1.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.8.1/PKG-INFO new/cloudpickle-1.1.1/PKG-INFO --- old/cloudpickle-0.8.1/PKG-INFO 2019-03-25 10:07:23.0 +0100 +++ new/cloudpickle-1.1.1/PKG-INFO 2019-05-15 10:50:45.0 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: cloudpickle -Version: 0.8.1 +Version: 1.1.1 Summary: Extended pickling support for Python objects Home-page: https://github.com/cloudpipe/cloudpickle Author: Cloudpipe @@ -120,3 +120,4 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Scientific/Engineering Classifier: Topic :: System :: Distributed Computing +Description-Content-Type: text/markdown diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.8.1/cloudpickle/__init__.py new/cloudpickle-1.1.1/cloudpickle/__init__.py --- old/cloudpickle-0.8.1/cloudpickle/__init__.py 2019-03-25 10:07:01.0 +0100 +++ new/cloudpickle-1.1.1/cloudpickle/__init__.py 2019-05-15 10:49:51.0 +0200 @@ -2,4 +2,4 @@ from cloudpickle.cloudpickle import * -__version__ = '0.8.1' +__version__ = '1.1.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.8.1/cloudpickle/cloudpickle.py new/cloudpickle-1.1.1/cloudpickle/cloudpickle.py --- old/cloudpickle-0.8.1/cloudpickle/cloudpickle.py2019-03-25 09:45:31.0 +0100 +++ new/cloudpickle-1.1.1/cloudpickle/cloudpickle.py2019-05-15 10:43:28.0 +0200 @@ -44,7 +44,6 @@ import dis from functools import partial -import importlib import io import itertools import logging @@ -56,12 +55,26 @@ import traceback import types import weakref +import uuid +import threading + + +try: +from enum import Enum +except ImportError: +Enum = None # cloudpickle is meant for inter process communication: we expect all # communicating processes to run the same Python version hence we favor # communication speed over compatibility: DEFAULT_PROTOCOL = pickle.HIGHEST_PROTOCOL +# Track the provenance of reconstructed dynamic classes to make it possible to +# recontruct instances from the matching singleton class definition when +# appropriate and preserve the usual "isinstance" semantics of Python objects. +_DYNAMIC_CLASS_TRACKER_BY_CLASS = weakref.WeakKeyDictionary() +_DYNAMIC_CLASS_TRACKER_BY_ID = weakref.WeakValueDictionary() +_DYNAMIC_CLASS_TRACKER_LOCK = threading.Lock() if sys.version_info[0] < 3: # pragma: no branch from pickle import Pickler @@ -71,12 +84,37 @@ from StringIO import StringIO string_types = (basestring,) # noqa PY3 = False +PY2 = True +PY2_WRAPPER_DESCRIPTOR_TYPE = type(object.__init__) +PY2_METHOD_WRAPPER_TYPE = type(object.__eq_
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2019-04-02 09:21:32 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new.25356 (New) Package is "python-cloudpickle" Tue Apr 2 09:21:32 2019 rev:5 rq:689381 version:0.8.1 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2019-02-06 15:48:19.751226078 +0100 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new.25356/python-cloudpickle.changes 2019-04-02 09:21:46.028681327 +0200 @@ -1,0 +2,13 @@ +Thu Mar 28 14:20:54 UTC 2019 - Tomáš Chvátal + +- Update to 0.8.1: + * Fix a bug (already present before 0.5.3 and re-introduced in 0.8.0) affecting relative import instructions inside depickled functions (issue #254) + +--- +Thu Mar 7 13:00:07 UTC 2019 - Tomáš Chvátal + +- 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. + +--- Old: cloudpickle-0.7.0.tar.gz New: cloudpickle-0.8.1.tar.gz Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.87w4wu/_old 2019-04-02 09:21:47.204682428 +0200 +++ /var/tmp/diff_new_pack.87w4wu/_new 2019-04-02 09:21:47.208682432 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cloudpickle -Version:0.7.0 +Version:0.8.1 Release:0 Summary:Extended pickling support for Python objects License:BSD-3-Clause @@ -27,11 +27,13 @@ Source: https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-futures BuildRequires: python-rpm-macros BuildArch: noarch BuildRequires: %{python_module curses} BuildRequires: %{python_module mock} BuildRequires: %{python_module numpy >= 1.8.2} +BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy} @@ -65,7 +67,6 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Tests require very specific paths and py.test arguments export PYTHONPATH='.:tests' %python_expand py.test-%{$python_bin_suffix} -s ++ cloudpickle-0.7.0.tar.gz -> cloudpickle-0.8.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.7.0/PKG-INFO new/cloudpickle-0.8.1/PKG-INFO --- old/cloudpickle-0.7.0/PKG-INFO 2019-01-23 17:36:06.0 +0100 +++ new/cloudpickle-0.8.1/PKG-INFO 2019-03-25 10:07:23.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cloudpickle -Version: 0.7.0 +Version: 0.8.1 Summary: Extended pickling support for Python objects Home-page: https://github.com/cloudpipe/cloudpickle Author: Cloudpipe @@ -15,16 +15,20 @@ `cloudpickle` makes it possible to serialize Python constructs not supported by the default `pickle` module from the Python standard library. -`cloudpickle` is especially useful for cluster computing where Python -expressions are shipped over the network to execute on remote hosts, possibly -close to the data. - -Among other things, `cloudpickle` supports pickling for lambda expressions, -functions and classes defined interactively in the `__main__` module. - -`cloudpickle` uses `pickle.HIGHEST_PROTOCOL` by default: it is meant to -send objects between processes running the same version of Python. It is -discouraged to use `cloudpickle` for long-term storage. +`cloudpickle` is especially useful for **cluster computing** where Python +code is shipped over the network to execute on remote hosts, possibly close +to the data. + +Among other things, `cloudpickle` supports pickling for **lambda functions** +along with **functions and classes defined interactively** in the +`__main__` module (for instance in a script, a shell or a Jupyter notebook). + +**`cloudpickle` uses `pickle.HI
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2019-02-06 15:48:18 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new.28833 (New) Package is "python-cloudpickle" Wed Feb 6 15:48:18 2019 rev:4 rq:671952 version:0.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2018-07-18 22:58:07.014129736 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new.28833/python-cloudpickle.changes 2019-02-06 15:48:19.751226078 +0100 @@ -1,0 +2,29 @@ +Tue Feb 5 15:42:55 UTC 2019 - alarr...@suse.com + +- Update to version 0.7.0: + * Correctly serialize dynamically defined classes that have a __slots__ +attribute. (issue #225) +- Update to version 0.6.1 + * Fix regression in 0.6.0 which breaks the pickling of local function +defined in a module, making it impossible to access builtins. (issue #211) +- Update to version 0.6.0 + * Ensure that unpickling a function defined in a dynamic module several +times sequentially does not reset the values of global variables. +(issue #187) + * Restrict the ability to pickle annotations to python3.7+ (issue #193 +and issue #196) + * Stop using the deprecated imp module under Python 3. (issue #207) + * Fixed pickling issue with singleton types NoneType, type(...) and +type(NotImplemented) (issue #209) +- Update to version 0.5.6 + * Ensure that unpickling a locally defined function that accesses the global +variables of a module does not reset the values of the global variables if +they are already initialized. (issue #187) +- Update to version 0.5.5 + * Fixed inconsistent version in cloudpickle.__version__. +- Update to version 0.5.4 + * Fixed a pickling issue for ABC in python3.7+ (issue #180). + * Fixed a bug when pickling functions in __main__ that access global +variables (issue #187). + +--- Old: cloudpickle-0.5.3.tar.gz New: cloudpickle-0.7.0.tar.gz Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.6zDuqw/_old 2019-02-06 15:48:20.339225723 +0100 +++ /var/tmp/diff_new_pack.6zDuqw/_new 2019-02-06 15:48:20.343225720 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cloudpickle # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cloudpickle -Version:0.5.3 +Version:0.7.0 Release:0 Summary:Extended pickling support for Python objects License:BSD-3-Clause ++ cloudpickle-0.5.3.tar.gz -> cloudpickle-0.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.5.3/PKG-INFO new/cloudpickle-0.7.0/PKG-INFO --- old/cloudpickle-0.5.3/PKG-INFO 2018-05-14 18:24:48.0 +0200 +++ new/cloudpickle-0.7.0/PKG-INFO 2019-01-23 17:36:06.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cloudpickle -Version: 0.5.3 +Version: 0.7.0 Summary: Extended pickling support for Python objects Home-page: https://github.com/cloudpipe/cloudpickle Author: Cloudpipe diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.5.3/cloudpickle/__init__.py new/cloudpickle-0.7.0/cloudpickle/__init__.py --- old/cloudpickle-0.5.3/cloudpickle/__init__.py 2018-05-14 18:21:31.0 +0200 +++ new/cloudpickle-0.7.0/cloudpickle/__init__.py 2019-01-23 17:34:22.0 +0100 @@ -2,4 +2,4 @@ from cloudpickle.cloudpickle import * -__version__ = '0.5.3' +__version__ = '0.7.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.5.3/cloudpickle/cloudpickle.py new/cloudpickle-0.7.0/cloudpickle/cloudpickle.py --- old/cloudpickle-0.5.3/cloudpickle/cloudpickle.py2018-05-13 06:52:50.0 +0200 +++ new/cloudpickle-0.7.0/cloudpickle/cloudpickle.py2019-01-23 17:32:14.0 +0100 @@ -44,7 +44,7 @@ import dis from functools import partial -import imp +import importlib import
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2018-07-18 22:57:19 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new (New) Package is "python-cloudpickle" Wed Jul 18 22:57:19 2018 rev:3 rq:623634 version:0.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2018-07-17 09:41:40.825448086 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new/python-cloudpickle.changes 2018-07-18 22:58:07.014129736 +0200 @@ -1,0 +2,5 @@ +Wed Jul 18 11:48:40 UTC 2018 - tchva...@suse.com + +- Fix runtime dependencies and raise numpy requirement + +--- Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.080e9Z/_old 2018-07-18 22:58:07.362128582 +0200 +++ /var/tmp/diff_new_pack.080e9Z/_new 2018-07-18 22:58:07.366128569 +0200 @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without tests Name: python-cloudpickle Version:0.5.3 Release:0 @@ -26,20 +25,21 @@ Group: Development/Languages/Python URL:https://github.com/cloudpipe/cloudpickle Source: https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -%if %{with tests} BuildRequires: %{python_module curses} BuildRequires: %{python_module mock} -BuildRequires: %{python_module numpy} +BuildRequires: %{python_module numpy >= 1.8.2} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy} BuildRequires: %{python_module tornado} -%endif +Requires: python-curses +Requires: python-numpy >= 1.8.2 +Requires: python-scipy +Requires: python-tornado %python_subpackages %description @@ -64,12 +64,10 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check # Tests require very specific paths and py.test arguments export PYTHONPATH='.:tests' %python_expand py.test-%{$python_bin_suffix} -s -%endif %files %{python_files} %doc README.md
commit python-cloudpickle for openSUSE:Factory
Hello community, here is the log from the commit of package python-cloudpickle for openSUSE:Factory checked in at 2018-07-17 09:41:40 Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old) and /work/SRC/openSUSE:Factory/.python-cloudpickle.new (New) Package is "python-cloudpickle" Tue Jul 17 09:41:40 2018 rev:2 rq:622917 version:0.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes 2018-04-01 17:26:34.407417595 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloudpickle.new/python-cloudpickle.changes 2018-07-17 09:41:40.825448086 +0200 @@ -1,0 +2,9 @@ +Sat Jul 14 19:14:34 UTC 2018 - a...@gmx.de + +- update to version 0.5.3: + * Fixed a crash in Python 2 when serializing non-hashable +instancemethods of built-in types (issue #144). + * itertools objects can also pickled (PR #156). + * logging.RootLogger can be also pickled (PR #160). + +--- Old: cloudpickle-0.5.2.tar.gz New: cloudpickle-0.5.3.tar.gz Other differences: -- ++ python-cloudpickle.spec ++ --- /var/tmp/diff_new_pack.fVvMm2/_old 2018-07-17 09:41:41.433445854 +0200 +++ /var/tmp/diff_new_pack.fVvMm2/_new 2018-07-17 09:41:41.437445839 +0200 @@ -16,21 +16,21 @@ # -%bcond_without tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without tests Name: python-cloudpickle -Version:0.5.2 +Version:0.5.3 Release:0 Summary:Extended pickling support for Python objects License:BSD-3-Clause Group: Development/Languages/Python -Url:https://github.com/cloudpipe/cloudpickle +URL:https://github.com/cloudpipe/cloudpickle Source: https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch %if %{with tests} BuildRequires: %{python_module curses} BuildRequires: %{python_module mock} @@ -40,8 +40,6 @@ BuildRequires: %{python_module scipy} BuildRequires: %{python_module tornado} %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -56,7 +54,6 @@ Among other things, cloudpickle supports pickling for lambda expressions, functions and classes defined interactively in the __main__ module. - %prep %setup -q -n cloudpickle-%{version} @@ -75,7 +72,6 @@ %endif %files %{python_files} -%defattr(-,root,root,-) %doc README.md %license LICENSE %{python_sitelib}/* ++ cloudpickle-0.5.2.tar.gz -> cloudpickle-0.5.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.5.2/PKG-INFO new/cloudpickle-0.5.3/PKG-INFO --- old/cloudpickle-0.5.2/PKG-INFO 2017-11-21 09:28:40.0 +0100 +++ new/cloudpickle-0.5.3/PKG-INFO 2018-05-14 18:24:48.0 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: cloudpickle -Version: 0.5.2 +Version: 0.5.3 Summary: Extended pickling support for Python objects Home-page: https://github.com/cloudpipe/cloudpickle Author: Cloudpipe Author-email: cloudp...@googlegroups.com -License: LICENSE.txt -Description-Content-Type: UNKNOWN +License: BSD 3-Clause License Description: # cloudpickle [![Build Status](https://travis-ci.org/cloudpipe/cloudpickle.svg?branch=master diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.5.2/cloudpickle/__init__.py new/cloudpickle-0.5.3/cloudpickle/__init__.py --- old/cloudpickle-0.5.2/cloudpickle/__init__.py 2017-11-21 09:26:40.0 +0100 +++ new/cloudpickle-0.5.3/cloudpickle/__init__.py 2018-05-14 18:21:31.0 +0200 @@ -2,4 +2,4 @@ from cloudpickle.cloudpickle import * -__version__ = '0.5.2' +__version__ = '0.5.3' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloudpickle-0.5.2/cloudpickle/cloudpickle.py new/cloudpickle-0.5.3/cloudpickle/cloudpickle.py --- old/cloudpickle-0.5.2/cloudpickle/cloudpickle.py2017-11-21 09:26:40.0 +0100 +++ new/cloudpickle-0.5.3/cloudpickle/cloudpickle.py2018-05-13 06:52:50.0 +0200 @@ -163,7 +163,7 @@ )(value) -#relevant opcodes +# relevant opcodes STORE_GLOBAL = opcode.opmap['STORE_GLOBAL'] DELETE_GLOBAL = opcode.opmap['DELETE_GLOBAL'] LOAD_GLOBAL = opcode.opmap['LOAD_GLOBAL'] @@ -173,7 +173,7 @@ def islambda(func): -return getattr(func,'__name__') == '' +return getattr(func, '__name__')