summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Pittau <elfosardo@gmail.com>2021-08-04 11:35:51 +0200
committerRiccardo Pittau <elfosardo@gmail.com>2021-08-04 11:35:51 +0200
commit22b538d61c0beec864f23ad926152f44c884fbd4 (patch)
tree7826291e913bd65e89c76fcb34fc9b83c15d2a1e
parent9b42b08edd85933c3f96444a649b0d80f16ec8d0 (diff)
downloadironic-python-agent-22b538d61c0beec864f23ad926152f44c884fbd4.tar.gz
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: Ic9cef3e56266c6e9de0936b5f113e8b38d705a9b
-rw-r--r--lower-constraints.txt26
-rw-r--r--tox.ini6
-rw-r--r--zuul.d/project.yaml5
3 files changed, 35 insertions, 2 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt
new file mode 100644
index 00000000..6e5fc9bc
--- /dev/null
+++ b/lower-constraints.txt
@@ -0,0 +1,26 @@
+Pint==0.5
+Werkzeug==1.0.1
+bandit==1.1.0
+coverage==4.0
+cryptography==2.3
+dogpile.cache==0.9.2
+eventlet==0.18.2
+importlib_metadata==1.7.0;python_version<'3.8'
+ironic-lib==4.7.1
+netifaces==0.10.4
+openstacksdk==0.49.0
+oslo.concurrency==3.26.0
+oslo.config==5.2.0
+oslo.log==3.36.0
+oslo.serialization==2.18.0
+oslo.service==1.24.0
+oslo.utils==3.33.0
+oslotest==3.2.0
+pbr==2.0.0
+psutil==3.2.2
+pyudev==0.18
+requests==2.14.2
+stestr==1.0.0
+stevedore==1.20.0
+tenacity==6.2.0
+testtools==2.2.0
diff --git a/tox.ini b/tox.ini
index ede439ad..70e0af6b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -137,3 +137,9 @@ commands =
pip install -e {toxinidir}/examples/business-logic
pip install -e {toxinidir}/examples/vendor-device
python -c 'import example_business_logic; import example_device'
+
+[testenv:lower-constraints]
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index ff5161d6..a995a8f3 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -1,9 +1,10 @@
- project:
templates:
- - openstack-python3-xena-jobs
+ - check-requirements
- openstack-cover-jobs
+ - openstack-lower-constraints-master-branch-jobs
+ - openstack-python3-xena-jobs
- publish-openstack-docs-pti
- - check-requirements
- release-notes-jobs-python3
check:
jobs: