From 112a2fc892c61f0006c5def6630e1dec415fda31ae3b68cf4d4d32691e583798 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 13 Feb 2026 13:01:36 +1100 Subject: [PATCH] - Update to 1.7.1: * Fixing bug where __doctest_requires__ with version specifiers (e.g., numpy>=2.0) incorrectly skipped tests even when dependencies were satisfied. * Fixing crashing sphinx builds where multiple directives are used with the first one expecting content. The order of the directives used does not matter after this fix. * Versions of Python <3.10 and pytest<7 are no longer supported. * Fixing directives that should not have any content and therefore fixing previously crashing sphinx builds. Using these directives with a content now results an error. * Ensure that tests skipped with __doctest_skip__ and __doctest_requires__ show up as skipped tests in Pytest's output. --- pytest_doctestplus-1.5.0.tar.gz | 3 --- pytest_doctestplus-1.7.1.tar.gz | 3 +++ python-pytest-doctestplus.changes | 17 +++++++++++++++++ python-pytest-doctestplus.spec | 8 +++----- 4 files changed, 23 insertions(+), 8 deletions(-) delete mode 100644 pytest_doctestplus-1.5.0.tar.gz create mode 100644 pytest_doctestplus-1.7.1.tar.gz diff --git a/pytest_doctestplus-1.5.0.tar.gz b/pytest_doctestplus-1.5.0.tar.gz deleted file mode 100644 index bcfede6..0000000 --- a/pytest_doctestplus-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1bfb9ecf0a5a61452abd4c2a5218450d0ddd125a2c241da9e4f7f8ccf6b779fe -size 49184 diff --git a/pytest_doctestplus-1.7.1.tar.gz b/pytest_doctestplus-1.7.1.tar.gz new file mode 100644 index 0000000..34a15f7 --- /dev/null +++ b/pytest_doctestplus-1.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64ae16dbda66c3db775ef596828d8d7adda09c6f34dd85099c119e4ff8cfe5b6 +size 50286 diff --git a/python-pytest-doctestplus.changes b/python-pytest-doctestplus.changes index 28bdb5a..7d11228 100644 --- a/python-pytest-doctestplus.changes +++ b/python-pytest-doctestplus.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Feb 13 02:00:58 UTC 2026 - Steve Kowalik + +- Update to 1.7.1: + * Fixing bug where __doctest_requires__ with version specifiers (e.g., + numpy>=2.0) incorrectly skipped tests even when dependencies were + satisfied. + * Fixing crashing sphinx builds where multiple directives are used with the + first one expecting content. The order of the directives used does not + matter after this fix. + * Versions of Python <3.10 and pytest<7 are no longer supported. + * Fixing directives that should not have any content and therefore fixing + previously crashing sphinx builds. Using these directives with a content + now results an error. + * Ensure that tests skipped with __doctest_skip__ and __doctest_requires__ + show up as skipped tests in Pytest's output. + ------------------------------------------------------------------- Tue Oct 28 09:11:39 UTC 2025 - Daniel Garcia diff --git a/python-pytest-doctestplus.spec b/python-pytest-doctestplus.spec index 8bbdfb5..e1f31a9 100644 --- a/python-pytest-doctestplus.spec +++ b/python-pytest-doctestplus.spec @@ -27,25 +27,23 @@ %{?sle15_python_module_pythons} Name: python-pytest-doctestplus%{psuffix} -Version: 1.5.0 +Version: 1.7.1 Release: 0 Summary: Pytest plugin with advanced doctest features License: BSD-3-Clause URL: https://github.com/scientific-python/pytest-doctestplus Source: https://files.pythonhosted.org/packages/source/p/pytest-doctestplus/pytest_doctestplus-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-packaging >= 17.0 -Requires: python-pytest >= 4.6 +Requires: python-pytest >= 7 %if %{with test} BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module numpy-devel} -BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pip >= 19.3.1} BuildRequires: %{python_module pytest-doctestplus = %{version}} BuildRequires: %{python_module pytest-remotedata >= 0.3.2} BuildRequires: git-core