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.

Change-Id: I53c027b72d560ce5f4f38368ee75d464d333835b
This commit is contained in:
Riccardo Pittau 2021-08-09 11:41:04 +02:00
parent 3c9b517a07
commit 1492c4eff6
3 changed files with 19 additions and 3 deletions

View File

@ -78,10 +78,11 @@
- project:
templates:
- check-requirements
- openstack-python3-xena-jobs
- release-notes-jobs-python3
- publish-openstack-docs-pti
- openstack-cover-jobs
- openstack-lower-constraints-master-branch-jobs
- openstack-python3-xena-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- ironic-prometheus-exporter-redfish

10
lower-constraints.txt Normal file
View File

@ -0,0 +1,10 @@
Flask==1.0.0
cliff==3.3.0
coverage==4.0
dogpile.cache==0.9.2
oslo.messaging==9.4.0
oslotest==3.2.0
pbr==3.1.1
prometheus_client==0.6.0
stestr==2.0.0
stevedore==1.20.0

View File

@ -76,3 +76,8 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
import-order-style = pep8
show-source = True
[testenv:lower-constraints]
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt