commit 72e9bea869f2037546ca0a15c060857c8ed1f3929aaa8aa5880cd12a0f289e04 Author: Dirk Mueller Date: Mon Feb 10 21:56:18 2025 +0000 - update to 4.1.1: * Fix NameError which occurred when importing zodbpickle.fastpickle. * Add final support for Python 3.13. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zodbpickle?expand=0&rev=30 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-zodbpickle.changes b/python-zodbpickle.changes new file mode 100644 index 0000000..1426385 --- /dev/null +++ b/python-zodbpickle.changes @@ -0,0 +1,115 @@ +------------------------------------------------------------------- +Mon Feb 10 21:56:01 UTC 2025 - Dirk Müller + +- update to 4.1.1: + * Fix NameError which occurred when importing + zodbpickle.fastpickle. + * Add final support for Python 3.13. + +------------------------------------------------------------------- +Sat Jun 29 05:34:19 UTC 2024 - Dirk Müller + +- update to 4.0: + * Drop support for Python 3.7. + +------------------------------------------------------------------- +Thu May 2 21:59:55 UTC 2024 - Dirk Müller + +- update to 3.3: + * Build Windows wheels on GHA. + * Add preliminary support for Python 3.13 as of 3.13a5. + * Add preliminary support for Python 3.13 as of 3.13a3. +- use PEP517 build + +------------------------------------------------------------------- +Sat Dec 16 09:03:43 UTC 2023 - Dirk Müller + +- update to 3.1: + * Add support for Python 3.12. + * Fix ``NameError`` in ``.fastpickle`` and ``.slowpickle``. + * Build Linux binary wheels for Python 3.11. + * Add preliminary support for Python 3.12a5. + * Drop support for Python 2.7, 3.5, 3.6. + * Drop support for deprecated ``python setup.py test``. + +------------------------------------------------------------------- +Mon Dec 5 13:46:10 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 2.6 + * Add support for building arm64 wheels on macOS. + +------------------------------------------------------------------- +Wed Nov 9 19:55:40 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 2.5 + * Add support for the final Python 3.11 release. + +------------------------------------------------------------------- +Wed Oct 12 18:28:01 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 2.4.0 + * Add support for Python 3.11 (as of 3.11.0b3). + * Disable unsafe math optimizations in C code. See pull request 73. + +------------------------------------------------------------------- +Fri Sep 16 22:48:53 UTC 2022 - Yogalakshmi Arunachalam + +- version update to 2.3.0 + * Add support for Python 3.11 (as of 3.11.0a7). + +------------------------------------------------------------------- +Wed Jan 26 11:35:31 UTC 2022 - pgajdos@suse.com + +- version update to 2.2.0 + * - Add support for Python 3.10. + +------------------------------------------------------------------- +Fri Sep 24 09:50:50 UTC 2021 - pgajdos@suse.com + +- version update to 2.1.0 + * Add support for Python 3.9. +- use %pyunittest_arch rpm macro + +------------------------------------------------------------------- +Fri Jan 22 05:49:25 UTC 2021 - Steve Kowalik + +- Use python_module macro for BuildRequires on the testsuite module + +------------------------------------------------------------------- +Mon Mar 9 10:35:56 UTC 2020 - pgajdos@suse.com + +- version update to 2.0.0 + - CPython 2: Make ``zodbpickle.binary`` objects smaller and untracked + by the garbage collector. Now they behave more like the native bytes + object. Just like it, and just like on Python 3, they cannot have + arbitrary attributes or be weakly referenced. See `issue 53 + `_. + - Add support for Python 3.8. + - Drop support for Python 3.4. + +------------------------------------------------------------------- +Mon Jun 17 11:10:54 UTC 2019 - Tomáš Chvátal + +- Update to 1.0.4: + * Fix pickle corruption under certain conditions. See pull request 47. + +------------------------------------------------------------------- +Tue Apr 9 08:22:58 UTC 2019 - Marketa Calabkova + +- Update to 1.0.3 + * Add support for Python 3.7. + * Fix a bug: zodbpickle.slowpickle assigned _Pickler to Unpickler. + +------------------------------------------------------------------- +Thu Jul 26 10:22:27 UTC 2018 - tchvatal@suse.com + +- Update to 1.0.1: + * Fix a memory leak in pickle protocol 3 under Python 2. See issue 36. + * Add support for Jython 2.7. + * Add support for Python 3.5 and 3.6. + * Drop support for Python 2.6 and 3.2 and 3.3 + +------------------------------------------------------------------- +Tue Jun 27 16:00:00 UTC 2017 - aloisio@gmx.com + +- Initial package (v. 0.6.0) diff --git a/python-zodbpickle.spec b/python-zodbpickle.spec new file mode 100644 index 0000000..089f132 --- /dev/null +++ b/python-zodbpickle.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-zodbpickle +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-zodbpickle +Version: 4.1.1 +Release: 0 +Summary: Fork of Python 3 pickle module +License: Python-2.0 AND ZPL-2.1 +Group: Development/Libraries/Python +URL: https://pypi.python.org/pypi/zodbpickle +Source: https://files.pythonhosted.org/packages/source/z/zodbpickle/zodbpickle-%{version}.tar.gz +BuildRequires: %{python_module Cython} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module testsuite} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%python_subpackages + +%description +This package presents a uniform pickling interface for ZODB: + * Under Python2, this package forks both Python 2.7’s pickle and + cPickle modules, adding support for the protocol 3 opcodes. + It also provides a new subclass of bytes, zodbpickle.binary, + which Python2 applications can use to pickle binary values such + that they will be unpickled as bytes under Py3k. + * Under Py3k, this package forks the pickle module (and the + supporting C extension) from both Python 3.2 and Python 3.3. + The fork add support for the noload operations used by ZODB. + +%prep +%setup -q -n zodbpickle-%{version} +rm -rv src/zodbpickle.egg-info + +%build +%pyproject_wheel + +%install +%pyproject_install +%{python_expand find %{buildroot}%{$python_sitearch} -name *.c -delete + %fdupes %{buildroot}%{$python_sitearch} +} + +%check +pushd src +mv zodbpickle{,_hide} +%pyunittest_arch -v zodbpickle_hide.tests.test_pickle.test_suite + +%files %{python_files} +%license LICENSE.txt +%doc CHANGES.rst README.rst +%{python_sitearch}/zodbpickle +%{python_sitearch}/zodbpickle-%{version}.dist-info + +%changelog diff --git a/zodbpickle-4.0.tar.gz b/zodbpickle-4.0.tar.gz new file mode 100644 index 0000000..ab2b613 --- /dev/null +++ b/zodbpickle-4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e85bad9560d6092a635bebee78a43b0f1c926a66912be390e88cab66f4dec180 +size 111027 diff --git a/zodbpickle-4.1.1.tar.gz b/zodbpickle-4.1.1.tar.gz new file mode 100644 index 0000000..eac1402 --- /dev/null +++ b/zodbpickle-4.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfc0c915ef1499dd0603970f5c1102c6bd7eb7b6ac46434b29a6d840bf027248 +size 117585