From 44d8937148aac1a61f40e59d3271c45f9fe6aa03 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 9 Feb 2021 16:02:26 +0000 Subject: [PATCH] Resolve dependency issues This is totally broken with the pip 20.3 resolver. Attempts to fix the lower-constraints file manually didn't work out, so start specifying only the direct dependencies here, relying on upper-constraints for the given release to restrict everything else. Two dependencies, python-subunit and testrepository, are removed as these are no longer necessary. Another, hacking, is moved to 'tox.ini' since we're not managing this via the u-c system and don't need this here. Change-Id: I4bdc0d422813ecee1566256ec237d34f200406ee Signed-off-by: Stephen Finucane --- lower-constraints.txt | 92 ++++++------------------------------------- test-requirements.txt | 3 -- tox.ini | 2 + 3 files changed, 14 insertions(+), 83 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 145e1055..2aade25c 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -1,90 +1,22 @@ -alabaster==0.7.10 -amqp==2.2.2 -appdirs==1.3.0 -Babel==2.5.3 -cachetools==2.0.1 -cffi==1.14.0 -contextlib2==0.5.5 -coverage==4.0 -debtcollector==1.19.0 -docutils==0.11 -dulwich==0.15.0 -enum-compat==0.0.2 -eventlet==0.20.0 -extras==1.0.0 -fasteners==0.14.1 -fixtures==3.0.0 -flake8==2.2.4 -future==0.16.0 -futurist==1.6.0 -greenlet==0.4.13 -hacking==0.10.2 -imagesize==0.7.1 -iso8601==0.1.12 -Jinja2==2.10 -keystoneauth1==3.4.0 -kombu==4.1.0 -linecache2==1.0.0 -MarkupSafe==1.1.1 -mccabe==0.2.1 -monotonic==1.4 -msgpack-python==0.4.0 -msgpack==0.5.6 +# from requirements.txt + +pbr==2.0.0 netaddr==0.7.18 -netifaces==0.10.6 -openstackdocstheme==2.2.1 -os-client-config==1.28.0 oslo.concurrency==3.20.0 oslo.config==5.1.0 -oslo.context==2.20.0 -oslo.i18n==3.15.3 oslo.log==3.30.0 -oslo.messaging==5.36.0 -oslo.middleware==3.35.0 +oslo.i18n==3.15.3 oslo.privsep==1.23.0 -oslo.serialization==2.25.0 -oslo.service==1.30.0 -oslo.utils==3.36.0 oslo.versionedobjects==1.28.0 +ovsdbapp==0.12.1 +pyroute2==0.5.2;sys_platform!='win32' +stevedore==1.20.0 +debtcollector==1.19.0 + +# from test-requirements.txt + +coverage==4.0 oslotest==1.10.0 ovs==2.9.2 -ovsdbapp==0.12.1 -Paste==2.0.3 -PasteDeploy==1.5.2 -pbr==2.0.0 -pep8==1.5.7 -pika-pool==0.1.3 -pika==0.11.2 -prettytable==0.7.2 -pycparser==2.18 -pyflakes==0.8.1 -Pygments==2.2.0 -pyinotify==0.9.6 -pyparsing==2.2.0 -pyroute2==0.5.2 -python-dateutil==2.7.0 -python-mimeparse==1.6.0 -python-subunit==1.0.0 -pytz==2018.3 -PyYAML==3.12 -reno==3.1.0 -repoze.lru==0.7 -requests==2.14.2 -requestsexceptions==1.2.0 -rfc3986==1.1.0 -Routes==2.4.1 -snowballstemmer==1.2.1 -Sphinx==2.0.0 -sphinxcontrib-websupport==1.0.1 -statsd==3.2.2 stestr==1.0.0 -stevedore==1.20.0 -tenacity==4.9.0 -testrepository==0.0.18 testscenarios==0.4 -testtools==2.2.0 -traceback2==1.4.0 -unittest2==1.1.0 -vine==1.1.4 -WebOb==1.7.4 -wrapt==1.10.11 diff --git a/test-requirements.txt b/test-requirements.txt index 9bc6fd88..b9622104 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,11 +2,8 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking>=3.0.1,<3.1.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 -python-subunit>=1.0.0 # Apache-2.0/BSD oslotest>=1.10.0 # Apache-2.0 ovs>=2.9.2 stestr>=1.0.0 # Apache-2.0 -testrepository>=0.0.18 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD diff --git a/tox.ini b/tox.ini index b38ea0e4..6805b640 100644 --- a/tox.ini +++ b/tox.ini @@ -73,6 +73,8 @@ commands = [testenv:pep8] envdir = {toxworkdir}/shared +deps = + hacking>=3.0.1,<3.1.0 commands = flake8 [flake8]