1
0

- 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
This commit is contained in:
Steve Kowalik 2021-12-07 08:06:59 +00:00 committed by Git OBS Bridge
parent f6c2a62ba7
commit 224e5fc9db
3 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 7 08:06:03 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch xfail-pydot-tests.patch:
* From upstream, survive pydot test failures.
-------------------------------------------------------------------
Wed Oct 13 22:37:10 CEST 2021 - Fabrice Bauzac <noon@mykolab.com>

View File

@ -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

21
xfail-pydot-tests.patch Normal file
View File

@ -0,0 +1,21 @@
From 2b032ed3eb33d82729b0f05f04357e89a125bfd1 Mon Sep 17 00:00:00 2001
From: Ross Barnowski <rossbar@berkeley.edu>
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):
"""