forked from pool/python-cloudpickle
Accepting request 852905 from home:mcalabkova:branches:devel:languages:python
- Update to 1.6.0 * Fix a bug causing cloudpickle to crash when pickling dynamically created, importable modules. (issue #360) * 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) * cloudpickle now supports pickling dict_keys, dict_items and dict_values. (PR #384) OBS-URL: https://build.opensuse.org/request/show/852905 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=31
This commit is contained in:
parent
efb864fd90
commit
bc4e7e121b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0b6258a20a143603d53b037a20983016d4e978f554ec4f36b3d0895b947099ae
|
||||
size 47459
|
3
cloudpickle-1.6.0.tar.gz
Normal file
3
cloudpickle-1.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9bc994f9e9447593bd0a45371f0e7ac7333710fcf64a4eb9834bf149f4ef2f32
|
||||
size 52743
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 2 15:00:54 UTC 2020 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 1.6.0
|
||||
* Fix a bug causing cloudpickle to crash when pickling dynamically created, importable modules. (issue #360)
|
||||
* 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)
|
||||
* cloudpickle now supports pickling dict_keys, dict_items and dict_values. (PR #384)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 26 04:16:58 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-cloudpickle
|
||||
Version: 1.4.1
|
||||
Version: 1.6.0
|
||||
Release: 0
|
||||
Summary: Extended pickling support for Python objects
|
||||
License: BSD-3-Clause
|
||||
@ -27,9 +27,9 @@ URL: https://github.com/cloudpipe/cloudpickle
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz
|
||||
BuildRequires: %{python_module curses}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module numpy >= 1.8.2}
|
||||
BuildRequires: %{python_module numpy >= 1.8.5}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module scipy}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -37,7 +37,7 @@ BuildRequires: %{python_module tornado}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-curses
|
||||
Requires: python-numpy >= 1.8.2
|
||||
Requires: python-numpy >= 1.8.5
|
||||
Requires: python-scipy
|
||||
Requires: python-tornado
|
||||
BuildArch: noarch
|
||||
@ -72,9 +72,9 @@ functions and classes defined interactively in the __main__ module.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
pip install ./tests/cloudpickle_testpkg
|
||||
export PYTHONPATH='.:tests'
|
||||
# Because of gh#cloudpipe/cloudpickle#316
|
||||
%pytest -s -k 'not (test_dynamic_module or test_load_dynamic_module_in_grandchild_process)'
|
||||
%pytest -s
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user