[packages/python-pytest-fixture-config] - updated tests running; won't build with current python3 setuptools, release 7
qboosh
qboosh at pld-linux.org
Mon Feb 23 05:37:13 CET 2026
commit 7e721c1691d78ceb4f9dba9ef7b85ff1c28efd56
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Feb 23 05:37:13 2026 +0100
- updated tests running; won't build with current python3 setuptools, release 7
python-pytest-fixture-config.spec | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/python-pytest-fixture-config.spec b/python-pytest-fixture-config.spec
index 0331288..ac498ba 100644
--- a/python-pytest-fixture-config.spec
+++ b/python-pytest-fixture-config.spec
@@ -2,13 +2,14 @@
# Conditional build:
%bcond_without tests # unit tests
%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
+%bcond_with python3 # CPython 3.x module (built from python3-pytest-fixture-config.spec)
Summary: Fixture configuration utils for py.test
Summary(pl.UTF-8): Narzędzia do konfiguracji osprzętu dla py.test
Name: python-pytest-fixture-config
+# keep 1.7.x here for python2 support
Version: 1.7.0
-Release: 6
+Release: 7
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/pytest-fixture-config/
@@ -68,11 +69,21 @@ ustawione.
%build
%if %{with python2}
-%py_build %{?with_tests:test}
+%py_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python} -m pytest tests
+%endif
%endif
%if %{with python3}
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pytest-fixture-config.git/commitdiff/7e721c1691d78ceb4f9dba9ef7b85ff1c28efd56
More information about the pld-cvs-commit
mailing list