forked from pool/python-ZEO
Accepting request 1160678 from home:mcalabkova:branches:devel:languages:python
- Run tests the supported way as per https://github.com/zopefoundation/ZEO/issues/240 - Drop no-longer-needed skip-PackUndoLog.patch OBS-URL: https://build.opensuse.org/request/show/1160678 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZEO?expand=0&rev=31
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 12:53:07 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- 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á <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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``.
|
||||
#
|
||||
Reference in New Issue
Block a user