forked from pool/python-pytest-doctestplus
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
824c46f6a7 | |||
42dea7e2e9 |
22
add-missing-xfail-version.patch
Normal file
22
add-missing-xfail-version.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From 23eb3de76bc4581dfc8261b07a8a55cc03fea45b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= <bsipocz@gmail.com>
|
||||
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(-)
|
||||
|
||||
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():
|
||||
|
||||
|
||||
@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'),
|
||||
reason='broken by https://github.com/python/cpython/pull/115440')
|
||||
def test_ufunc(testdir):
|
||||
pytest.importorskip('numpy')
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2472a8a2c8cea34d2f65f6499543faeb748eecb59c597852fd98839b47307679
|
||||
size 45896
|
3
pytest_doctestplus-1.3.0.tar.gz
Normal file
3
pytest_doctestplus-1.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:709ad23ea98da9a835ace0a4365c85371c376e000f2860f30de6df3a6f00728a
|
||||
size 46843
|
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 19 10:11:47 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
- Update to 1.3.0:
|
||||
* add tests for ufuncs without docstrings, wrapped or not by @lpsinger in #248
|
||||
* Update skips for broken test by @lpsinger in #249
|
||||
* Fix multiline code in generate/update diff by @seberg in #253
|
||||
* Remove accidental debug print from new tests by @seberg in #254
|
||||
* refactored out runtime dependency on setuptools by @neutrinoceros in #258
|
||||
* adding python3.13 to CI and fix any incompatibilities by @bsipocz in #260
|
||||
* add one more python release to xfail list by @bsipocz in #266
|
||||
* Use hash for Action workflow versions and update if needed by @pllim in #267
|
||||
* Don't assume config exists. by @Carreau in #271
|
||||
- Add add-missing-xfail-version.patch to fix broken test
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 12:59:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -27,12 +27,14 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-doctestplus%{psuffix}
|
||||
Version: 1.2.1
|
||||
Version: 1.3.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
|
||||
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}
|
||||
@@ -41,7 +43,6 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-packaging >= 17.0
|
||||
Requires: python-pytest >= 4.6
|
||||
Requires: python-setuptools >= 30.3.0
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module numpy-devel}
|
||||
@@ -61,7 +62,7 @@ advanced doctest support and enables the testing of various text files, such
|
||||
as reStructuredText (".rst"), markdown (".md"), and TeX (".tex").
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-doctestplus-%{version}
|
||||
%autosetup -p1 -n pytest_doctestplus-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
Reference in New Issue
Block a user