- 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.
This commit was merged in pull request #1.
This commit is contained in:
2026-02-13 13:01:36 +11:00
parent 81af445ea2
commit 112a2fc892
4 changed files with 23 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1bfb9ecf0a5a61452abd4c2a5218450d0ddd125a2c241da9e4f7f8ccf6b779fe
size 49184

BIN
pytest_doctestplus-1.7.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Feb 13 02:00:58 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <daniel.garcia@suse.com>

View File

@@ -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