Allow use of decorator >= 5.0.7.
This commit is contained in:
parent
ca630d06f2
commit
0d5c8bc286
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 2.5.1
|
Version: 2.5.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Creates and Manipulates Graphs and Networks
|
Summary: Creates and Manipulates Graphs and Networks
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://networkx.github.io/
|
URL: http://networkx.github.io/
|
||||||
@ -105,6 +105,11 @@ sed -e 's|\("https://docs\.python\.org/3/": \)None|\1"%{_docdir}/python3-docs/ht
|
|||||||
-e 's|\("https://numpy\.org/doc/stable/": \)None|\1"%{_docdir}/python3-numpy-doc/objects.inv"|' \
|
-e 's|\("https://numpy\.org/doc/stable/": \)None|\1"%{_docdir}/python3-numpy-doc/objects.inv"|' \
|
||||||
-i doc/conf.py
|
-i doc/conf.py
|
||||||
|
|
||||||
|
# Decorator >= 5.0.7 is okay to use. See:
|
||||||
|
# https://github.com/networkx/networkx/issues/4718
|
||||||
|
# https://github.com/networkx/networkx/commit/01d9cfe028e82ce7f2f7fd378ffe6e43ba2fddbb
|
||||||
|
sed -i 's/decorator>=4\.3,<5/decorator>=5.0.7/' requirements/default.txt setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
@ -149,6 +154,9 @@ pytest
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 4 2021 Jerry James <loganjerry@gmail.com> - 2.5.1-2
|
||||||
|
- Allow use of decorator >= 5.0.7
|
||||||
|
|
||||||
* Tue Apr 6 2021 Jerry James <loganjerry@gmail.com> - 2.5.1-1
|
* Tue Apr 6 2021 Jerry James <loganjerry@gmail.com> - 2.5.1-1
|
||||||
- Verion 2.5.1
|
- Verion 2.5.1
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user