Leverage on PBR 43/68043/12
authorCédric Ollivier <cedric.ollivier@orange.com>
Thu, 13 Jun 2019 14:50:01 +0000 (16:50 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 17 Jul 2019 18:32:12 +0000 (20:32 +0200)
commitf377ca166f1e0f81b685e3a76ef0287cdc011cd1
tree01950a61457d2966d3974ef7544f39aef4f2202d
parentd57f3eefc23b2bdcc7eb70b19e09cfd22fc36e25
Leverage on PBR

It fixes requirements and constraints by switching to PBR [1].
It synchronizes requirements with OpenStack stable/stein and then
adds constraints to pip calls.

It also updates flask-restful-swagger to conform with OpenStack
upper-constraints [2] and the pip API calls.

It updates the unit tests verifying a few package versions.

It stops checking unicodecsv in py3 env which is against the
requirements defined in OpenStack.

It also skips one test indirectly highlighting that the pip usage
is incorrect [3]

[1] http://testresults.opnfv.org/functest/dockerslicing/
[2] https://github.com/rantav/flask-restful-swagger/commit/fd418b50723fe1e79f495aa400a8e9f055a5be27
[3] https://github.com/pypa/pip/issues/3889

Change-Id: I635bdb9d7411e619cee911b633fa8ad591a393a0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/Dockerfile
requirements.txt
setup.cfg [new file with mode: 0644]
setup.py [changed mode: 0755->0644]
test-requirements.txt
tox.ini
upper-constraints.txt [new file with mode: 0644]
yardstick/common/packages.py
yardstick/tests/functional/common/test_packages.py
yardstick/tests/unit/common/test_packages.py