From cf3755f1d76684d934a5ffabbccd6fa43a489b9b Mon Sep 17 00:00:00 2001 From: Joe Williams Date: Wed, 15 Apr 2020 01:28:31 +0000 Subject: [PATCH] Pin DM and fabric Python packages Change-Id: I1e6eb02c1e2d2c02cc0ce9a725316b82d0438b77 Closes-jira-bug: CEM-14278 Closes-jira-bug: CEM-14281 Target-release: R2005 --- .../device-manager/test-requirements.txt | 34 ++++++++++--------- src/config/device-manager/tox.ini | 2 +- .../ansible-playbooks/test-requirements.txt | 22 ++++++------ .../fabric-ansible/test-requirements.txt | 26 +++++++------- src/config/fabric-ansible/tox.ini | 2 +- 5 files changed, 44 insertions(+), 42 deletions(-) diff --git a/src/config/device-manager/test-requirements.txt b/src/config/device-manager/test-requirements.txt index 82c0f6d5bdf..a271dec6517 100644 --- a/src/config/device-manager/test-requirements.txt +++ b/src/config/device-manager/test-requirements.txt @@ -1,19 +1,21 @@ -python-subunit -testrepository -flexmock -coverage -pyaml -python-keystoneclient -webtest -kazoo +python-subunit==1.4.0 +testrepository==0.0.20 +flexmock==0.10.4 +coverage==5.0.4 +pyaml==20.4.0; python_version=='2.7' +pyYAML==5.3.1; python_version > '2.7' +python-keystoneclient==3.22.0 +webtest==2.0.34 +kazoo==2.7.0 ncclient==0.6.3 -jsonpickle -sandesh_common +jsonpickle==1.3 +sandesh-common==0.1.dev0 contrail-api-client -contrail-api-server +contrail-api-server==0.1.dev0 ../schema-transformer -xmltodict -pyOpenSSL -mock -fabric-ansible -pycryptodome +xmltodict==0.12.0 +pyOpenSSL==19.1.0 +mock==3.0.5; python_version=='2.7' +mock==4.0.2; python_version > '2.7' +fabric-ansible==0.1.dev0 +pycryptodome==3.9.7 diff --git a/src/config/device-manager/tox.ini b/src/config/device-manager/tox.ini index 835be6e4c4a..697fab6e530 100644 --- a/src/config/device-manager/tox.ini +++ b/src/config/device-manager/tox.ini @@ -61,7 +61,7 @@ setenv = PYTHON = coverage run --source device_manager --parallel-mode deps = {[testenv]deps} - coverage + coverage==5.0.4 commands = stestr run --no-subunit-trace {posargs} coverage combine diff --git a/src/config/fabric-ansible/ansible-playbooks/test-requirements.txt b/src/config/fabric-ansible/ansible-playbooks/test-requirements.txt index 7f796faeccf..7e7de6ff324 100644 --- a/src/config/fabric-ansible/ansible-playbooks/test-requirements.txt +++ b/src/config/fabric-ansible/ansible-playbooks/test-requirements.txt @@ -1,12 +1,10 @@ -python-subunit -testrepository -flexmock -coverage -pyaml -fabric_ansible -contrail-api-client -sandesh -sandesh_common -junitxml -timeout-decorator -requests +python-subunit==1.4.0 +testrepository==0.0.20 +flexmock==0.10.4 +coverage==5.0.4 +pyaml==20.4.0; python_version=='2.7' +pyYAML==5.3.1; python_version > '2.7' +fabric-ansible==0.1.dev0 +junitxml==0.7 +timeout-decorator==0.4.1 +requests==2.23.0 diff --git a/src/config/fabric-ansible/test-requirements.txt b/src/config/fabric-ansible/test-requirements.txt index b54c65b3a75..e839f211bcd 100644 --- a/src/config/fabric-ansible/test-requirements.txt +++ b/src/config/fabric-ansible/test-requirements.txt @@ -1,12 +1,14 @@ -python-subunit -testrepository -flexmock -mock -coverage -pyaml -python-keystoneclient -python-novaclient -webtest -contrail-api-server -python-swiftclient -ansible +python-subunit==1.4.0 +testrepository==0.0.20 +flexmock==0.10.4 +mock==3.0.5; python_version=='2.7' +mock==4.0.2; python_version > '2.7' +coverage==5.0.4 +pyaml==20.4.0; python_version=='2.7' +pyYAML==5.3.1; python_version > '2.7' +python-keystoneclient==3.22.0 +python-novaclient==16.0.0 +webtest==2.0.34 +contrail-api-server==0.1.dev0 +python-swiftclient==3.9.0 +ansible==2.6.13 diff --git a/src/config/fabric-ansible/tox.ini b/src/config/fabric-ansible/tox.ini index 77862876c96..7f382148398 100644 --- a/src/config/fabric-ansible/tox.ini +++ b/src/config/fabric-ansible/tox.ini @@ -59,7 +59,7 @@ setenv = PYTHON = coverage run --source . --parallel-mode deps = {[testenv]deps} - coverage + coverage==5.0.4 commands = stestr run --no-subunit-trace {posargs} coverage combine