Fix the CI

Lower constraints do not cap all dependencies, causing incompatibilities.
Update Jinja2 to 2.11.3 (the last pre-3.0 version) and downgrade
MarkupSafe, Werkzeug and itsdangerous for Flask.

Something must have changed in one of the dependencies, and the Location
header is no longer returning the host in the URL.

Remove subunit and testscenarios, we don't use them directly.

Change-Id: I5bad754ef7b1bec6986c2b4293a38226c5a261af
This commit is contained in:
Dmitry Tantsur 2022-04-06 12:56:51 +02:00
parent 1553bf3182
commit 8896740bbe
3 changed files with 8 additions and 8 deletions

View File

@ -1,14 +1,16 @@
Flask==1.0.2
coverage==4.0
Flask==1.0.2
ironic-lib==4.6.1
itsdangerous==2.0.1
Jinja2==2.11.3
libvirt-python==6.0.0
MarkupSafe==2.0.1
munch==2.1.0
openstacksdk==0.13.0
oslotest==3.2.0
pbr==2.0.0
python-subunit==1.0.0
requests==2.14.2
stestr==1.0.0
tenacity==6.2.0
testscenarios==0.4
testtools==2.2.0
Werkzeug==2.0.3

View File

@ -671,9 +671,9 @@ class StorageTestCase(EmulatorTestCase):
'Volumes', json=data)
self.assertEqual(201, response.status_code)
self.assertEqual('http://localhost/redfish/v1/Systems/vmc-node/'
'Storage/1/Volumes/13087010612',
response.headers['Location'])
self.assertIn('/redfish/v1/Systems/vmc-node/'
'Storage/1/Volumes/13087010612',
response.headers['Location'])
@patch_resource('volumes')
def test_volume_resource_get(self, volumes_mock, systems_mock):

View File

@ -5,11 +5,9 @@
coverage!=4.4,>=4.0 # Apache-2.0
# used by libvirt driver
libvirt-python>=6.0.0 # LGPLv2+
python-subunit>=1.0.0 # Apache-2.0/BSD
# used by nova driver
openstacksdk>=0.13.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
munch>=2.1.0 # MIT