summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Pittau <elfosardo@gmail.com>2021-08-12 11:58:35 +0200
committerRiccardo Pittau <elfosardo@gmail.com>2021-08-12 11:58:35 +0200
commit61b46c3401fc3382b9d0daaee4f84dac70d50bab (patch)
tree46ecc426addf5c71e077524daa2cb582f9c77e67
parent2d813b3c70f425d7d1abf53d2379a6ad3b602dda (diff)
downloadpython-ironicclient-61b46c3401fc3382b9d0daaee4f84dac70d50bab.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. Adjust min versions in requirements.txt accordingly. Change-Id: I3678c29fb090244f5e00208e4dcc8f1ad8a54ff5
-rw-r--r--lower-constraints.txt25
-rw-r--r--requirements.txt2
-rw-r--r--tox.ini6
-rw-r--r--zuul.d/project.yaml1
4 files changed, 33 insertions, 1 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt
new file mode 100644
index 0000000..44e5361
--- /dev/null
+++ b/lower-constraints.txt
@@ -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 \ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
index 3106792..33aae56 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -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
diff --git a/tox.ini b/tox.ini
index 7c8ba32..e75a412 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index bf5446a..4f67f43 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -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