Allow use of decorator >= 5.0.7.

This commit is contained in:
Jerry James 2021-05-04 17:23:22 -06:00
parent ca630d06f2
commit 0d5c8bc286

View File

@ -2,7 +2,7 @@
Name: python-%{srcname}
Version: 2.5.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Creates and Manipulates Graphs and Networks
License: BSD
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"|' \
-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
%py3_build
@ -149,6 +154,9 @@ pytest
%endif
%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
- Verion 2.5.1