1
0

32 Commits

Author SHA256 Message Date
Dominique Leuenberger
8c3485bb12 Accepting request 853101 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/853101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=13
2020-12-05 19:35:42 +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
Dominique Leuenberger
375532f728 Accepting request 817136 from devel:languages:python
- 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/request/show/817136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=12
2020-06-28 21:03:56 +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
Dominique Leuenberger
561dfccc76 Accepting request 790248 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/790248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=11
2020-04-04 10:20:34 +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
Dominique Leuenberger
b84e394272 Accepting request 785566 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/785566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=10
2020-03-26 23:25:22 +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
Dominique Leuenberger
a607160020 Accepting request 758142 from devel:languages:python
- Exclude failing tests gh#cloudpipe/cloudpickle#316

OBS-URL: https://build.opensuse.org/request/show/758142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=9
2019-12-23 21:36:54 +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
Dominique Leuenberger
12490b291c Accepting request 733396 from devel:languages:python
- 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/request/show/733396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=8
2019-09-30 13:56:31 +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
Dominique Leuenberger
37af2a65f5 Accepting request 718787 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/718787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=7
2019-07-31 12:15:17 +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
Dominique Leuenberger
f14a87d0ef Accepting request 704439 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/704439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=6
2019-05-25 11:17:55 +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
Dominique Leuenberger
1e1a1a811d Accepting request 689381 from devel:languages:python
- 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/request/show/689381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=5
2019-04-02 07:21:32 +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
Stephan Kulow
083b396738 Accepting request 671952 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/671952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=4
2019-02-06 14:48:18 +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
Dominique Leuenberger
f857384476 Accepting request 623634 from devel:languages:python
- Fix runtime dependencies and raise numpy requirement

OBS-URL: https://build.opensuse.org/request/show/623634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=3
2018-07-18 20:57:19 +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
Dominique Leuenberger
2983f38658 Accepting request 622917 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/622917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=2
2018-07-17 07:41:40 +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