commit python-cloudpickle for openSUSE:Factory

2023-06-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloudpickle for 
openSUSE:Factory checked in at 2023-06-13 16:08:44

Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-cloudpickle.new.15902 (New)


Package is "python-cloudpickle"

Tue Jun 13 16:08:44 2023 rev:21 rq:1092380 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes
2023-05-09 13:07:27.957066733 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.15902/python-cloudpickle.changes
 2023-06-13 16:08:44.906615840 +0200
@@ -1,0 +2,5 @@
+Sun Jun 11 13:52:47 UTC 2023 - ecsos 
+
+- Add %{?sle15_python_module_pythons}
+
+---



Other differences:
--
++ python-cloudpickle.spec ++
--- /var/tmp/diff_new_pack.3rX5lN/_old  2023-06-13 16:08:45.682620419 +0200
+++ /var/tmp/diff_new_pack.3rX5lN/_new  2023-06-13 16:08:45.682620419 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define skip_python2 1
+%{?sle15_python_module_pythons}
 Name:   python-cloudpickle
 Version:2.2.1
 Release:0


commit python-cloudpickle for openSUSE:Factory

2023-05-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloudpickle for 
openSUSE:Factory checked in at 2023-05-09 13:07:15

Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-cloudpickle.new.1533 (New)


Package is "python-cloudpickle"

Tue May  9 13:07:15 2023 rev:20 rq:1085559 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes
2023-02-19 18:18:50.401434544 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.1533/python-cloudpickle.changes
  2023-05-09 13:07:27.957066733 +0200
@@ -1,0 +2,9 @@
+Mon May  8 18:15:45 UTC 2023 - Dirk Müller 
+
+- update to 2.2.1:
+  * Back to dev mode
+  * Move builtin classmethod_descriptor to a different test
+  * Fix Python 3.9+ NamedTuple issues
+- drop Move-builtin-classmethod_descriptor-to-a-different-t.patch (upstream)
+
+---

Old:

  Move-builtin-classmethod_descriptor-to-a-different-t.patch
  cloudpickle-2.2.0.tar.gz

New:

  cloudpickle-2.2.1.tar.gz



Other differences:
--
++ python-cloudpickle.spec ++
--- /var/tmp/diff_new_pack.VpbSSs/_old  2023-05-09 13:07:28.565070351 +0200
+++ /var/tmp/diff_new_pack.VpbSSs/_new  2023-05-09 13:07:28.569070375 +0200
@@ -18,14 +18,12 @@
 
 %define skip_python2 1
 Name:   python-cloudpickle
-Version:2.2.0
+Version:2.2.1
 Release:0
 Summary:Extended pickling support for Python objects
 License:BSD-3-Clause
 URL:https://github.com/cloudpipe/cloudpickle
 Source: 
https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM 
Move-builtin-classmethod_descriptor-to-a-different-t.patch 
gh#cloudpipe/cloudpickle#486
-Patch0: Move-builtin-classmethod_descriptor-to-a-different-t.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++ cloudpickle-2.2.0.tar.gz -> cloudpickle-2.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloudpickle-2.2.0/PKG-INFO 
new/cloudpickle-2.2.1/PKG-INFO
--- old/cloudpickle-2.2.0/PKG-INFO  2022-09-07 18:05:22.706607000 +0200
+++ new/cloudpickle-2.2.1/PKG-INFO  2023-01-19 10:23:10.625712200 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 2.1
 Name: cloudpickle
-Version: 2.2.0
+Version: 2.2.1
 Summary: Extended pickling support for Python objects
 Home-page: https://github.com/cloudpipe/cloudpickle
 Author: Cloudpipe
 Author-email: cloudp...@googlegroups.com
 License: BSD 3-Clause License
-Platform: UNKNOWN
 Classifier: Development Status :: 4 - Beta
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
@@ -181,5 +180,3 @@
 The aim of the `cloudpickle` project is to make that work available to a wider
 audience outside of the Spark ecosystem and to make it easier to improve it
 further notably with the help of a dedicated non-regression test suite.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloudpickle-2.2.0/cloudpickle/__init__.py 
new/cloudpickle-2.2.1/cloudpickle/__init__.py
--- old/cloudpickle-2.2.0/cloudpickle/__init__.py   2022-09-07 
18:04:23.0 +0200
+++ new/cloudpickle-2.2.1/cloudpickle/__init__.py   2023-01-19 
10:21:50.0 +0100
@@ -5,4 +5,4 @@
 # expose their Pickler subclass at top-level under the  "Pickler" name.
 Pickler = CloudPickler
 
-__version__ = '2.2.0'
+__version__ = '2.2.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloudpickle-2.2.0/cloudpickle/cloudpickle_fast.py 
new/cloudpickle-2.2.1/cloudpickle/cloudpickle_fast.py
--- old/cloudpickle-2.2.0/cloudpickle/cloudpickle_fast.py   2022-09-07 
18:03:49.0 +0200
+++ new/cloudpickle-2.2.1/cloudpickle/cloudpickle_fast.py   2023-01-19 
09:54:51.0 +0100
@@ -111,8 +111,8 @@
 
 def _class_getnewargs(obj):
 type_kwargs = {}
-if "__slots__" in obj.__dict__:
-type_kwargs["__slots__"] = obj.__slots__
+if "__module__" in obj.__dict__:
+type_kwargs["__module__"] = obj.__module__
 
 __dict__ = obj.__dict__.get('__dict__', None)
 if isinstance(__dict__, property):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloudpickle-2.2.0/cloudpickle.egg-info/PKG-INFO 
new/cloudpickle-2.2.1/cloudpickle.egg-info/PKG-INFO
--- old/cloudpickle-2.2.0/cloudpickle.egg-info/PKG-INFO 2022-09-07 
18:05:22.0 +0200
+++ new/cloudpickle-2.2.1/cloudpickle.egg-info/PKG-INFO 

commit python-cloudpickle for openSUSE:Factory

2023-02-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloudpickle for 
openSUSE:Factory checked in at 2023-02-19 18:18:48

Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-cloudpickle.new.22824 (New)


Package is "python-cloudpickle"

Sun Feb 19 18:18:48 2023 rev:19 rq:1066282 version:2.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes
2022-12-07 17:34:13.204294396 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.22824/python-cloudpickle.changes
 2023-02-19 18:18:50.401434544 +0100
@@ -1,0 +2,6 @@
+Thu Feb 16 23:10:38 UTC 2023 - Dirk Müller 
+
+- restore testing against scipy/numpy on tumbleweed, all 
+  versions exist there again 
+
+---



Other differences:
--
++ python-cloudpickle.spec ++
--- /var/tmp/diff_new_pack.JGHmAc/_old  2023-02-19 18:18:50.837437314 +0100
+++ /var/tmp/diff_new_pack.JGHmAc/_new  2023-02-19 18:18:50.841437340 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cloudpickle
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,9 +36,10 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module py}
 BuildRequires:  %{python_module tornado}
-# only test these for the primary interpreter, as packages for older pythons 
are dropped in TW
-BuildRequires:  python3-scipy
-BuildRequires:  python3-numpy >= 1.18.5
+%if 0%{?suse_version} >= 1550
+BuildRequires:  %{python_module numpy >= 1.18.5}
+BuildRequires:  %{python_module scipy}
+%endif
 # /SECTION
 %python_subpackages
 


commit python-cloudpickle for openSUSE:Factory

2022-12-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloudpickle for 
openSUSE:Factory checked in at 2022-12-07 17:33:44

Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-cloudpickle.new.1835 (New)


Package is "python-cloudpickle"

Wed Dec  7 17:33:44 2022 rev:18 rq:1040253 version:2.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes
2022-10-28 19:28:41.650379738 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.1835/python-cloudpickle.changes
  2022-12-07 17:34:13.204294396 +0100
@@ -1,0 +2,5 @@
+Mon Dec  5 12:19:25 UTC 2022 - Daniel Garcia 
+
+- Add python-py as test dependency
+
+---



Other differences:
--
++ python-cloudpickle.spec ++
--- /var/tmp/diff_new_pack.P6KGco/_old  2022-12-07 17:34:16.064310056 +0100
+++ /var/tmp/diff_new_pack.P6KGco/_new  2022-12-07 17:34:16.072310099 +0100
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-cloudpickle
 Version:2.2.0
@@ -35,6 +34,7 @@
 BuildRequires:  %{python_module curses}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module py}
 BuildRequires:  %{python_module tornado}
 # only test these for the primary interpreter, as packages for older pythons 
are dropped in TW
 BuildRequires:  python3-scipy


commit python-cloudpickle for openSUSE:Factory

2022-10-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloudpickle for 
openSUSE:Factory checked in at 2022-10-28 19:28:38

Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-cloudpickle.new.2275 (New)


Package is "python-cloudpickle"

Fri Oct 28 19:28:38 2022 rev:17 rq:1031943 version:2.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes
2022-10-01 17:42:16.461573704 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.2275/python-cloudpickle.changes
  2022-10-28 19:28:41.650379738 +0200
@@ -1,0 +2,6 @@
+Fri Oct 28 12:04:27 UTC 2022 - Daniel Garcia 
+
+- Add Move-builtin-classmethod_descriptor-to-a-different-t.patch to fix the
+  tests with python 3.10.8 gh#cloudpipe/cloudpickle#486
+
+---

New:

  Move-builtin-classmethod_descriptor-to-a-different-t.patch



Other differences:
--
++ python-cloudpickle.spec ++
--- /var/tmp/diff_new_pack.sJEHPC/_old  2022-10-28 19:28:42.326383129 +0200
+++ /var/tmp/diff_new_pack.sJEHPC/_new  2022-10-28 19:28:42.334383169 +0200
@@ -25,6 +25,8 @@
 License:BSD-3-Clause
 URL:https://github.com/cloudpipe/cloudpickle
 Source: 
https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM 
Move-builtin-classmethod_descriptor-to-a-different-t.patch 
gh#cloudpipe/cloudpickle#486
+Patch0: Move-builtin-classmethod_descriptor-to-a-different-t.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -53,7 +55,7 @@
 functions and classes defined interactively in the __main__ module.
 
 %prep
-%setup -q -n cloudpickle-%{version}
+%autosetup -p1 -n cloudpickle-%{version}
 
 %build
 %python_build
@@ -71,6 +73,7 @@
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/cloudpickle
+%{python_sitelib}/cloudpickle-%{version}*-info
 
 %changelog

++ Move-builtin-classmethod_descriptor-to-a-different-t.patch ++
>From 9b332800fa09bec1f03fd4dd10ca69d1655c809c Mon Sep 17 00:00:00 2001
From: Daniel Garcia Moreno 
Date: Fri, 28 Oct 2022 13:55:45 +0200
Subject: [PATCH] Move builtin classmethod_descriptor to a different test

This patch mvoes the builtin classmethod descriptor test to a different
one and mark it to skip for python >= 3.10.8. The classmethod descriptor
serializarion was removed from python in these releases:
https://docs.python.org/3.10/whatsnew/changelog.html#id3

More information in the github issue:
https://github.com/python/cpython/issues/95196

Fix https://github.com/cloudpipe/cloudpickle/issues/485
---
 tests/cloudpickle_test.py | 20 +++-
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/tests/cloudpickle_test.py b/tests/cloudpickle_test.py
index 7bb0322..2701852 100644
--- a/tests/cloudpickle_test.py
+++ b/tests/cloudpickle_test.py
@@ -868,21 +868,16 @@ class CloudPickleTest(unittest.TestCase):
 assert depickled_unbound_meth is unbound_classicmethod
 assert depickled_clsdict_meth is clsdict_classicmethod
 
-
 def test_builtin_classmethod(self):
 obj = 1.5  # float object
 
 bound_clsmethod = obj.fromhex  # builtin_function_or_method
 unbound_clsmethod = type(obj).fromhex  # builtin_function_or_method
-clsdict_clsmethod = type(
-obj).__dict__['fromhex']  # classmethod_descriptor
 
 depickled_bound_meth = pickle_depickle(
 bound_clsmethod, protocol=self.protocol)
 depickled_unbound_meth = pickle_depickle(
 unbound_clsmethod, protocol=self.protocol)
-depickled_clsdict_meth = pickle_depickle(
-clsdict_clsmethod, protocol=self.protocol)
 
 # float.fromhex takes a string as input.
 arg = "0x1"
@@ -893,6 +888,21 @@ class CloudPickleTest(unittest.TestCase):
 assert depickled_bound_meth(arg) == bound_clsmethod(arg)
 assert depickled_unbound_meth(arg) == unbound_clsmethod(arg)
 
+@pytest.mark.skipif(
+sys.version_info >= (3, 10, 8),
+reason="Disabled classmethod_descriptor pickle 
https://github.com/python/cpython/issues/95196;
+)
+def test_builtin_classmethod_descriptor(self):
+obj = 1.5  # float object
+
+clsdict_clsmethod = type(
+obj).__dict__['fromhex']  # classmethod_descriptor
+
+depickled_clsdict_meth = pickle_depickle(
+clsdict_clsmethod, protocol=self.protocol)
+
+# float.fromhex takes a string as input.
+arg = "0x1"
 if 

commit python-cloudpickle for openSUSE:Factory

2022-10-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloudpickle for 
openSUSE:Factory checked in at 2022-10-01 17:42:08

Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-cloudpickle.new.2275 (New)


Package is "python-cloudpickle"

Sat Oct  1 17:42:08 2022 rev:16 rq:1007420 version:2.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes
2021-01-26 14:44:33.287237114 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.2275/python-cloudpickle.changes
  2022-10-01 17:42:16.461573704 +0200
@@ -1,0 +2,31 @@
+Sat Oct  1 11:24:59 UTC 2022 - Dirk M??ller 
+
+- update to 2.2.0:
+  * Improve compatibility with "nogil" Python and 3.11 
+  * Fix compatibility with Python 3.11
+  * Add Python 3.10 to tox config
+  * Fix #440: Incorrect pickles for subclasses of generic classes 
+  * Extend test_abc to include abstract properties
+  * Add support for abc.abstract* methods
+  * Add test for multiprocessing.Lock error
+
+---
+Mon Sep 26 21:21:21 UTC 2022 - Yogalakshmi Arunachalam 
+
+- Update to 2.1.0
+  * Support for pickling abc.abstractproperty, abc.abstractclassmethod, and 
abc.abstractstaticmethod. (PR #450)
+  * Support for pickling subclasses of generic classes. (PR #448)
+  * Support and CI configuration for Python 3.11. (PR #467)
+  * Support for the experimental nogil variant of CPython (PR #470)
+
+- Update to 2.0.0
+  * Python 3.5 is no longer supported.
+  * Support for registering modules to be serialised by value. This allows 
code defined in local modules to be serialised
+and executed remotely without those local modules installed on the remote 
machine. (PR #417)
+  * Fix a side effect altering dynamic modules at pickling time. (PR #426)
+  * Support for pickling type annotations on Python 3.10 as per PEP 563 (PR 
#400)
+  * Stricter parametrized type detection heuristics in 
_is_parametrized_type_hint to limit false positives. (PR #409)
+  * Support pickling / depickling of OrderedDict KeysView, ValuesView, and 
ItemsView, following similar strategy for vanilla Python dictionaries. (PR #423)
+  * Suppressed a source of non-determinism when pickling dynamically defined 
functions and handles the deprecation of co_lnotab in Python 3.10+. (PR #428) 
+
+---

Old:

  cloudpickle-1.6.0.tar.gz

New:

  cloudpickle-2.2.0.tar.gz



Other differences:
--
++ python-cloudpickle.spec ++
--- /var/tmp/diff_new_pack.Iq7NAr/_old  2022-10-01 17:42:16.849574411 +0200
+++ /var/tmp/diff_new_pack.Iq7NAr/_new  2022-10-01 17:42:16.853574419 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cloudpickle
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-cloudpickle
-Version:1.6.0
+Version:2.2.0
 Release:0
 Summary:Extended pickling support for Python objects
 License:BSD-3-Clause

++ cloudpickle-1.6.0.tar.gz -> cloudpickle-2.2.0.tar.gz ++
 2691 lines of diff (skipped)


commit python-cloudpickle for openSUSE:Factory

2021-01-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloudpickle for 
openSUSE:Factory checked in at 2021-01-26 14:44:32

Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-cloudpickle.new.28504 (New)


Package is "python-cloudpickle"

Tue Jan 26 14:44:32 2021 rev:15 rq:866118 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes
2020-12-12 20:32:06.197835697 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.28504/python-cloudpickle.changes
 2021-01-26 14:44:33.287237114 +0100
@@ -1,0 +2,8 @@
+Fri Jan 22 16:19:43 UTC 2021 - Benjamin Greiner 
+
+- Update BuildRequirements for tests: scipy and numpy are only
+  available for python >= 3.7 soon. 
+- Apply upstream's deprecation of Python 2: Already failing due to
+  syntax errors.
+
+---



Other differences:
--
++ python-cloudpickle.spec ++
--- /var/tmp/diff_new_pack.LkMxOj/_old  2021-01-26 14:44:33.839237968 +0100
+++ /var/tmp/diff_new_pack.LkMxOj/_new  2021-01-26 14:44:33.843237975 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cloudpickle
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,8 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without python2
+%{?!python_module:%define python_module() python3-%{**}}
+%define skip_python2 1
 Name:   python-cloudpickle
 Version:1.6.0
 Release:0
@@ -25,27 +25,19 @@
 License:BSD-3-Clause
 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.5}
-BuildRequires:  %{python_module psutil}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module scipy}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module tornado}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-curses
-Requires:   python-numpy >= 1.8.5
-Requires:   python-scipy
-Requires:   python-tornado
 BuildArch:  noarch
-%if %{with python2}
-BuildRequires:  python-futures
-%endif
-%ifpython2
-Requires:   python-futures
-%endif
+# SECTION test requirements. None of these are hard dependencies
+BuildRequires:  %{python_module curses} 
+BuildRequires:  %{python_module psutil}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module tornado}
+# only test these for the primary interpreter, as packages for older pythons 
are dropped in TW
+BuildRequires:  python3-scipy
+BuildRequires:  python3-numpy >= 1.18.5
+# /SECTION
 %python_subpackages
 
 %description


commit python-cloudpickle for openSUSE:Factory

2020-12-12 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-cloudpickle for 
openSUSE:Factory checked in at 2020-12-12 20:29:35

Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-cloudpickle.new.2328 (New)


Package is "python-cloudpickle"

Sat Dec 12 20:29:35 2020 rev:14 rq:854293 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes
2020-12-05 20:35:50.562627189 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.2328/python-cloudpickle.changes
  2020-12-12 20:32:06.197835697 +0100
@@ -1,0 +2,7 @@
+Wed Dec  9 14:43:55 UTC 2020 - Benjamin Greiner 
+
+- Don't pip install testpkg into user sitelib
+  * it masks problems with reused local builds
+  * was only single flavor
+
+---



Other differences:
--
++ python-cloudpickle.spec ++
--- /var/tmp/diff_new_pack.tHeXMj/_old  2020-12-12 20:32:06.997836533 +0100
+++ /var/tmp/diff_new_pack.tHeXMj/_new  2020-12-12 20:32:07.001836536 +0100
@@ -28,7 +28,6 @@
 BuildRequires:  %{python_module curses}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module numpy >= 1.8.5}
-BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy}
@@ -72,8 +71,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-pip install ./tests/cloudpickle_testpkg
-export PYTHONPATH='.:tests'
+# make local source and testpkg importable
+export PYTHONPATH=':./tests/cloudpickle_testpkg'
+# -s: tests need direct print
 %pytest -s
 
 %files %{python_files}
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org


commit python-cloudpickle for openSUSE:Factory

2020-12-05 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-cloudpickle for 
openSUSE:Factory checked in at 2020-12-05 20:35:42

Comparing /work/SRC/openSUSE:Factory/python-cloudpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-cloudpickle.new.5913 (New)


Package is "python-cloudpickle"

Sat Dec  5 20:35:42 2020 rev:13 rq:853101 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cloudpickle/python-cloudpickle.changes
2020-06-28 23:05:37.150717758 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cloudpickle.new.5913/python-cloudpickle.changes
  2020-12-05 20:35:50.562627189 +0100
@@ -1,0 +2,9 @@
+Wed Dec  2 15:00:54 UTC 2020 - Markéta Machová 
+
+- 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)
+
+---

Old:

  cloudpickle-1.4.1.tar.gz

New:

  cloudpickle-1.6.0.tar.gz



Other differences:
--
++ python-cloudpickle.spec ++
--- /var/tmp/diff_new_pack.ncRWx5/_old  2020-12-05 20:35:51.150627787 +0100
+++ /var/tmp/diff_new_pack.ncRWx5/_new  2020-12-05 20:35:51.154627790 +0100
@@ -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 @@
 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:  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 @@
 %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

++ cloudpickle-1.4.1.tar.gz -> cloudpickle-1.6.0.tar.gz ++
 2467 lines of diff (skipped)
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org