From 224e5fc9db12c805b3df246933d5318bc4f2aeb80de4ecc9574c0fbe4ba87268 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 7 Dec 2021 08:06:59 +0000 Subject: [PATCH] - Add patch xfail-pydot-tests.patch: * From upstream, survive pydot test failures. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-networkx?expand=0&rev=45 --- python-networkx.changes | 6 ++++++ python-networkx.spec | 2 ++ xfail-pydot-tests.patch | 21 +++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 xfail-pydot-tests.patch diff --git a/python-networkx.changes b/python-networkx.changes index fd073d7..5e056ea 100644 --- a/python-networkx.changes +++ b/python-networkx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 7 08:06:03 UTC 2021 - Steve Kowalik + +- Add patch xfail-pydot-tests.patch: + * From upstream, survive pydot test failures. + ------------------------------------------------------------------- Wed Oct 13 22:37:10 CEST 2021 - Fabrice Bauzac diff --git a/python-networkx.spec b/python-networkx.spec index a2c2cf1..28b58ef 100644 --- a/python-networkx.spec +++ b/python-networkx.spec @@ -26,6 +26,8 @@ Summary: Python package for the study of complex networks License: BSD-3-Clause URL: https://networkx.github.io/ Source: https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.tar.gz +# gh#networkx/networkx#commit/2b032ed3eb33d82729b0f05f04357e89a125bfd1 +Patch0: xfail-pydot-tests.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros diff --git a/xfail-pydot-tests.patch b/xfail-pydot-tests.patch new file mode 100644 index 0000000..c0fd847 --- /dev/null +++ b/xfail-pydot-tests.patch @@ -0,0 +1,21 @@ +From 2b032ed3eb33d82729b0f05f04357e89a125bfd1 Mon Sep 17 00:00:00 2001 +From: Ross Barnowski +Date: Thu, 18 Nov 2021 11:25:01 -0800 +Subject: [PATCH] xfail pydot tests. (#5187) + +--- + networkx/drawing/tests/test_pydot.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/networkx/drawing/tests/test_pydot.py b/networkx/drawing/tests/test_pydot.py +index ba1e973374..e1433ff582 100644 +--- a/networkx/drawing/tests/test_pydot.py ++++ b/networkx/drawing/tests/test_pydot.py +@@ -10,6 +10,7 @@ + pydot = pytest.importorskip("pydot") + + ++@pytest.mark.xfail + class TestPydot: + def pydot_checks(self, G, prog): + """