update requirements to support older releases
while python 2.7 support is nolonger required, as this is a tempest plugin its possible desireable to be able to run it on older releases. This change caps the version of sshtunnel used on python 2.7 to avoid a depency on cryptography 2.6 which is not avaliable on rhel 7 for downstream testing. In the future we might want to consider if we drop support for python 2.7 on the master branch and have a seperate branch for 2.7 suport. this change also removes py35 form the default tox envs and update the tox config to skip missing interpreters and ignore base python version conflict to allow pyXX envs to work correctly. Change-Id: I2726619df5752cd8478918346280244a8828c56c
This commit is contained in:
parent
cad09c2223
commit
9395f5d9ea
@ -63,7 +63,6 @@
|
|||||||
name: x/whitebox-tempest-plugin
|
name: x/whitebox-tempest-plugin
|
||||||
templates:
|
templates:
|
||||||
- openstack-python-jobs
|
- openstack-python-jobs
|
||||||
- openstack-python35-jobs
|
|
||||||
- openstack-python36-jobs
|
- openstack-python36-jobs
|
||||||
- openstack-python37-jobs
|
- openstack-python37-jobs
|
||||||
check:
|
check:
|
||||||
|
@ -4,5 +4,6 @@
|
|||||||
tempest
|
tempest
|
||||||
#crudini>=0.9.3
|
#crudini>=0.9.3
|
||||||
oslo.log
|
oslo.log
|
||||||
sshtunnel
|
sshtunnel<=0.1.3;python_version=='2.7' # MIT
|
||||||
|
sshtunnel;python_version>='3.6' # MIT
|
||||||
pymysql
|
pymysql
|
||||||
|
7
tox.ini
7
tox.ini
@ -1,7 +1,12 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 2.3.1
|
minversion = 2.3.1
|
||||||
envlist = pep8,py{27,35,36,37}
|
envlist = pep8,py{27,36,37}
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
skip_missing_interpreters = True
|
||||||
|
# Automatic envs (pyXX) will only use the python version appropriate to that
|
||||||
|
# env and ignore basepython inherited from [testenv] if we set
|
||||||
|
# ignore_basepython_conflict.
|
||||||
|
ignore_basepython_conflict = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv =
|
setenv =
|
||||||
|
Loading…
Reference in New Issue
Block a user