[packages/python3-testfixtures] - updated to 10.0.0

qboosh qboosh at pld-linux.org
Sun Feb 15 10:38:20 CET 2026


commit 5d4f3c0ef3758367586553d7a29980e5f3f9511c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 15 10:38:15 2026 +0100

    - updated to 10.0.0

 python3-testfixtures.spec | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/python3-testfixtures.spec b/python3-testfixtures.spec
index fb880b6..f86efc8 100644
--- a/python3-testfixtures.spec
+++ b/python3-testfixtures.spec
@@ -2,26 +2,28 @@
 # Conditional build:
 %bcond_without	doc	# Sphinx documentation
 %bcond_without	tests	# unit tests
+%bcond_without	django	# django tests
 
 Summary:	Collection of helpers and mock objects for unit tests and doc tests
 Summary(pl.UTF-8):	Zbiór funkcji pomocniczych i obiektów atrap do testów jednostkowych i dokumentacji
 Name:		python3-testfixtures
-Version:	8.3.0
+Version:	10.0.0
 Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/testfixtures/
 Source0:	https://files.pythonhosted.org/packages/source/t/testfixtures/testfixtures-%{version}.tar.gz
-# Source0-md5:	2fb494de4ba08d85e7b68f90cb296698
+# Source0-md5:	47d7c2f5026e0b7212d152cb487e6f40
 URL:		https://pypi.org/project/testfixtures/
-BuildRequires:	python3-modules >= 1:3.6
+BuildRequires:	python3-modules >= 1:3.11
 BuildRequires:	python3-setuptools
+BuildRequires:	python3-setuptools_git
 %if %{with tests}
-BuildRequires:	python3-django
-BuildRequires:	python3-pytest >= 3.6
+%{?with_django:BuildRequires:	python3-django}
+BuildRequires:	python3-pytest >= 7.1
 BuildRequires:	python3-pytest-cov
-BuildRequires:	python3-pytest-django
-BuildRequires:	python3-sybil
+%{?with_django:BuildRequires:	python3-pytest-django}
+BuildRequires:	python3-sybil >= 6
 BuildRequires:	python3-twisted
 BuildRequires:	python3-zope.component
 BuildRequires:	python3-zope.interface
@@ -29,9 +31,10 @@ BuildRequires:	python3-zope.interface
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
-BuildRequires:	sphinx-pdg
+BuildRequires:	python3-furo
+BuildRequires:	sphinx-pdg-3
 %endif
-Requires:	python3-modules >= 1:3.6
+Requires:	python3-modules >= 1:3.11
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -62,13 +65,14 @@ Dokumentacja API modułu Pythona testfixtures.
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS=pytest_django.plugin \
-%{__python3} -m pytest testfixtures/tests
+PYTEST_PLUGINS=%{?with_django:pytest_django.plugin} \
+%{__python3} -m pytest testfixtures/tests %{!?with_django:--ignore testfixtures/tests/test_django}
 %endif
 
 %if %{with doc}
 PYTHONPATH=$(pwd) \
-%{__make} -C docs html
+%{__make} -C docs html \
+	SPHINXBUILD=sphinx-build-3
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-testfixtures.git/commitdiff/5d4f3c0ef3758367586553d7a29980e5f3f9511c



More information about the pld-cvs-commit mailing list