Use local py2 upper-constraints
The global upper constraints repo will no longer track py2 packages, meaning upper constraints for the py2.7 runtime will need to be handled locally. This adds an in-repo file for upper constraints enforcement using the last py27 constraints from openstack/requirements to validate functionality. See Swift change I624f914c6155178cbe474f1eae2871e2aef721eb for equivalent update done there. Change-Id: Ic97ec7d3c78414cce227d75d7fcba4fd7a39c3e4 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
9e0b6d962d
commit
6231cd1ea3
72
py2-constraints.txt
Normal file
72
py2-constraints.txt
Normal file
@ -0,0 +1,72 @@
|
||||
voluptuous===0.11.7
|
||||
chardet===3.0.4
|
||||
enum-compat===0.0.3
|
||||
os-api-ref===1.6.2
|
||||
lxml===4.5.0
|
||||
certifi===2020.4.5.1
|
||||
alabaster===0.7.12
|
||||
pbr===5.4.5
|
||||
oslo.i18n===3.25.1
|
||||
fixtures===3.0.0
|
||||
nose===1.3.7
|
||||
nosehtmloutput===0.0.7
|
||||
sphinxcontrib-websupport===1.1.2
|
||||
ipaddress===1.0.23
|
||||
nosexcover===1.0.11
|
||||
debtcollector===1.22.0
|
||||
MarkupSafe===1.1.1
|
||||
netaddr===0.7.19
|
||||
prettytable===0.7.2
|
||||
traceback2===1.4.0
|
||||
eventlet===0.25.2
|
||||
extras===1.0.0
|
||||
reno===2.11.3
|
||||
imagesize===1.2.0
|
||||
urllib3===1.25.8
|
||||
mock===3.0.5
|
||||
PyYAML===5.3.1
|
||||
cryptography===2.9
|
||||
requests-mock===1.7.0
|
||||
unittest2===1.1.0
|
||||
Pygments===2.5.2
|
||||
requests===2.23.0
|
||||
snowballstemmer===2.0.0
|
||||
Jinja2===2.11.1
|
||||
cliff===2.18.0
|
||||
castellan===1.4.0
|
||||
coverage===5.0.4
|
||||
oslo.log===3.45.2
|
||||
docutils===0.15.2
|
||||
boto3===1.12.39
|
||||
stestr===2.6.0
|
||||
oslo.serialization===2.29.2
|
||||
testtools===2.4.0
|
||||
keystonemiddleware===9.0.0
|
||||
iso8601===0.1.12
|
||||
linecache2===1.0.0
|
||||
idna===2.9
|
||||
msgpack===0.6.2
|
||||
Sphinx===1.8.5
|
||||
oslo.config===7.0.0
|
||||
openstackdocstheme===1.31.2
|
||||
stevedore===1.32.0
|
||||
botocore===1.15.39
|
||||
cmd2===0.8.9
|
||||
os-testr===1.1.0
|
||||
xattr===0.9.7
|
||||
six===1.14.0
|
||||
dulwich===0.19.15
|
||||
GitPython===2.1.11
|
||||
wrapt===1.12.1
|
||||
rfc3986===1.4.0
|
||||
future===0.18.2
|
||||
boto===2.49.0
|
||||
monotonic===1.5
|
||||
netifaces===0.10.9
|
||||
keystoneauth1===4.0.0
|
||||
cffi===1.14.0
|
||||
Babel===2.8.0
|
||||
greenlet===0.4.15
|
||||
oslo.utils===3.42.1
|
||||
gitdb===0.6.4
|
||||
gitdb2===2.0.6
|
15
tox.ini
15
tox.ini
@ -5,13 +5,15 @@ skipsdist = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -U {opts} {packages}
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
PYTHONPATH={toxinidir}/StorletSamples/python:{envdir}
|
||||
NOSE_WITH_COVERAGE=1
|
||||
NOSE_COVER_BRANCHES=1
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
git+git://github.com/openstack/swift.git
|
||||
commands =
|
||||
@ -29,6 +31,13 @@ commands =
|
||||
flake8
|
||||
flake8 --filename=* bin --exclude=bin/*.sh
|
||||
|
||||
[testenv:py27]
|
||||
deps =
|
||||
-c{toxinidir}/py2-constraints.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
git+git://github.com/openstack/swift.git
|
||||
|
||||
[testenv:py36]
|
||||
basepython = python3.6
|
||||
commands =
|
||||
@ -40,9 +49,7 @@ commands = {[testenv:py36]commands}
|
||||
|
||||
[testenv:func]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
git+git://github.com/openstack/swift.git
|
||||
deps = {[testenv:py27]deps}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
STORLET_SAMPLE_PATH={toxinidir}/StorletSamples
|
||||
|
Loading…
Reference in New Issue
Block a user