From 0d5c8bc2861cac6dcaeae33e09532327aaaed1da Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 4 May 2021 17:23:22 -0600 Subject: [PATCH] Allow use of decorator >= 5.0.7. --- python-networkx.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python-networkx.spec b/python-networkx.spec index e01958f..81b4d79 100644 --- a/python-networkx.spec +++ b/python-networkx.spec @@ -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 - 2.5.1-2 +- Allow use of decorator >= 5.0.7 + * Tue Apr 6 2021 Jerry James - 2.5.1-1 - Verion 2.5.1