From 6c055972fc5c7959cef792dc52fe2df6a3b5f34e895873bc3a21c3c7a1fe3c5f Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 28 Oct 2025 09:17:59 +0000 Subject: [PATCH] - Update to 1.5.0: * Adding the usage of the doctest_encoding ini option when overwriting files with the doctest-plus-generate-diff option. [#284] - Drop upstream patch add-missing-xfail-version.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-doctestplus?expand=0&rev=43 --- add-missing-xfail-version.patch | 22 ---------------------- pytest_doctestplus-1.4.0.tar.gz | 3 --- pytest_doctestplus-1.5.0.tar.gz | 3 +++ python-pytest-doctestplus.changes | 9 +++++++++ python-pytest-doctestplus.spec | 4 +--- 5 files changed, 13 insertions(+), 28 deletions(-) delete mode 100644 add-missing-xfail-version.patch delete mode 100644 pytest_doctestplus-1.4.0.tar.gz create mode 100644 pytest_doctestplus-1.5.0.tar.gz diff --git a/add-missing-xfail-version.patch b/add-missing-xfail-version.patch deleted file mode 100644 index 9592040..0000000 --- a/add-missing-xfail-version.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 23eb3de76bc4581dfc8261b07a8a55cc03fea45b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= -Date: Mon, 16 Dec 2024 19:05:07 -0800 -Subject: [PATCH] TST: one more version to xfail - ---- - tests/test_doctestplus.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -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.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') diff --git a/pytest_doctestplus-1.4.0.tar.gz b/pytest_doctestplus-1.4.0.tar.gz deleted file mode 100644 index 33d9d90..0000000 --- a/pytest_doctestplus-1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df83832b1d11288572df2ee4c7cccdb421d812b8038a658bb514c9c62bdbd626 -size 47566 diff --git a/pytest_doctestplus-1.5.0.tar.gz b/pytest_doctestplus-1.5.0.tar.gz new file mode 100644 index 0000000..bcfede6 --- /dev/null +++ b/pytest_doctestplus-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1bfb9ecf0a5a61452abd4c2a5218450d0ddd125a2c241da9e4f7f8ccf6b779fe +size 49184 diff --git a/python-pytest-doctestplus.changes b/python-pytest-doctestplus.changes index f908ce5..28bdb5a 100644 --- a/python-pytest-doctestplus.changes +++ b/python-pytest-doctestplus.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Oct 28 09:11:39 UTC 2025 - Daniel Garcia + +- Update to 1.5.0: + * Adding the usage of the doctest_encoding ini option when + overwriting files with the doctest-plus-generate-diff option. + [#284] +- Drop upstream patch add-missing-xfail-version.patch + ------------------------------------------------------------------- Wed Sep 10 12:39:28 UTC 2025 - Daniel Garcia diff --git a/python-pytest-doctestplus.spec b/python-pytest-doctestplus.spec index 20f97a0..8bbdfb5 100644 --- a/python-pytest-doctestplus.spec +++ b/python-pytest-doctestplus.spec @@ -27,14 +27,12 @@ %{?sle15_python_module_pythons} Name: python-pytest-doctestplus%{psuffix} -Version: 1.4.0 +Version: 1.5.0 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 -# PATCH-FIX-UPSTREAM add-missing-xfail-version.patch (gh#23eb3de) -Patch0: add-missing-xfail-version.patch BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm}