[packages/python3-pytest-subtests] - updated to 0.14.2, fixed tests
qboosh
qboosh at pld-linux.org
Sun Jul 13 18:09:22 CEST 2025
commit 992951450c3748cbbddd279a439d3224d2b36825
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 13 18:10:58 2025 +0200
- updated to 0.14.2, fixed tests
python3-pytest-subtests.spec | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/python3-pytest-subtests.spec b/python3-pytest-subtests.spec
index 4dcf0bd..c6276ea 100644
--- a/python3-pytest-subtests.spec
+++ b/python3-pytest-subtests.spec
@@ -1,29 +1,31 @@
#
# Conditional build:
-%bcond_with tests # unit tests
+%bcond_without tests # unit tests
Summary: unittest subTest() support and subtests fixture
Summary(pl.UTF-8): Obsługa subTest() i wyposażenie subtests dla szkieletu unittest
Name: python3-pytest-subtests
-# note: 0.7+ require pytest 7
-Version: 0.14.1
+Version: 0.14.2
Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/pytest-subtests/
Source0: https://files.pythonhosted.org/packages/source/p/pytest-subtests/pytest_subtests-%{version}.tar.gz
-# Source0-md5: f4dadd94661e81b47fdad3ddedc51038
+# Source0-md5: be5e56f940ef2744bb5f370c9f4b385c
URL: https://pypi.org/project/pytest-subtests/
-BuildRequires: python3-modules >= 1:3.6
BuildRequires: python3-build
BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.9
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm >= 6.2.3
%if %{with tests}
-BuildRequires: python3-pytest >= 6.0
+BuildRequires: python3-attrs >= 19.2.0
+BuildRequires: python3-pytest >= 7.4
BuildRequires: python3-pytest-xdist
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-Requires: python3-modules >= 1:3.6
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.9
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,7 +43,7 @@ Obsługa subTest() i wyposażenie subtests dla szkieletu unittest.
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS=pytest_subtests \
+PYTEST_PLUGINS=pytest_subtests.plugin,xdist.plugin \
PYTHONPATH=$(pwd)/src \
%{__python3} -m pytest tests
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest-subtests.git/commitdiff/992951450c3748cbbddd279a439d3224d2b36825
More information about the pld-cvs-commit
mailing list