config/sysinv/sysinv/sysinv/test-requirements.txt
Dan Voiculeasa 357e4dba76 Fix Stevedore plugin usage for Debian OS
API was changed between Stevedore and Python versions.
Stevedore entry_point object was changed and
importlib.metadata.entry_point doesn't reference a Distribution object.
https://docs.openstack.org/releasenotes/stevedore/victoria.html
https://bugs.python.org/issue42382

Added wrapper code to handle different scenarios.
Support parsing available modules for Python3 environments to
determine the Distribution object. Need to parse available modules only
for Stevedore 3.

This keeps compatibility with:
Stevedore 1.25 + Python 2.7 (CentOS7),
Stevedore 1.31 + Python 3.6 (CentOS8).
This adds logic needed to be run on:
Stevedore 3.2.2 + Python 3.9 (Debian Bullseye).

Story: 2009101
Task: 42950
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Id88951104a93af7be3c169c3ba91ace2b7300a34
2021-08-17 09:22:28 +03:00

23 lines
695 B
Plaintext

# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=1.1.0,<=2.0.0 # Apache-2.0
astroid <= 2.2.5
bandit;python_version>="3.0"
coverage>=3.6
fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0.0 # BSD
python-subunit>=0.0.18
requests-mock>=0.6.0 # Apache-2.0
sphinx
oslosphinx
oslotest>=3.2.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
testrepository>=0.0.18
testtools!=1.2.0,>=0.9.36
isort<5;python_version>="3.0"
pylint<2.1.0;python_version<"3.0" # GPLv2
pylint<2.4.0;python_version>="3.0" # GPLv2
pycryptodomex
pathlib;python_version<"3.0"