diff --git a/python-ZEO.changes b/python-ZEO.changes index bf1971c..84b171e 100644 --- a/python-ZEO.changes +++ b/python-ZEO.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 22 12:53:07 UTC 2024 - Markéta Machová + +- Run tests the supported way as per https://github.com/zopefoundation/ZEO/issues/240 +- Drop no-longer-needed skip-PackUndoLog.patch + ------------------------------------------------------------------- Thu Mar 21 10:28:25 UTC 2024 - Markéta Machová diff --git a/python-ZEO.spec b/python-ZEO.spec index b651ddb..52d114c 100644 --- a/python-ZEO.spec +++ b/python-ZEO.spec @@ -24,8 +24,6 @@ Summary: Client-Server storage implementation for ZODB License: ZPL-2.1 URL: https://github.com/zopefoundation/ZEO Source: https://files.pythonhosted.org/packages/source/Z/ZEO/ZEO-%{version}.tar.gz -# https://github.com/zopefoundation/ZEO/issues/240 -Patch: skip-PackUndoLog.patch BuildRequires: %{python_module ZConfig} BuildRequires: %{python_module ZODB >= 5.5.1} BuildRequires: %{python_module manuel} @@ -88,9 +86,8 @@ sed -i -e 's:msgpack < 0.6:msgpack:g' setup.py %python_clone -a %{buildroot}%{_bindir}/zeo-nagios %check -pushd src export ZEO4_SERVER=1 -%pyunittest -v ZEO/tests/test*.py +%python_expand PYTHONPATH=src %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src %post %python_install_alternative runzeo zeoctl zeopack zeo-nagios diff --git a/skip-PackUndoLog.patch b/skip-PackUndoLog.patch deleted file mode 100644 index a4cda1b..0000000 --- a/skip-PackUndoLog.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: ZEO-6.0.0/src/ZEO/tests/testZEO.py -=================================================================== ---- ZEO-6.0.0.orig/src/ZEO/tests/testZEO.py -+++ ZEO-6.0.0/src/ZEO/tests/testZEO.py -@@ -391,6 +391,7 @@ class FullGenericTests( - IterationTests.IterationTests): - """Extend GenericTests with tests that MappingStorage can't pass.""" - -+ @unittest.skip - def testPackUndoLog(self): - # Prevent execution of the test inherited from ``ZODB>=6.0``. - #