From 2e5715ec3403e92cc26c2ce518e2c5c4f61a7fb8 Mon Sep 17 00:00:00 2001 From: Iury Gregory Melo Ferreira Date: Fri, 17 Apr 2020 20:48:18 +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 Change-Id: I22eb2dc7935b529301c3608ac81d6b60998014fb --- lower-constraints.txt | 2 +- tox.ini | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index b04a89565..bfa256786 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -7,7 +7,7 @@ certifi==2018.1.18 cffi==1.11.5 chardet==3.0.4 coverage==4.0 -cryptography==2.1.4 +cryptography==2.2.1 debtcollector==1.19.0 doc8==0.6.0 docutils==0.14 diff --git a/tox.ini b/tox.ini index 3ef55c0e7..2fc920f19 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,6 @@ ignore_basepython_conflict=true [testenv] basepython = python3 usedevelop = True -install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} PYTHONWARNINGS=default::DeprecationWarning