1
0

11 Commits

Author SHA256 Message Date
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