From e5d35ba65cf1a58efb7893f0733598894752ede5 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Tue, 13 Jul 2021 14:34:36 +0200 Subject: [PATCH] Add lower-constraints job to current development branch The lower-constraints test was removed becuase 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. The long term goal is to keep the lower-constraints file in the stable branches, but remove the test job to avoid issues during backports. Change-Id: I5fff32ec5dd1a045116bcf02349650b1f5e3a196 --- lower-constraints.txt | 57 +++++++++++++++++++++++++++++++++++++++++++ setup.cfg | 2 +- tox.ini | 6 +++++ zuul.d/project.yaml | 1 + 4 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 lower-constraints.txt diff --git a/lower-constraints.txt b/lower-constraints.txt new file mode 100644 index 0000000000..7d79ecf356 --- /dev/null +++ b/lower-constraints.txt @@ -0,0 +1,57 @@ +alembic==1.4.2 +automaton==1.9.0 +bandit==1.1.0 +coverage==4.0 +ddt==1.2.1 +eventlet==0.18.2 +fixtures==3.0.0 +futurist==1.2.0 +ironic-lib==4.6.1 +iso8601==0.1.11 +Jinja2==2.10 +jsonpatch==1.16 +jsonschema==3.2.0 +keystoneauth1==4.2.0 +keystonemiddleware==4.17.0 +openstacksdk==0.48.0 +oslo.concurrency==4.2.0 +oslo.config==6.8.0 +oslo.context==2.22.0 +oslo.db==9.1.0 +oslo.i18n==3.20.0 +oslo.log==4.3.0 +oslo.messaging==5.29.0 +oslo.middleware==3.31.0 +oslo.policy==3.7.0 +oslo.reports==1.18.0 +oslo.rootwrap==5.8.0 +oslo.serialization==2.25.0 +oslo.service==1.24.0 +oslotest==3.2.0 +oslo.upgradecheck==1.3.0 +oslo.utils==4.5.0 +oslo.versionedobjects==1.31.2 +osprofiler==1.5.0 +os-traits==0.4.0 +pbr==3.1.1 +pecan==1.0.0 +psutil==3.2.2 +psycopg2==2.8.5 +pycdlib==1.11.0 +PyMySQL==0.8.0 +pysnmp==4.4.12 +python-cinderclient==3.3.0 +python-glanceclient==2.8.0 +python-swiftclient==3.2.0 +pytz==2013.6 +requests==2.18.0 +rfc3986==1.2.0 +SQLAlchemy==1.2.19 +stestr==2.0.0 +stevedore==1.20.0 +tenacity==6.2.0 +testtools==2.2.0 +tooz==2.7.0 +virtualbmc==1.4.0 +WebOb==1.7.1 +WebTest==2.0.27 diff --git a/setup.cfg b/setup.cfg index 8dc5b4e9ee..1656b920b1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -197,6 +197,6 @@ tag_svn_revision = 0 guru_meditation_reports = oslo.reports>=1.18.0 # Apache-2.0 i18n = - oslo.i18n>=3.15.3 # Apache-2.0 + oslo.i18n>=3.20.0 # Apache-2.0 devstack = virtualbmc>=1.4.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 59d5f71c9e..04497af16e 100644 --- a/tox.ini +++ b/tox.ini @@ -153,3 +153,9 @@ paths = ./ironic/hacking/ usedevelop = False deps = -r{toxinidir}/test-requirements.txt commands = bandit -r ironic -x tests -n5 -ll -c tools/bandit.yml + +[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 23aa568fba..2fcec138c8 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 - openstack-python3-xena-jobs-arm64 - periodic-stable-jobs