Pin to latest os-service-types
OpenstackSDK should always be using the latest os-service-types. This commit bumps the lower bounds to the current latest version (1.7.0), and adds a canary test so that the CI will fail as soon as a new os-service-types version hits upper-constraints. Change-Id: Ie98ec9cfd58badc2b05a2a144d1d559d7ed6553b
This commit is contained in:
parent
f7a401d4e5
commit
f7860861a1
@ -21,7 +21,7 @@ mox3==0.20.0
|
||||
munch==2.1.0
|
||||
netifaces==0.10.4
|
||||
os-client-config==1.28.0
|
||||
os-service-types==1.6.0
|
||||
os-service-types==1.7.0
|
||||
oslo.config==6.1.0
|
||||
oslotest==3.2.0
|
||||
pbr==2.0.0
|
||||
|
@ -18,6 +18,7 @@ import sys
|
||||
from openstack.tests.unit import base
|
||||
|
||||
import fixtures
|
||||
import os_service_types
|
||||
|
||||
import openstack
|
||||
from openstack import utils
|
||||
@ -157,3 +158,13 @@ class TestMaximumSupportedMicroversion(base.TestCase):
|
||||
self.endpoint_data.min_microversion = '1.42'
|
||||
self.assertIsNone(utils.maximum_supported_microversion(self.adapter,
|
||||
'1.2'))
|
||||
|
||||
|
||||
class TestOsServiceTypesVersion(base.TestCase):
|
||||
def test_ost_version(self):
|
||||
ost_version = '2019-05-01T19:53:21.498745'
|
||||
self.assertEqual(
|
||||
ost_version, os_service_types.ServiceTypes().version,
|
||||
"This project must be pinned to the latest version of "
|
||||
"os-service-types. Please bump requirements.txt and "
|
||||
"lower-constraints.txt accordingly.")
|
||||
|
@ -7,7 +7,7 @@ appdirs>=1.3.0 # MIT License
|
||||
requestsexceptions>=1.2.0 # Apache-2.0
|
||||
jsonpatch!=1.20,>=1.16 # BSD
|
||||
six>=1.10.0 # MIT
|
||||
os-service-types>=1.6.0 # Apache-2.0
|
||||
os-service-types>=1.7.0 # Apache-2.0
|
||||
keystoneauth1>=3.14.0 # Apache-2.0
|
||||
|
||||
munch>=2.1.0 # MIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user