- Update to 1.4.0:

* Fixing compatibility with pytest-asyncio. [#278]
  * Adding new directive doctest-requires-all to conditionally skip
    all doctests in narrative documentations based on availability of
    dependencies. [#280]
  * Adding new directive doctest-remote-data-all to conditionally skip
    all doctests in narrative documentations based on availability of
    remote-data. [#281]
  * Versions of Python <3.9 are no longer supported. [#274]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-doctestplus?expand=0&rev=41
This commit is contained in:
2025-09-10 12:48:16 +00:00
committed by Git OBS Bridge
parent ea4ebdc644
commit 7ccaed99ae
5 changed files with 25 additions and 12 deletions

View File

@@ -7,16 +7,16 @@ Subject: [PATCH] TST: one more version to xfail
tests/test_doctestplus.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_doctestplus.py b/tests/test_doctestplus.py
index a88ca7b..fb0ac37 100644
--- a/tests/test_doctestplus.py
+++ b/tests/test_doctestplus.py
@@ -1142,7 +1142,7 @@ def f():
Index: pytest_doctestplus-1.4.0/tests/test_doctestplus.py
===================================================================
--- pytest_doctestplus-1.4.0.orig/tests/test_doctestplus.py
+++ pytest_doctestplus-1.4.0/tests/test_doctestplus.py
@@ -1210,7 +1210,7 @@ def test_main(testdir):
@pytest.mark.xfail(
- python_version() in ('3.11.9', '3.11.10', '3.12.3'),
+ python_version() in ('3.11.9', '3.11.10', '3.11.11', '3.12.3'),
- python_version() in ('3.11.9', '3.11.10', '3.11.11', '3.12.3'),
+ python_version() in ('3.11.9', '3.11.10', '3.11.11', '3.11.13', '3.12.3'),
reason='broken by https://github.com/python/cpython/pull/115440')
def test_ufunc(testdir):
pytest.importorskip('numpy')

View File

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

View File

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Sep 10 12:39:28 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 1.4.0:
* Fixing compatibility with pytest-asyncio. [#278]
* Adding new directive doctest-requires-all to conditionally skip
all doctests in narrative documentations based on availability of
dependencies. [#280]
* Adding new directive doctest-remote-data-all to conditionally skip
all doctests in narrative documentations based on availability of
remote-data. [#281]
* Versions of Python <3.9 are no longer supported. [#274]
-------------------------------------------------------------------
Thu Dec 19 10:11:47 UTC 2024 - Nico Krapp <nico.krapp@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-doctestplus
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-doctestplus%{psuffix}
Version: 1.3.0
Version: 1.4.0
Release: 0
Summary: Pytest plugin with advanced doctest features
License: BSD-3-Clause