Add lower-constraints job to current development branch

The lower-constraints test was removed because of an issue where pip
could not correctly determine the required packages versions to install,
ending in an almost infinite loop that would end up in timeout, failure,
and general mayhem.
Recently the issue has been fixed and, if properly configured, the
lower-constraints test can provide good indication of which minimum
versions are required to support the current code.
This patch adds the test back to the current development branch, and it
runs only on master.
The lower-constraints file will stay in the future stable branches.

Adjust min versions in requirements.txt accordingly.

Change-Id: I3678c29fb090244f5e00208e4dcc8f1ad8a54ff5
This commit is contained in:
Riccardo Pittau 2021-08-12 11:58:35 +02:00
parent 2d813b3c70
commit 61b46c3401
4 changed files with 33 additions and 1 deletions

25
lower-constraints.txt Normal file
View File

@ -0,0 +1,25 @@
PyYAML==3.13
appdirs==1.3.0
cliff==2.8.0
coverage==4.0
ddt==1.0.1
dogpile.cache==0.8.0
fixtures==3.0.0
jsonschema==3.2.0
keystoneauth1==3.11.0
openstacksdk==0.18.0
osc-lib==2.0.0
oslo.config==6.3.0
oslo.log==3.36.0
oslo.utils==3.33.0
oslotest==3.2.0
pbr==2.0.0
python-cinderclient==7.2.1
python-novaclient==9.0.0
python-openstackclient==3.12.0
requests-mock==1.2.0
requests==2.14.2
stestr==1.0.0
stevedore==1.20.0
tempest==25.0.0
testtools==2.2.0

View File

@ -6,7 +6,7 @@ appdirs>=1.3.0 # MIT License
cliff!=2.9.0,>=2.8.0 # Apache-2.0
dogpile.cache>=0.8.0 # BSD
jsonschema>=3.2.0 # MIT
keystoneauth1>=3.4.0 # Apache-2.0
keystoneauth1>=3.11.0 # Apache-2.0
openstacksdk>=0.18.0 # Apache-2.0
osc-lib>=2.0.0 # Apache-2.0
oslo.utils>=3.33.0 # Apache-2.0

View File

@ -91,3 +91,9 @@ application-import-names = ironicclient
[hacking]
import_exceptions = testtools.matchers, ironicclient.common.i18n
[testenv:lower-constraints]
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt

View File

@ -2,6 +2,7 @@
templates:
- check-requirements
- openstack-cover-jobs
- openstack-lower-constraints-master-branch-jobs
- openstack-python3-xena-jobs
- openstackclient-plugin-jobs
- publish-openstack-docs-pti