[packages/python3-pytest] - updated to 9.1.1; dropped dead python2/python3 bconds

arekm arekm at pld-linux.org
Wed Jul 22 08:39:48 CEST 2026


commit 3777c7d2891610a9e40e66a11faf9cbb9edeed64
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jul 22 08:27:28 2026 +0200

    - updated to 9.1.1; dropped dead python2/python3 bconds

 pytest-dev-bug-12624.patch | 32 ++++++++------------------------
 python3-pytest.spec        | 21 ++++++++++-----------
 2 files changed, 18 insertions(+), 35 deletions(-)
---
diff --git a/python3-pytest.spec b/python3-pytest.spec
index 6152aff..d4206b9 100644
--- a/python3-pytest.spec
+++ b/python3-pytest.spec
@@ -1,29 +1,27 @@
 #
 # Conditional build:
 %bcond_without	doc	# HTML documentation build
-%bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
 %bcond_without	tests	# unit tests
 
 %define		module	pytest
 Summary:	Simple and popular testing tool for Python
 Summary(pl.UTF-8):	Proste i popularne narzędzie testujące dla Pythona
 Name:		python3-%{module}
-Version:	8.4.2
+Version:	9.1.1
 Release:	1
 License:	MIT
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.org/simple/pytest/
 Source0:	https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
-# Source0-md5:	a1b847e1f079dfc5d26a63bc02f47fb7
+# Source0-md5:	31f635913c0b1bce9438be52d44398a8
 Patch0:		pytest-dev-bug-12624.patch
 URL:		https://pytest.org/
 BuildRequires:	python3-build
-BuildRequires:	python3-devel >= 1:3.9
+BuildRequires:	python3-devel >= 1:3.10
 BuildRequires:	python3-installer
-BuildRequires:	python3-modules >= 1:3.8
+BuildRequires:	python3-modules >= 1:3.10
 BuildRequires:	python3-py >= 1.8.2
-BuildRequires:	python3-setuptools >= 1:61
+BuildRequires:	python3-setuptools >= 1:77
 BuildRequires:	python3-setuptools_scm >= 6.2.3
 %if "%{_ver_lt %{py3_ver} 3.11}" == "1"
 BuildRequires:	python3-tomli >= 1
@@ -36,8 +34,8 @@ BuildRequires:	python3-attrs >= 19.2.0
 BuildRequires:	python3-exceptiongroup >= 1.0.0
 %endif
 BuildRequires:	python3-hypothesis >= 3.56
-BuildRequires:	python3-iniconfig >= 1
-BuildRequires:	python3-packaging >= 20
+BuildRequires:	python3-iniconfig >= 1.0.1
+BuildRequires:	python3-packaging >= 22
 BuildRequires:	python3-pluggy >= 1.5.0
 BuildRequires:	python3-pluggy < 2.0
 BuildRequires:	python3-pygments >= 2.7.2
@@ -53,9 +51,10 @@ BuildRequires:	sed >= 4.0
 %if %{with doc}
 BuildRequires:	inkscape
 BuildRequires:	python3-furo
-BuildRequires:	python3-packaging >= 20
+BuildRequires:	python3-packaging >= 22
 BuildRequires:	python3-pluggy >= 1.5.0
 BuildRequires:	python3-pygments_pytest >= 2.3.0
+BuildRequires:	python3-sphinx_inline_tabs
 BuildRequires:	python3-sphinx_issues
 BuildRequires:	python3-sphinx_removed_in >= 0.2.3
 BuildRequires:	python3-sphinxcontrib-svg2pdfconverter
@@ -63,7 +62,7 @@ BuildRequires:	python3-sphinxcontrib-towncrier
 BuildRequires:	python3-sphinxcontrib-trio
 BuildRequires:	sphinx-pdg-3 >= 7
 %endif
-Requires:	python3-modules >= 1:3.9
+Requires:	python3-modules >= 1:3.10
 # no egg dependency (pytest comes with minimal replacement, we don't package it)
 Requires:	python3-py >= 1.11.0
 Obsoletes:	python3-pytest-cache < 1.1
diff --git a/pytest-dev-bug-12624.patch b/pytest-dev-bug-12624.patch
index a2f1fb5..8b2fe4d 100644
--- a/pytest-dev-bug-12624.patch
+++ b/pytest-dev-bug-12624.patch
@@ -10,18 +10,9 @@ points.
 
 Closes #12624.
 ---
- AUTHORS                         | 1 +
- changelog/12624.improvement.rst | 5 +++++
- doc/en/reference/reference.rst  | 4 +++-
- src/_pytest/config/__init__.py  | 2 +-
- 4 files changed, 10 insertions(+), 2 deletions(-)
- create mode 100644 changelog/12624.improvement.rst
-
-diff --git a/AUTHORS b/AUTHORS
-index 5c046ff5988..c6331cd022c 100644
 --- a/AUTHORS
 +++ b/AUTHORS
-@@ -275,6 +275,7 @@ Mandeep Bhutani
+@@ -293,6 +293,7 @@
  Manuel Krebber
  Marc Mueller
  Marc Schlaich
@@ -29,9 +20,6 @@ index 5c046ff5988..c6331cd022c 100644
  Marcelo Duarte Trevisani
  Marcin Augustynów
  Marcin Bachry
-diff --git a/changelog/12624.improvement.rst b/changelog/12624.improvement.rst
-new file mode 100644
-index 00000000000..7ca60d428dd
 --- /dev/null
 +++ b/changelog/12624.improvement.rst
 @@ -0,0 +1,5 @@
@@ -40,26 +28,22 @@ index 00000000000..7ca60d428dd
 +:ref:`entry points <pip-installable plugins>` names additionally to the
 +importable definitions. Prior to this release, these identifiers used to only
 +work with the ``-p`` CLI option -- by :user:`mtelka` and :user:`webknjaz`.
-diff --git a/doc/en/reference/reference.rst b/doc/en/reference/reference.rst
-index 26572174ad4..74d28aba431 100644
 --- a/doc/en/reference/reference.rst
 +++ b/doc/en/reference/reference.rst
-@@ -1166,7 +1166,9 @@ specified plugins will be loaded.
+@@ -1223,7 +1223,9 @@
  
  .. envvar:: PYTEST_PLUGINS
  
--Contains comma-separated list of modules that should be loaded as plugins:
-+Contains comma-separated list of :term:`importable modules <Module>`
-+or :ref:`entry point names <pip-installable plugins>` that should be
-+loaded as plugins:
+-   Contains comma-separated list of modules that should be loaded as plugins:
++   Contains comma-separated list of importable modules or
++   :ref:`entry point names <pip-installable plugins>` that should be
++   loaded as plugins:
  
- .. code-block:: bash
+    .. code-block:: bash
  
-diff --git a/src/_pytest/config/__init__.py b/src/_pytest/config/__init__.py
-index 6160f780b1b..8478b43e668 100644
 --- a/src/_pytest/config/__init__.py
 +++ b/src/_pytest/config/__init__.py
-@@ -826,7 +826,7 @@ def _import_plugin_specs(
+@@ -882,7 +882,7 @@
      ) -> None:
          plugins = _get_plugin_specs_as_list(spec)
          for import_spec in plugins:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest.git/commitdiff/3777c7d2891610a9e40e66a11faf9cbb9edeed64



More information about the pld-cvs-commit mailing list