Cap oslo.db==6.0.0 for python <='3.5'

stackviz on stable/rocky is failing as it try to install the
latest requirements like oslo.db>=4.24.0

:stderr: oslo.db requires Python '>=3.6' but the running Python is 3.5.2

https://zuul.opendev.org/t/openstack/build/67edcd21a0144bd7a3e0a28294bd5874

Change-Id: I1c65b90ee4579c0e58d9c01a1244760dc74b82b3
This commit is contained in:
Ghanshyam Mann 2020-12-14 19:18:33 -06:00 committed by Ghanshyam
parent 7fc8c5e578
commit 3bb7bc77b7
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
python-subunit>=0.0.18
testtools>=0.9.30
testrepository>=0.0.18
subunit2sql>=0.8.0
oslo.db>=6.0.0;python_version>='3.6'
oslo.db==6.0.0;python_version<='3.5'
six