Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-persistent for openSUSE:Factory checked in at 2021-09-11 22:24:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-persistent (Old) and /work/SRC/openSUSE:Factory/.python-persistent.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-persistent" Sat Sep 11 22:24:25 2021 rev:12 rq:917740 version:4.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-persistent/python-persistent.changes 2020-03-27 00:30:01.364400420 +0100 +++ /work/SRC/openSUSE:Factory/.python-persistent.new.1899/python-persistent.changes 2021-09-11 22:24:50.883405390 +0200 @@ -1,0 +2,33 @@ +Thu Sep 2 12:04:25 UTC 2021 - pgaj...@suse.com + +- version update to 4.7.0 + 4.7.0 (2021-04-13) + ================== + - Add support for Python 3.9. + - Move from Travis CI to Github Actions. + - Supply manylinux wheels for aarch64 (ARM). + - Fix the pure-Python implementation to activate a ghost object + when setting its ``__class__`` and ``__dict__``. This matches the + behaviour of the C implementation. See `issue 155 + <https://github.com/zopefoundation/persistent/issues/155>`_. + - Fix the CFFI cache implementation (used on CPython when + ``PURE_PYTHON=1``) to not print unraisable ``AttributeErrors`` from + ``_WeakValueDictionary`` during garbage collection. See `issue 150 + <https://github.com/zopefoundation/persistent/issues/150>`_. + - Make the pure-Python implementation of the cache run a garbage + collection (``gc.collect()``) on ``full_sweep``, ``incrgc`` and + ``minimize`` *if* it detects that an object that was weakly + referenced has been ejected. This solves issues on PyPy with ZODB raising + ``ConnectionStateError`` when there are persistent + ``zope.interface`` utilities/adapters registered. This partly + reverts a change from release 4.2.3. + 4.6.4 (2020-03-26) + ================== + - Fix an overly specific test failure using zope.interface 5. See + `issue 144 <https://github.com/zopefoundation/persistent/issues/144>`_. + - Fix two reference leaks that could theoretically occur as the result + of obscure errors. See `issue 143 <https://github.com/zopefoundation/persistent/issues/143>` +- %check: use %pyunittest rpm macro + - removed upstreamed tests.patch + +------------------------------------------------------------------- Old: ---- persistent-4.6.3.tar.gz tests.patch New: ---- persistent-4.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-persistent.spec ++++++ --- /var/tmp/diff_new_pack.4i9stu/_old 2021-09-11 22:24:51.335405835 +0200 +++ /var/tmp/diff_new_pack.4i9stu/_new 2021-09-11 22:24:51.339405839 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-persistent # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,14 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-persistent -Version: 4.6.3 +Version: 4.7.0 Release: 0 Summary: Translucent persistent objects License: ZPL-2.1 URL: https://github.com/zopefoundation/persistent Source: https://files.pythonhosted.org/packages/source/p/persistent/persistent-%{version}.tar.gz -# https://github.com/zopefoundation/persistent/issues/144 -Patch0: tests.patch BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} BuildRequires: %{python_module manuel} @@ -54,7 +52,6 @@ %prep %setup -q -n persistent-%{version} -%patch0 -p1 rm -rf persistent.egg-info %build @@ -68,8 +65,11 @@ } %check -find . -name \*.pyc -delete -%python_exec setup.py test -v +old=persistent +new=persistent_hide +mv $old $new +sed -i "s:<$old.test:<$new.test:" persistent_hide/tests/test_persistence.py +%pyunittest_arch discover -v %files %{python_files} %license LICENSE.txt ++++++ persistent-4.6.3.tar.gz -> persistent-4.7.0.tar.gz ++++++ ++++ 2394 lines of diff (skipped)