
pip 20.3 finally includes a proper dependency resolver. Its use is causing the following error messages on the lower-constraints job: ERROR: Cannot install ... because these package versions have conflicting dependencies. The conflict is caused by: bandit 1.1.0 depends on PyYAML>=3.1.0 cliff 3.4.0 depends on PyYAML>=3.12 openstacksdk 0.52.0 depends on PyYAML>=3.13 Bump our lower constraint for PyYAML to resolve this issue. With that resolved, we see a new issue: ERROR: Could not find a version that satisfies the requirement cryptography>=2.7 (from openstacksdk) ERROR: No matching distribution found for cryptography>=2.7 This is less self-explanatory but looking at the lower-constraints for openstacksdk 0.52.0 shows a dependency on cryptography 2.7 [1], meaning we need to bump this also. Next up, flake8-import-order seems to cause the dependency resolver to go nuts, eventually ending with the following error message in a Python 3.6 environment: Using cached enum34-1.1.2.zip (49 kB) ERROR: Command errored out with exit status 1: command: ... cwd: ... Complete output (9 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File ".../lib/python3.6/site-packages/setuptools/__init__.py", line 7, in <module> import setuptools.distutils_patch # noqa: F401 File ".../lib/python3.6/site-packages/setuptools/distutils_patch.py", line 9, in <module> import re File "/usr/lib64/python3.6/re.py", line 142, in <module> class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag' ---------------------------------------- A quick Google suggests this is because the enum34 package is not complete [2]. We shouldn't even be using it since our base virtualenv should at least use Python 3.6, but I guess some dependency doesn't properly restrict the dependency to <= Python 3.4. This is moved from 'test-requirements.txt' to 'tox.ini' since we don't need to use our constraints machinery for linters. Finally, the versions of bandit and hacking that pip is bringing in both requires in a newer version of babel, which in turn requires a new version of pytz. Collecting hacking>=2.0.0 ... ERROR: Cannot install oslo.i18n because these package versions have conflicting dependencies. The conflict is caused by: babel 2.9.0 depends on pytz>=2015.7 babel 2.8.1 depends on pytz>=2015.7 babel 2.8.0 depends on pytz>=2015.7 babel 2.7.0 depends on pytz>=2015.7 Seeing as we shouldn't be tracking bandit in lower-constraints, I'm not sure why we're want to bump these dependencies for just that. As above, we move these dependencies out of 'test-requirements' and into 'tox.ini' since we can do that for linters. [1] https://opendev.org/openstack/openstacksdk/src/tag/0.52.0/requirements.txt#L19 [2] https://github.com/iterative/dvc/issues/1995#issuecomment-491889669 Change-Id: I8ec738fbcabc8d8553db79a876e5592576cd18fa Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
137 lines
2.5 KiB
Plaintext
137 lines
2.5 KiB
Plaintext
amqp==2.1.1
|
|
aodhclient==0.9.0
|
|
appdirs==1.3.0
|
|
asn1crypto==0.23.0
|
|
bandit==1.1.0
|
|
cachetools==2.0.0
|
|
cffi==1.14.0
|
|
cliff==3.4.0
|
|
cmd2==0.8.0
|
|
contextlib2==0.4.0
|
|
coverage==4.0
|
|
cryptography==2.7
|
|
ddt==1.0.1
|
|
debtcollector==1.2.0
|
|
decorator==4.4.1
|
|
deprecation==1.0
|
|
docker-pycreds==0.2.1
|
|
docker==2.4.2
|
|
dogpile.cache==0.6.5
|
|
eventlet==0.18.2
|
|
extras==1.0.0
|
|
fasteners==0.7.0
|
|
fixtures==3.0.0
|
|
future==0.16.0
|
|
futurist==2.1.0
|
|
gitdb==0.6.4
|
|
GitPython==1.0.1
|
|
gnocchiclient==3.3.1
|
|
greenlet==0.4.15
|
|
httplib2==0.9.1
|
|
idna==2.6
|
|
iso8601==0.1.11
|
|
Jinja2==2.10
|
|
jmespath==0.9.0
|
|
jsonpatch==1.16
|
|
jsonpointer==1.13
|
|
jsonschema==2.6.0
|
|
keystoneauth1==3.18.0
|
|
kombu==4.0.0
|
|
linecache2==1.0.0
|
|
MarkupSafe==1.1.1
|
|
monotonic==0.6
|
|
mox3==0.20.0
|
|
msgpack-python==0.4.0
|
|
munch==2.1.0
|
|
netaddr==0.7.18
|
|
netifaces==0.10.4
|
|
openstacksdk==0.52.0
|
|
os-service-types==1.7.0
|
|
os-testr==1.0.0
|
|
osc-lib==2.2.0
|
|
osc-placement==1.7.0
|
|
oslo.concurrency==3.26.0
|
|
oslo.config==5.2.0
|
|
oslo.context==2.19.2
|
|
oslo.i18n==3.15.3
|
|
oslo.log==3.36.0
|
|
oslo.messaging==5.29.0
|
|
oslo.middleware==3.31.0
|
|
oslo.serialization==2.18.0
|
|
oslo.service==1.24.0
|
|
oslo.utils==3.33.0
|
|
oslotest==3.2.0
|
|
osprofiler==1.4.0
|
|
paramiko==2.7.1
|
|
Paste==2.0.2
|
|
PasteDeploy==1.5.0
|
|
pbr==2.0.0
|
|
pika-pool==0.1.3
|
|
pika==0.10.0
|
|
ply==3.10
|
|
positional==1.2.1
|
|
prettytable==0.7.2
|
|
pyasn1==0.1.8
|
|
pycodestyle==2.0.0
|
|
pycparser==2.18
|
|
pyinotify==0.9.6
|
|
pyOpenSSL==17.1.0
|
|
pyparsing==2.1.0
|
|
pyperclip==1.5.27
|
|
python-barbicanclient==4.5.2
|
|
python-cinderclient==3.3.0
|
|
python-dateutil==2.5.3
|
|
python-designateclient==2.7.0
|
|
python-glanceclient==2.8.0
|
|
python-heatclient==1.10.0
|
|
python-ironic-inspector-client==1.5.0
|
|
python-ironicclient==2.3.0
|
|
python-karborclient==0.6.0
|
|
python-keystoneclient==3.22.0
|
|
python-mimeparse==1.6.0
|
|
python-mistralclient==3.1.0
|
|
python-muranoclient==0.8.2
|
|
python-neutronclient==6.7.0
|
|
python-novaclient==15.1.0
|
|
python-octaviaclient==1.11.0
|
|
python-rsdclient==1.0.1
|
|
python-saharaclient==1.4.0
|
|
python-searchlightclient==1.0.0
|
|
python-senlinclient==1.1.0
|
|
python-subunit==1.0.0
|
|
python-swiftclient==3.2.0
|
|
python-troveclient==3.1.0
|
|
python-watcherclient==2.5.0
|
|
python-zaqarclient==1.0.0
|
|
python-zunclient==3.6.0
|
|
pytz==2013.6
|
|
PyYAML==3.13
|
|
repoze.lru==0.7
|
|
requests-mock==1.2.0
|
|
requests==2.14.2
|
|
requestsexceptions==1.2.0
|
|
rfc3986==0.3.1
|
|
Routes==2.3.1
|
|
rsd-lib==0.1.0
|
|
simplejson==3.5.1
|
|
smmap==0.9.0
|
|
statsd==3.2.1
|
|
stestr==1.0.0
|
|
stevedore==2.0.1
|
|
sushy==0.1.0
|
|
tempest==17.1.0
|
|
tenacity==3.2.1
|
|
testrepository==0.0.18
|
|
testtools==2.2.0
|
|
traceback2==1.4.0
|
|
ujson==1.35
|
|
unittest2==1.1.0
|
|
urllib3==1.21.1
|
|
validictory==1.1.1
|
|
vine==1.1.4
|
|
warlock==1.2.0
|
|
WebOb==1.7.1
|
|
websocket-client==0.44.0
|
|
wrapt==1.7.0
|
|
yaql==1.1.3
|