Zuul and tox fixes

Zuul: Drop lower-constraints job
The job is not supported anymore, and failing
with errors related to SSL symbols.

Tox: Make pass_env compatible with tox4

Change-Id: I2c4e321afe8b5b6bf2e6a03181cd182be06c4f44
This commit is contained in:
Salvatore Orlando 2023-01-03 01:55:42 -08:00
parent 7de8d09fd3
commit 31b1fe29f0
3 changed files with 9 additions and 29 deletions

View File

@ -1,12 +1,10 @@
- project:
templates:
- openstack-lower-constraints-jobs
- openstack-cover-jobs
check:
jobs:
- openstack-tox-pep8
- openstack-tox-py38
- openstack-tox-lower-constraints
gate:
jobs:
- openstack-tox-pep8

View File

@ -1,26 +0,0 @@
bandit==1.1.0
coverage==4.0
decorator==4.4.1
eventlet==0.24.1
fixtures==3.0.0
flake8-import-order==0.18.1
hacking>=3.0.1 # Apache-2.0
netaddr==0.7.18
openstackdocstheme==1.18.1
oslo.i18n==3.20.0
oslo.log==4.6.0
oslo.serialization==2.28.1
oslo.service==1.31.0
oslo.utils==4.4.0
oslotest==3.2.0
pbr==4.0.0
pyOpenSSL==20.0.0
python-subunit==1.0.0
requests-mock==1.2.0
sphinx==2.0.0
sphinx_feature_classification==1.0.0
stestr==1.0.0
tenacity==6.0.0
testresources==2.0.0
testtools==2.2.0
testscenarios==0.4

10
tox.ini
View File

@ -8,7 +8,15 @@ install_command = pip install {opts} {packages}
basepython = python3
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
passenv = TRACE_FAILONLY GENERATE_HASHES http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
passenv =
TRACE_FAILONLY
GENERATE_HASHES
http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY
no_proxy
NO_PROXY
usedevelop = True
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/requirements.txt