From afe32391002a9cf23bdbb8d0198158f5a6892549 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Dec 14 2018 17:16:14 +0000 Subject: Guard against flask-restful 0.3.6. There appear to be problems with parsing list style arguments. --- diff --git a/requirements.txt b/requirements.txt index f0a9c4b..5c6e48e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ fedmsg[consumers,commands] Flask -Flask-RESTful +Flask-RESTful!=0.3.6 Flask-SQLAlchemy SQLAlchemy gssapi diff --git a/waiverdb.spec b/waiverdb.spec index ede6565..0f79031 100644 --- a/waiverdb.spec +++ b/waiverdb.spec @@ -97,6 +97,10 @@ Primarily, submitting new waiverdbs. %prep %setup -q -n %{name}-%{upstream_version} +# We guard against version flask-restful=0.3.6 in requirements.txt, +# but the version in Fedora is patched to work. +sed -i '/Flask-RESTful/d' requirements.txt + # Replace any staging urls with prod ones sed -i 's/\.stg\.fedoraproject\.org/.fedoraproject.org/g' conf/client.conf.example