31 Commits

Author SHA256 Message Date
c611f638a1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=50 2023-06-11 20:10:17 +00:00
e28e0642b8 Accepting request 1092314 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092314
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=49
2023-06-11 20:09:56 +00:00
e917b3b510 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=47
2023-05-08 18:18:53 +00:00
04c02c0bdd - restore testing against scipy/numpy on tumbleweed, all
versions exist there again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=45
2023-02-16 23:10:55 +00:00
4c9d53daa4 - Add python-py as test dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=43
2022-12-05 12:20:01 +00:00
ec0d73250d - Add Move-builtin-classmethod_descriptor-to-a-different-t.patch to fix the
tests with python 3.10.8 gh#cloudpipe/cloudpickle#486

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=41
2022-10-28 12:07:25 +00:00
f2b813ee8b - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=39
2022-10-01 11:27:37 +00:00
fa3e9a43b9 Accepting request 1006249 from home:yarunachalam:branches:devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1006249
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=38
2022-09-27 06:31:17 +00:00
60f8cd81d6 Accepting request 866080 from home:bnavigator:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/866080
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=36
2021-01-22 19:25:16 +00:00
1e27798aa1 pip not needed anymore
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=34
2020-12-09 15:28:19 +00:00
21ded1e2a2 Accepting request 854285 from home:bnavigator:branches:devel:languages:python
- Don't pip install testpkg into user sitelib
  * it masks problems with reused local builds
  * was only single flavor

OBS-URL: https://build.opensuse.org/request/show/854285
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=33
2020-12-09 15:27:44 +00:00
bc4e7e121b 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
2020-12-04 12:38:26 +00:00
Steve Kowalik
efb864fd90 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=29
2020-06-26 04:17:49 +00:00
Tomáš Chvátal
fc0c3877c0 Accepting request 790208 from home:mcalabkova:branches:devel:languages:python
- Update to version 1.3.0
  * mostly bugfix release
  * Add support for out-of-band pickling (Python 3.8 and later).

OBS-URL: https://build.opensuse.org/request/show/790208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=27
2020-03-31 15:50:11 +00:00
Tomáš Chvátal
dbdf3d20f3 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=25
2020-03-16 10:25:33 +00:00
2e741c3d32 - Exclude failing tests gh#cloudpipe/cloudpickle#316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=23
2019-12-19 10:53:33 +00:00
Tomáš Chvátal
6ce02a5d65 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=21
2019-09-26 10:43:05 +00:00
Tomáš Chvátal
cb01b021e6 Accepting request 718767 from home:pgajdos
- 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)

OBS-URL: https://build.opensuse.org/request/show/718767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=19
2019-07-26 09:18:21 +00:00
89600b7817 Accepting request 704438 from home:mcalabkova:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/704438
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=17
2019-05-21 11:50:33 +00:00
Tomáš Chvátal
8fc8239b1e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=15 2019-03-28 14:26:29 +00:00
Tomáš Chvátal
46d1068553 - 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)

- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=14
2019-03-28 14:23:52 +00:00
Todd R
1547de45e6 Accepting request 671932 from home:alarrosa:branches:devel:languages:python
- 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).

OBS-URL: https://build.opensuse.org/request/show/671932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=12
2019-02-05 18:17:07 +00:00
Tomáš Chvátal
708111bd83 - Fix runtime dependencies and raise numpy requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=10
2018-07-18 11:48:58 +00:00
Tomáš Chvátal
7e80dc91c4 Accepting request 622852 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/622852
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=8
2018-07-15 11:40:48 +00:00
Dominique Leuenberger
402366b48b Accepting request 585480 from devel:languages:python
- Use %license macro for license.
- update to version 0.5.2:
  * Fixed a regression: AttributeError when loading pickles that hold
    a reference to a dynamically defined class from the __main__
    module. (issue #131).
  * Make it possible to pickle classes and functions defined in faulty
    modules that raise an exception when trying to look-up their
    attributes by name.
- 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
- Implement singlespec version
- Fix source URL.
- Update to version 0.2.2
  * Support Python 3.6
  * Support Tornado Coroutines
  * Support builtin methods
- Update to version 0.2.1
  * Packaging fix
- Update to version 0.2.0
  * Support `method_descriptor`
  * Support unbound instancemethods
  * Fixes for PyPy3
  * More support for pickling dynamic imports
- Initial version

OBS-URL: https://build.opensuse.org/request/show/585480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=1
2018-04-01 15:26:25 +00:00
Tomáš Chvátal
ece41d4c98 Accepting request 585416 from home:sebix:branches:devel:languages:python
%license fix. Automatic submission.

OBS-URL: https://build.opensuse.org/request/show/585416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=6
2018-03-11 16:26:22 +00:00
a79e02b358 Accepting request 544484 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/544484
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=5
2017-11-22 22:37:15 +00:00
Todd R
efdf8a6dcf 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
2017-11-10 16:23:50 +00:00
Todd R
6df99f74ef Accepting request 494507 from home:TheBlackCat:branches:devel:languages:python
- Implement singlespec version
- Fix source URL.
- Update to version 0.2.2

OBS-URL: https://build.opensuse.org/request/show/494507
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=3
2017-05-11 03:28:26 +00:00
Todd R
918f5352b8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=2 2016-01-15 14:53:30 +00:00
Todd R
00cb485293 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=1
2016-01-15 14:50:34 +00:00