Expect the football example to fail.

This commit is contained in:
Jerry James 2020-08-23 10:16:20 -06:00
parent 1c6691315e
commit aa4e222643
2 changed files with 13 additions and 1 deletions

10
python-networkx-doc.patch Normal file
View File

@ -0,0 +1,10 @@
--- doc/conf.py.orig 2020-08-22 14:01:28.000000000 -0600
+++ doc/conf.py 2020-08-22 20:32:12.490706081 -0600
@@ -49,6 +49,7 @@ sphinx_gallery_conf = {
# path where to save gallery generated examples
"gallery_dirs": "auto_examples",
"backreferences_dir": "modules/generated",
+ 'expected_failing_examples': ['../examples/graph/plot_football.py']
}
# generate autosummary pages

View File

@ -7,6 +7,8 @@ Summary: Creates and Manipulates Graphs and Networks
License: BSD
URL: http://networkx.github.io/
Source0: https://github.com/networkx/networkx/archive/%{srcname}-%{version}.tar.gz
# The football example requires network access, so expect it to fail.
Patch0: %{name}-doc.patch
BuildArch: noarch
@ -151,7 +153,7 @@ pytest
%changelog
* Sat Aug 22 2020 Jerry James <loganjerry@gmail.com> - 2.5-1
- Version 2.5
- All patches have been upstreamed; drop them all
- All patches except -doc have been upstreamed; drop them
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-6
- Second attempt - Rebuilt for