From aa323754549332068a7a4f8cd1e6834103c8964b Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Wed, 8 Apr 2020 08:27:58 +0200 Subject: [PATCH] Add lower-contraints job Change-Id: I273e7ae3d82374f087c1b57a2a37886310a08e2f --- lower-constraints.txt | 30 +++++++++++++++++++++++++++ requirements.txt | 47 +++++++++++++++++++++---------------------- test-requirements.txt | 13 ++++++------ tox.ini | 11 +++++++++- zuul.d/project.yaml | 1 + 5 files changed, 70 insertions(+), 32 deletions(-) create mode 100644 lower-constraints.txt diff --git a/lower-constraints.txt b/lower-constraints.txt new file mode 100644 index 000000000..75296a9ab --- /dev/null +++ b/lower-constraints.txt @@ -0,0 +1,30 @@ +# Tobiko framework requirements + +coverage==4.5.0 +docker==4.0.0 +fixtures==3.0.0 +keystoneauth1==3.18.0 +Jinja2==2.10.0 +junitxml==0.7.0 +mock==2.0.0 +netaddr==0.7.18 +neutron-lib==1.25.0 +os-testr==1.0.0 +oslo.config==5.2.0 +oslo.log==3.36.0 +pandas==0.24.2 +paramiko==2.4.0 +pbr==4.0.4 +podman==1.6.0 +python-heatclient==1.5.0 +python-glanceclient==2.16.0 +python-neutronclient==6.7.0 +python-novaclient==9.1.0 +python-octaviaclient==1.9.0 +python-openstackclient==3.12.0 +python-subunit==1.4.0 +six==1.11.0 +sshtunnel==0.1.5 +stestr==3.0.0 +testtools==2.2.0 + diff --git a/requirements.txt b/requirements.txt index 9186c2aa2..4fb3bd63d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,26 +1,25 @@ # Tobiko framework requirements -docker>=4.0 # Apache-2.0 -fixtures>=3.0.0 # Apache-2.0/BSD -keystoneauth1>=3.4.0 # Apache-2.0 -Jinja2>=2.8.0 # BSD -junitxml>=0.7 # MIT -netaddr>=0.7.18 # BSD -neutron-lib>=1.25.0 # Apache-2.0 -oslo.config>=5.2.0 # Apache-2.0 -oslo.log>=3.36.0 # Apache-2.0 -pandas>=0.24.2 # BSD -paramiko>=2.4.0 # LGPLv2.1 -pbr>=4.0.0 # Apache-2.0 -podman>=1.6.0 # Apache-2.0 -python-heatclient>=1.5.0 # Apache-2.0 -python-glanceclient>=2.16.0 # Apache-2.0 -python-neutronclient>=6.7.0 # Apache-2.0 -python-novaclient>=9.1.0 # Apache-2.0 -python-octaviaclient>=1.9.0 # Apache-2.0 -python-openstackclient>=3.0.0 # Apache-2.0 -stestr>=2.0 # Apache-2.0 -six>=1.10.0 # MIT -sshtunnel>=0.1.5 # MIT -testtools>=2.2.0 # MIT -typing>=3.7 # PSFLv2 +docker>=4.0.0 # Apache-2.0 +fixtures>=3.0.0 # Apache-2.0/BSD +keystoneauth1>=3.18.0 # Apache-2.0 +Jinja2>=2.10.0 # BSD +junitxml>=0.7.0 # MIT +netaddr>=0.7.18 # BSD +neutron-lib>=1.25.0 # Apache-2.0 +oslo.config>=5.2.0 # Apache-2.0 +oslo.log>=3.36.0 # Apache-2.0 +pandas>=0.24.2 # BSD +paramiko>=2.4.0 # LGPLv2.1 +pbr>=4.0.4 # Apache-2.0 +podman>=1.6.0 # Apache-2.0 +python-heatclient>=1.5.0 # Apache-2.0 +python-glanceclient>=2.16.0 # Apache-2.0 +python-neutronclient>=6.7.0 # Apache-2.0 +python-novaclient>=9.1.0 # Apache-2.0 +python-octaviaclient>=1.9.0 # Apache-2.0 +python-openstackclient>=3.12.0 # Apache-2.0 +stestr>=2.0.0 # Apache-2.0 +six>=1.11.0 # MIT +sshtunnel>=0.1.5.0 # MIT +testtools>=2.2.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 6a49cc628..53ab2aee5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,9 +1,8 @@ # Unit tests requirements -coverage!=4.4,>=4.0 # Apache-2.0 -junitxml>=0.7 # LGPL-3 -mock>=2.0 # BSD -os-testr>=1.0 # Apache-2.0 -python-subunit>=1.4 ; python_version >= '3.0' # Apache-2.0 -python-subunit<1.4 ; python_version < '3.0' # Apache-2.0 -stestr>=2.0 # Apache-2.0 +coverage>=4.5.0 # Apache-2.0 +junitxml>=0.7.0 # LGPL-3 +mock>=2.0.0 # BSD +os-testr>=1.0.0 # Apache-2.0 +python-subunit>=1.4.0 # Apache-2.0 +stestr>=3.0.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index dc3e53add..8c02ae4e8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] -envlist = bindep,linters,py3 +envlist = bindep,linters,py3,lower-constraints minversion = 3.8.0 @@ -271,3 +271,12 @@ skipdist = true skip_install = true deps = bindep commands = bindep {posargs:test} + + +# --- project requirements ---------------------------------------------------- + +[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 a071f74da..7ebc62810 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -4,6 +4,7 @@ - build-openstack-docs-pti - docs-on-readthedocs - openstack-cover-jobs + - openstack-lower-constraints-jobs - openstack-python3-train-jobs - openstack-python3-ussuri-jobs - publish-to-pypi