Update pip and add requirements.txt
Related-Prod: PROD-36337
Change-Id: Ic1a4c1127a79d6e257115f062cbdd0eef18cb755
diff --git a/Dockerfile b/Dockerfile
index 1680850..37db53e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,7 @@
FROM ubuntu:16.04
LABEL maintainer="qa@mirantis.com"
+LABEL build_date="2021-07-09"
ENV DEBIAN_FRONTEND=noninteractive \
DEBCONF_NONINTERACTIVE_SEEN=true \
@@ -27,7 +28,7 @@
&& apt-get update && apt-get upgrade -y \
&& apt-get install -y vim-tiny git-core python-pip libffi-dev libssl-dev python-dev python3-dev iputils-ping patch wget \
#Due to upstream bug we should use fixed version of pip
- && pip install -U 'pip==18.0' \
+ && pip install -U 'setuptools==44.1.1' 'pip==19.2' \
# Do main stuff
&& /build.sh buildme \
# Cleanup
diff --git a/extra/pre-build.sh b/extra/pre-build.sh
index cace64f..681c9b4 100755
--- a/extra/pre-build.sh
+++ b/extra/pre-build.sh
@@ -36,8 +36,7 @@
# TODO migrate to downstrem mirror?
mkdir -p data; pushd data
if [ ! -d openstack_requirements ] ; then
- git clone https://github.com/openstack/requirements.git openstack_requirements
- pushd openstack_requirements; git checkout $UPPER_CONSTRAINTS_TAG; popd
+ mv ../openstack_requirements .
fi
sed -i -e "s|tempest=.*|git+file:///var/lib/tempest@${TEMPEST_TAG}#egg=tempest|g" \
openstack_requirements/upper-constraints.txt;
diff --git a/openstack_requirements/upper-constraints.txt b/openstack_requirements/upper-constraints.txt
new file mode 100644
index 0000000..455451b
--- /dev/null
+++ b/openstack_requirements/upper-constraints.txt
@@ -0,0 +1,539 @@
+ntlm-auth===1.0.6
+voluptuous===0.10.5
+chardet===3.0.4
+enum-compat===0.0.2
+rsa===3.4.2
+restructuredtext-lint===1.1.2
+netmiko===2.0.1
+instack-undercloud===8.4.2
+PasteDeploy===1.5.2
+typing===3.6.2
+python-saharaclient===1.5.0
+python-hnvclient===0.1.0
+Routes===2.4.1
+rtslib-fb===2.1.63
+smmap===0.9.0
+XStatic-Angular-Bootstrap===2.2.0.0
+paunch===2.5.0
+WebOb===1.7.4
+sphinxcontrib-actdiag===0.8.5
+docopt===0.6.2
+pecan===1.2.1
+ryu===4.21
+os-api-ref===1.5.0
+oslo.concurrency===3.25.1
+websocket-client===0.40.0
+osprofiler===1.15.2
+tabulate===0.8.2
+python-ironic-inspector-client===3.1.1
+lxml===4.1.1
+python-kingbirdclient===0.2.0
+setproctitle===1.1.10
+pytest===3.3.2
+python-etcd===0.4.5
+raven===6.5.0
+cursive===0.2.1
+oslo.service===1.29.0
+django-appconf===1.0.2
+pykerberos===1.2.1
+certifi===2018.1.18
+sphinxcontrib-nwdiag===0.9.5
+requests-aws===0.1.8
+alabaster===0.7.10
+pbr===3.1.1
+munch===2.2.0
+attrs===17.4.0
+microversion-parse===0.1.4
+Pint===0.8.1
+oslo.i18n===3.19.0
+jsonpath-rw-ext===1.1.3
+python-mistralclient===3.3.0
+oslo.context===2.20.0
+python-senlinclient===1.7.0
+rcssmin===1.0.6
+pycadf===2.7.0
+grpcio===1.8.4
+pysendfile===2.0.1
+fixtures===3.0.0
+neutron-lib===1.13.0
+pystache===0.5.4
+XStatic-Font-Awesome===4.7.0.0
+nose===1.3.7
+nosehtmloutput===0.0.5
+waitress===1.1.0
+os-refresh-config===8.3.0
+jsbeautifier===1.6.14;python_version=='3.4'
+jsbeautifier===1.6.14;python_version=='3.5'
+pysnmp===4.4.4
+sphinxcontrib-websupport===1.0.1
+Mako===1.0.7
+XStatic-angular-ui-router===0.3.1.2
+pyScss===1.3.4
+XStatic-jQuery===1.10.2.1
+jsonmodels===2.2
+ddt===1.1.1
+pyserial===3.4
+ipaddress===1.0.19
+python-freezerclient===1.6.0
+os-xenapi===0.3.1
+python-vitrageclient===2.1.0
+nosexcover===1.0.11
+krest===1.3.1
+psycopg2===2.7.3.2
+networkx===1.11
+bashate===0.5.1
+XStatic-Angular===1.5.8.0
+pyngus===2.2.2
+Pillow===5.0.0
+zuul-sphinx===0.2.1
+python-mimeparse===1.6.0
+tripleo-common===8.6.2
+Tempita===0.5.2
+ply===3.10
+requests-toolbelt===0.8.0
+simplejson===3.13.2
+suds-jurko===0.6
+python-swiftclient===3.5.0
+pyOpenSSL===17.5.0
+monasca-common===2.8.0
+hyperframe===4.0.2;python_version=='3.4'
+hyperframe===4.0.2;python_version=='3.5'
+cssutils===1.0.2;python_version=='3.4'
+cssutils===1.0.2;python_version=='3.5'
+scipy===1.0.0
+rsd-lib===0.1.1
+XStatic-Jasmine===2.4.1.1
+python-glanceclient===2.10.0
+pyinotify===0.9.6
+debtcollector===1.19.0
+requests-unixsocket===0.1.5
+asn1crypto===0.24.0
+croniter===0.3.20
+python-watcherclient===1.6.0
+MarkupSafe===1.0
+pypowervm===1.1.10
+doc8===0.8.0
+pymongo===3.6.0
+sqlparse===0.2.4
+oslotest===3.2.0
+jsonpointer===2.0
+defusedxml===0.5.0
+netaddr===0.7.19
+pyghmi===1.0.32
+sphinxcontrib-blockdiag===1.5.5
+kaitaistruct===0.6;python_version=='3.4'
+kaitaistruct===0.6;python_version=='3.5'
+gnocchiclient===7.0.1
+sphinxcontrib.datatemplates===0.1.0
+jsonpath-rw===1.4.0
+prettytable===0.7.2
+vine===1.1.4
+taskflow===3.1.0
+traceback2===1.4.0
+semantic-version===2.6.0
+virtualbmc===1.2.0
+deprecation===1.0.1
+SQLAlchemy===1.2.1
+pyroute2===0.4.21
+google-auth===1.3.0
+kazoo===2.4.0
+XStatic-roboto-fontface===0.5.0.0
+pyudev===0.21.0
+eventlet===0.20.0
+openstack-doc-tools===1.7.0
+frozendict===1.2
+oslo.messaging===5.35.0
+extras===1.0.0
+PyJWT===1.5.3
+zVMCloudConnector===0.3.5
+paramiko===2.4.0
+ordereddict===1.1
+reno===2.7.0
+unicodecsv===0.14.1;python_version=='2.7'
+imagesize===0.7.1
+pathlib===1.0.1;python_version=='2.7'
+urllib3===1.22
+graphviz===0.8.2
+PyKMIP===0.7.0
+whereto===0.4.0
+python-subunit===1.2.0
+tornado===4.4.3;python_version=='3.4'
+tornado===4.4.3;python_version=='3.5'
+pycparser===2.18
+mock===2.0.0
+PyYAML===3.12
+beautifulsoup4===4.6.0
+os-net-config===8.4.2
+ovs===2.8.1
+cryptography===3.3.2
+backports.ssl-match-hostname===3.5.0.1;python_version=='2.7'
+openstack-release-test===0.11.0
+pylxd===2.2.5
+pycryptodomex===3.4.7
+anyjson===0.3.3
+requests-mock===1.4.0
+os-apply-config===8.3.0
+oslosphinx===4.18.0
+mox3===0.24.0
+gunicorn===19.7.1
+textfsm===0.3.2
+unittest2===1.1.0
+django-compressor===2.2
+libvirt-python===3.10.0
+python-zunclient===1.1.0
+tzlocal===1.5.1
+python-novaclient===10.1.0
+bcrypt===3.1.4
+os-client-config===1.29.0
+XStatic-Angular-Gettext===2.3.8.0
+Pygments===2.2.0
+XStatic-Hogan===2.0.0.2
+XStatic-objectpath===1.2.1.0
+python-manilaclient===1.21.0
+requests===2.18.4
+snowballstemmer===1.2.1
+Jinja2===2.10
+XStatic-Bootstrap-SCSS===3.3.7.1
+pyzabbix===0.7.4
+ptyprocess===0.5.2
+amqp===2.2.2
+ruamel.yaml===0.13.14;python_version=='3.4'
+ruamel.yaml===0.13.14;python_version=='3.5'
+websockify===0.8.0
+html2text===2016.9.19;python_version=='3.4'
+html2text===2016.9.19;python_version=='3.5'
+XStatic-JQuery.quicksearch===2.0.3.1
+mpmath===1.0.0
+XStatic-JQuery-Migrate===1.2.1.1
+appdirs===1.4.3
+tinyrpc===0.8
+Flask-SQLAlchemy===2.3.2
+daiquiri===1.3.0
+influxdb===5.0.0
+funcparserlib===0.3.6
+passlib===1.7.1
+dib-utils===0.0.11
+cliff===2.11.0
+os-brick===2.3.2
+trollius===2.1
+scp===0.10.2
+python-zaqarclient===1.9.0
+funcsigs===1.0.2;python_version=='2.7'
+zhmcclient===0.18.0
+dnspython3===1.15.0;python_version=='3.4'
+dnspython3===1.15.0;python_version=='3.5'
+ldappool===2.2.0
+termcolor===1.1.0
+hpack===3.0.0;python_version=='3.4'
+hpack===3.0.0;python_version=='3.5'
+hiredis===0.2.0
+google-api-python-client===1.6.5
+castellan===0.17.0
+oslo.versionedobjects===1.31.3
+webcolors===1.7
+aodhclient===1.0.0
+autobahn===17.10.1
+SQLAlchemy-Utils===0.32.21
+pluggy===0.6.0
+coverage===4.4.2
+freezegun===0.3.9
+python-pytun===2.2.1
+pyperclip===1.6.0
+cassandra-driver===3.12.0
+mox===0.5.3
+XStatic-Angular-Schema-Form===0.8.13.0
+gabbi===1.40.0
+nwdiag===1.0.4
+XStatic-bootswatch===3.3.7.0
+XStatic-term.js===0.0.7.0
+oslo.log===3.36.0
+nodeenv===1.2.0
+pylev===1.3.0
+python-searchlightclient===1.3.0
+oslo.middleware===3.34.0
+brotlipy===0.6.0;python_version=='3.4'
+brotlipy===0.6.0;python_version=='3.5'
+XStatic-mdi===1.4.57.0
+django-pyscss===2.0.2
+uritemplate===3.0.0
+django-babel===0.6.2
+docutils===0.14
+notifier===1.0.3
+pycrypto===2.6.1
+ujson===1.35
+selenium===3.8.1
+python-glareclient===0.5.2
+mypy===0.560;python_version=='3.4'
+mypy===0.560;python_version=='3.5'
+mistral-lib===0.4.0
+dogtag-pki===10.3.5.1
+sphinxcontrib-seqdiag===0.8.5
+os-win===3.0.1
+pydot3===1.0.9
+retrying===1.3.3
+shade===1.27.1
+pathlib2===2.3.0
+pydotplus===2.0.2
+flask-oslolog===0.1
+stestr===1.1.0
+urwid===1.3.1;python_version=='3.4'
+urwid===1.3.1;python_version=='3.5'
+singledispatch===3.4.0.3;python_version=='2.7'
+oslo.serialization===2.24.0
+warlock===1.2.0
+exabgp===4.0.5
+sphinxcontrib-httpdomain===1.6.0
+thriftpy===0.3.9;python_version=='2.7'
+murano-pkg-check===0.3.0
+oslo.vmware===2.26.0
+sqlalchemy-migrate===0.11.0
+gitdb===0.6.4
+python-monascaclient===1.10.0
+ldap3===2.4.1
+requests-ntlm===1.1.0
+automaton===1.14.0
+argh===0.26.2;python_version=='3.4'
+argh===0.26.2;python_version=='3.5'
+os-service-types===1.1.0
+keyring===10.6.0
+testscenarios===0.5.0
+sphinxcontrib-pecanwsme===0.8.0
+sadisplay===0.4.8
+enum34===1.1.6
+packaging===16.8
+flask-keystone===0.2
+nose-exclude===0.5.0
+psutil===5.4.3
+py===1.10.0
+txaio===2.8.2
+elasticsearch===2.4.1
+django-nose===1.4.5
+XStatic-JQuery.TableSorter===2.14.5.1
+pifpaf===2.0.2
+pysmi===0.2.2
+blockdiag===1.5.3
+testtools===2.3.0
+Parsley===1.3
+XStatic-tv4===1.2.7.0
+XStatic-JSEncrypt===2.3.1.1
+python-cinderclient===3.5.0
+keystonemiddleware===4.21.0
+django-formtools===2.1
+python-ceilometerclient===2.9.0
+XStatic-Spin===1.2.5.2
+os-traits===0.5.0
+SecretStorage===2.3.1
+XStatic-Rickshaw===1.5.0.0
+iso8601===0.1.12
+tooz===1.60.1
+linecache2===1.0.0
+oauth2client===4.1.2
+idna===2.6
+python-karborclient===1.0.0
+weakrefmethod===1.0.3;python_version=='2.7'
+PuLP===1.6.8
+crc16===0.1.1
+protobuf===3.5.1
+os-dpm===1.1.0
+sushy===1.3.2
+python-neutronclient===6.7.0
+pika===0.10.0
+oslo.cache===1.28.0
+WebTest===2.0.29
+openstack.nose-plugin===0.11
+os-collect-config===8.3.0
+python-qpid-proton===0.19.0
+python-octaviaclient===1.4.0
+pysaml2===4.0.2
+requests-oauthlib===0.8.0
+oslo.reports===1.26.0
+ceilometermiddleware===1.2.0
+python-nss===1.0.1
+testrepository===0.0.20
+sympy===1.1.1
+sphinxmark===0.1.19
+PyNaCl===1.2.1
+osc-lib===1.9.0
+python-consul===0.7.2
+seqdiag===0.9.5
+numpy===1.14.0
+repoze.who===2.3
+msgpack===0.5.1
+Sphinx===1.6.5
+oslo.config===5.2.0
+tempest===18.0.0
+django-floppyforms===1.7.0
+openstackdocstheme===1.18.1
+zake===0.2.2
+python-rsdclient===0.1.1
+python-magic===0.4.15
+python-solumclient===2.6.1
+PyMySQL===0.8.0
+kubernetes===4.0.0
+httplib2===0.10.3
+bottle===0.12.13
+betamax===0.8.0
+construct===2.8.22
+pyparsing===2.2.0
+dogpile.cache===0.6.4
+python-barbicanclient===4.6.0
+blinker===1.4;python_version=='3.4'
+blinker===1.4;python_version=='3.5'
+tricircleclient===0.3.0
+WSME===0.9.2
+proboscis===1.2.6.0
+fortiosclient===0.0.2
+stevedore===1.28.0
+botocore===1.8.34
+xmltodict===0.11.0
+pyasn1===0.4.2
+oslo.rootwrap===5.13.0
+Django===1.11.9
+pexpect===4.3.1
+mistral-extra===6.0.1
+cmd2===0.7.9
+redis===2.10.6
+jmespath===0.9.3
+click===6.7
+docker-pycreds===0.2.1
+XStatic-smart-table===1.4.13.2
+kuryr-lib===0.7.0
+scrypt===0.8.0
+jsonpatch===1.21
+typed-ast===1.1.0;python_version=='3.4'
+typed-ast===1.1.0;python_version=='3.5'
+os-testr===1.0.0
+cotyledon===1.6.8
+stomp.py===4.1.19
+xattr===0.9.2
+systemd-python===234
+python-memcached===1.59
+openstacksdk===0.11.3
+six===1.11.0
+h2===2.6.2;python_version=='3.4'
+h2===2.6.2;python_version=='3.5'
+dulwich===0.18.6
+pykafka===2.7.0
+kombu===4.1.0
+mitmproxy===2.0.2;python_version=='3.4'
+mitmproxy===2.0.2;python_version=='3.5'
+betamax-matchers===0.4.0
+yaql===1.1.3
+requestsexceptions===1.4.0
+testresources===2.0.1
+falcon===1.4.1
+etcd3gw===0.2.1
+pyldap===2.4.45
+Flask-RESTful===0.3.6
+GitPython===2.1.8
+python-ironicclient===2.2.0
+XStatic===1.0.1
+XStatic-Angular-FileUpload===12.0.4.0
+python-openstackclient===3.14.2
+pika-pool===0.1.3
+pyzmq===16.0.3
+EditorConfig===0.12.1;python_version=='3.4'
+EditorConfig===0.12.1;python_version=='3.5'
+oslo.db===4.33.1
+simplegeneric===0.8.1
+python-pcre===0.7
+abclient===0.2.3
+pymemcache===1.4.4
+wrapt===1.10.11
+oslo.privsep===1.27.0
+zope.interface===4.4.3
+oslo.policy===1.33.1
+python-muranoclient===1.0.1
+pyeclib===1.5.0
+wsgi-intercept===1.6.0
+ndg-httpsclient===0.4.3;python_version=='2.7'
+tempest-lib===1.0.0
+spec-cleaner===1.0.1
+repoze.lru===0.7
+rfc3986===1.1.0
+tenacity===4.8.0
+XStatic-Magic-Search===0.2.5.1
+python-designateclient===2.9.0
+future===0.16.0
+Paste===2.0.3
+boto===2.48.0
+functools32===3.2.3.post2;python_version=='2.7'
+watchdog===0.8.3;python_version=='3.4'
+watchdog===0.8.3;python_version=='3.5'
+os-vif===1.9.1
+python-masakariclient===4.0.0
+Werkzeug===0.14.1
+pyasn1-modules===0.2.1
+APScheduler===3.5.1
+monotonic===1.4
+python-smaugclient===0.0.8
+python-troveclient===2.14.0
+etcd3===0.7.0
+XStatic-Bootstrap-Datepicker===1.3.1.0
+CouchDB===1.1
+netifaces===0.10.6
+cachetools===2.0.1
+ws4py===0.4.3
+keystoneauth1===3.4.0
+statsd===3.2.2
+XenAPI===1.2
+python-keystoneclient===3.15.0
+demjson===2.2.4
+diskimage-builder===2.11.0
+heat-translator===0.9.0
+python-magnumclient===2.9.1
+docker===2.7.0
+pathtools===0.1.2;python_version=='3.4'
+pathtools===0.1.2;python_version=='3.5'
+qpid-python===1.36.0.post1;python_version=='2.7'
+contextlib2===0.5.5
+XStatic-Angular-lrdragndrop===1.0.2.2
+python-congressclient===1.9.0
+ovsdbapp===0.10.1
+aniso8601===2.0.0
+rjsmin===1.0.12
+icalendar===4.0.0
+decorator===4.2.1
+cffi===1.11.4
+futurist===1.6.0
+jsonschema===2.6.0
+alembic===0.9.7
+glance-store===0.23.0
+sphinx-testing===0.7.2
+dnspython===1.15.0
+oauthlib===2.0.6
+Babel===2.5.3
+logutils===0.3.5
+scandir===1.6;python_version=='2.7'
+sphinxcontrib-fulltoc===1.2.0
+smmap2===2.0.3
+greenlet===0.4.12
+xvfbwrapper===0.2.9
+futures===3.2.0;python_version=='2.7'
+tosca-parser===0.9.0
+Flask===0.12.2
+happybase===1.1.0;python_version=='2.7'
+marathon===0.9.3
+fasteners===0.14.1
+sortedcontainers===1.5.9;python_version=='3.4'
+sortedcontainers===1.5.9;python_version=='3.5'
+python-tackerclient===0.11.0
+python-heatclient===1.14.0
+kafka-python===1.3.5
+oslo.utils===3.35.1
+python-editor===1.0.3
+gitdb2===2.0.3
+requests-kerberos===0.12.0
+itsdangerous===0.24
+XStatic-jquery-ui===1.12.0.1
+monasca-statsd===1.9.0
+python-dateutil===2.6.1
+virtualenv===15.1.0
+colorama===0.3.9
+ironic-lib===2.12.1
+pytz===2017.3
+XStatic-D3===3.5.17.0
+actdiag===0.5.4
+sysv-ipc===0.7.0
+scikit-learn===0.19.1
+python-blazarclient===1.0.1