From 6397777ea87c7b974f2a5ca1ef18880d4e839f10 Mon Sep 17 00:00:00 2001 From: Iury Gregory Melo Ferreira Date: Fri, 17 Apr 2020 19:52:08 +0200 Subject: [PATCH] Stop configuring install_command in tox. Currently, we are overriding 'install_command' to use 'pip'. This is considered poor behavior and 'python -m pip' should be used instead: https://snarky.ca/why-you-should-use-python-m-pip/ It turns out that this is the the default value provided by tox: https://tox.readthedocs.io/en/latest/config.html#conf-install_command So we can remove the line and simply use the default value. openstack-discuss thread http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014237.html Bumping in requirements: -alembic to 0.9.6 -keystoneauth1 to 3.18 Bumping libs in in l-c: -alembic to 0.9.6 -keystoneauth1 to 3.18 -pika to 0.10.0 (necessary for installation) Change-Id: I059e841ab891ba0451d0423065e9727c8c77f337 --- lower-constraints.txt | 5 +++-- requirements.txt | 4 ++-- tox.ini | 1 - 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 75b60e8dc3..0da593d563 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -1,4 +1,4 @@ -alembic==0.8.10 +alembic==0.9.6 automaton==1.9.0 Babel==2.3.4 bandit==1.1.0 @@ -16,7 +16,7 @@ iso8601==0.1.11 Jinja2==2.10 jsonpatch==1.16 jsonschema==2.6.0 -keystoneauth1==3.15.0 +keystoneauth1==3.18.0 keystonemiddleware==4.17.0 mock==3.0.0 openstackdocstheme==1.31.2 @@ -43,6 +43,7 @@ oslotest==3.2.0 osprofiler==1.5.0 pbr==2.0.0 pecan==1.0.0 +pika==0.10.0 psutil==3.2.2 psycopg2==2.7.3 Pygments==2.2.0 diff --git a/requirements.txt b/requirements.txt index bdff31be5b..da87b30379 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,14 +3,14 @@ # process, which may cause wedges in the gate later. pbr!=2.1.0,>=2.0.0 # Apache-2.0 SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT -alembic>=0.8.10 # MIT +alembic>=0.9.6 # MIT automaton>=1.9.0 # Apache-2.0 eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT WebOb>=1.7.1 # MIT python-cinderclient!=4.0.0,>=3.3.0 # Apache-2.0 python-neutronclient>=6.7.0 # Apache-2.0 python-glanceclient>=2.8.0 # Apache-2.0 -keystoneauth1>=3.15.0 # Apache-2.0 +keystoneauth1>=3.18.0 # Apache-2.0 ironic-lib>=2.17.1 # Apache-2.0 python-swiftclient>=3.2.0 # Apache-2.0 pytz>=2013.6 # MIT diff --git a/tox.ini b/tox.ini index 62fac742e6..2ce36f9f59 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,6 @@ ignore_basepython_conflict=true [testenv] usedevelop = True -install_command = pip install -U {opts} {packages} basepython = python3 setenv = VIRTUAL_ENV={envdir} PYTHONDONTWRITEBYTECODE = 1