Hello community,
here is the log from the commit of package python-pytest-filter-subpackage for
openSUSE:Factory checked in at 2020-12-09 22:22:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-filter-subpackage (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-filter-subpackage.new.2328
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-filter-subpackage"
Wed Dec 9 22:22:08 2020 rev:2 rq:854250 version:0.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-filter-subpackage/python-pytest-filter-subpackage.changes
2020-03-19 19:51:36.880229667 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-filter-subpackage.new.2328/python-pytest-filter-subpackage.changes
2020-12-09 22:22:09.779720510 +0100
@@ -1,0 +2,6 @@
+Wed Dec 9 00:01:05 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Fix test failure gh#astropy/pytest-filter-subpackage#3
+ fix-doctestplus-count.patch
+
+-------------------------------------------------------------------
New:
----
fix-doctestplus-count.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-filter-subpackage.spec ++++++
--- /var/tmp/diff_new_pack.CzbFgn/_old 2020-12-09 22:22:10.323721062 +0100
+++ /var/tmp/diff_new_pack.CzbFgn/_new 2020-12-09 22:22:10.327721066 +0100
@@ -25,9 +25,13 @@
License: BSD-3-Clause
URL: https://github.com/astropy/pytest-filter-subpackage
Source:
https://files.pythonhosted.org/packages/source/p/pytest-filter-subpackage/pytest-filter-subpackage-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM -- fix gh#astropy/pytest-filter-subpackage#3
+Patch0: fix-doctestplus-count.patch
BuildRequires: %{python_module pytest >= 3.0}
-BuildRequires: %{python_module pytest-doctestplus}
+# Patch0 is for the change from doctestplus 0.5 to 0.6
+BuildRequires: %{python_module pytest-doctestplus >= 0.6}
BuildRequires: %{python_module setuptools >= 30.3}
+BuildRequires: %{python_module setuptools_scm}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 3.0
@@ -39,7 +43,7 @@
shortcut to testing all code and documentation for a given sub-package.
%prep
-%setup -q -n pytest-filter-subpackage-%{version}
+%autosetup -p1 -n pytest-filter-subpackage-%{version}
%build
%python_build
@@ -54,6 +58,7 @@
%files %{python_files}
%doc README.rst CHANGES.rst
%license LICENSE.rst
-%{python_sitelib}/*
+%{python_sitelib}/pytest_filter_subpackage
+%{python_sitelib}/pytest_filter_subpackage-%{version}*-info
%changelog
++++++ fix-doctestplus-count.patch ++++++
Index: pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py
===================================================================
--- pytest-filter-subpackage-0.1.1.orig/tests/test_filter_subpackage.py
+++ pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py
@@ -14,7 +14,7 @@ def test_with_rst(testdir, testpackage):
doctest_plus = enabled
""")
reprec = testdir.inline_run('--doctest-rst')
- reprec.assertoutcome(passed=8, failed=3)
+ reprec.assertoutcome(passed=7, failed=3)
def test_flag_single_subpackage(testdir, testpackage):
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]