Use constraints file
Almost all OpenStack projects use the constraints file to install python modules. It mitigate unexpected gate breakage. tacker-horizon does not follow this best practice somehow. All missing lower constraints are added. I checked python modules installed without specific versions in .tox/lower-constraints/log/lower-constraints-1.log and copied such modules from horizon lower-constriants.txt if missing: grep Collecting .tox/lower-constraints/log/lower-constraints-1.log | grep -v == horizon requirement is also updated to match Ussuri env. Change-Id: I3287429d415271e1cff15c91223ab85ea320caa6
This commit is contained in:
parent
1b1ee9e7e2
commit
3b2fd8ef55
|
@ -1,23 +1,35 @@
|
|||
alabaster==0.7.10
|
||||
appdirs==1.4.3
|
||||
asn1crypto==0.23.0
|
||||
Babel==2.5.3
|
||||
certifi==2018.1.18
|
||||
cffi==1.7.0
|
||||
chardet==3.0.4
|
||||
cliff==2.11.0
|
||||
cmd2==0.8.2
|
||||
colorama==0.3.9
|
||||
contextlib2==0.4.0
|
||||
coverage==4.0
|
||||
cryptography==2.1
|
||||
debtcollector==1.19.0
|
||||
decorator==4.2.1
|
||||
deprecation==2.0
|
||||
Django==1.11
|
||||
django-appconf==1.0.2
|
||||
django-babel==0.6.2
|
||||
django-compressor==2.0
|
||||
django-debreach==1.4.2
|
||||
django-pyscss==2.0.2
|
||||
docutils==0.11
|
||||
dogpile.cache==0.6.5
|
||||
dulwich==0.15.0
|
||||
extras==1.0.0
|
||||
fasteners==0.7.0
|
||||
fixtures==3.0.0
|
||||
flake8==2.5.5
|
||||
futurist==1.2.0
|
||||
hacking==0.12.0
|
||||
horizon==17.1.0
|
||||
idna==2.6
|
||||
imagesize==0.7.1
|
||||
iso8601==0.1.12
|
||||
|
@ -25,6 +37,7 @@ Jinja2==2.10
|
|||
jmespath==0.9.3
|
||||
jsonpatch==1.21
|
||||
jsonpointer==2.0
|
||||
jsonschema==2.6.0
|
||||
keystoneauth1==3.6.2
|
||||
linecache2==1.0.0
|
||||
MarkupSafe==1.0
|
||||
|
@ -41,26 +54,38 @@ openstacksdk==0.12.0
|
|||
os-client-config==1.29.0
|
||||
os-service-types==1.2.0
|
||||
osc-lib==1.10.0
|
||||
oslo.concurrency==3.26.0
|
||||
oslo.config==5.2.0
|
||||
oslo.context==2.22.0
|
||||
oslo.i18n==3.20.0
|
||||
oslo.log==3.36.0
|
||||
oslo.policy==1.30.0
|
||||
oslo.serialization==2.18.0
|
||||
oslo.upgradecheck==0.1.1
|
||||
oslo.utils==3.36.0
|
||||
oslosphinx==4.7.0
|
||||
osprofiler==2.3.0
|
||||
packaging==17.1
|
||||
pbr==2.0.0
|
||||
pep8==1.5.7
|
||||
Pint==0.5
|
||||
positional==1.2.1
|
||||
prettytable==0.7.2
|
||||
pyflakes==0.8.1
|
||||
Pygments==2.2.0
|
||||
pyinotify==0.9.6
|
||||
pymongo==3.0.2
|
||||
pyOpenSSL==17.1.0
|
||||
pyparsing==2.2.0
|
||||
pyperclip==1.6.0
|
||||
python-cinderclient==5.0.0
|
||||
python-dateutil==2.7.0
|
||||
python-keystoneclient==3.15.0
|
||||
python-glanceclient==2.8.0
|
||||
python-keystoneclient==3.22.0
|
||||
python-mimeparse==1.6.0
|
||||
python-neutronclient==6.7.0
|
||||
python-novaclient==9.1.0
|
||||
python-swiftclient==3.2.0
|
||||
python-tackerclient==0.8.0
|
||||
pytz==2018.3
|
||||
PyYAML==3.12
|
||||
|
@ -68,6 +93,7 @@ reno==2.5.0
|
|||
requests==2.18.4
|
||||
requestsexceptions==1.4.0
|
||||
rfc3986==1.1.0
|
||||
semantic-version==2.3.1
|
||||
simplejson==3.13.2
|
||||
six==1.11.0
|
||||
snowballstemmer==1.2.1
|
||||
|
@ -78,5 +104,19 @@ termcolor==1.1.0
|
|||
traceback2==1.4.0
|
||||
unittest2==1.1.0
|
||||
urllib3==1.22
|
||||
WebOb==1.7.1
|
||||
wrapt==1.10.11
|
||||
XStatic-Angular==1.5.8.0
|
||||
XStatic-Angular-Bootstrap==2.2.0.0
|
||||
XStatic-Angular-Gettext==2.3.8.0
|
||||
XStatic-Angular-lrdragndrop==1.0.2.2
|
||||
XStatic-Bootstrap-SCSS==3.3.7.1
|
||||
XStatic-bootswatch==3.3.7.0
|
||||
XStatic-D3==3.5.17.0
|
||||
XStatic-Font-Awesome==4.7.0.0
|
||||
XStatic-Jasmine==2.4.1.1
|
||||
XStatic-JSEncrypt==2.3.1.1
|
||||
XStatic-mdi==1.4.57.0
|
||||
XStatic-roboto-fontface==0.5.0.0
|
||||
XStatic-smart-table==1.4.13.2
|
||||
xvfbwrapper==0.1.3
|
||||
|
|
|
@ -14,4 +14,4 @@ python-tackerclient>=0.8.0 # Apache-2.0
|
|||
|
||||
# This will be installed from git in OpenStack CI if the job setting
|
||||
# required-projects for horizon:
|
||||
horizon>=14.0.0.0b3 # Apache-2.0
|
||||
horizon>=17.1.0 # Apache-2.0
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -11,10 +11,9 @@ setenv =
|
|||
VIRTUAL_ENV={envdir}
|
||||
DJANGO_SETTINGS_MODULE=tacker_horizon.test.settings
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
https://tarballs.openstack.org/horizon/horizon-master.tar.gz
|
||||
https://tarballs.openstack.org/python-tackerclient/python-tackerclient-master.tar.gz
|
||||
commands =
|
||||
dj111: pip install django>=1.11,<2
|
||||
dj22: pip install django>=2.2,<2.3
|
||||
|
@ -31,7 +30,9 @@ commands = flake8
|
|||
|
||||
[testenv:docs]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||
|
||||
[testenv:pdf-docs]
|
||||
|
|
Loading…
Reference in New Issue