diff --git a/VERSION b/VERSION index bcc50592..e05df4ae 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1!10.12.0 +1!10.12.1 diff --git a/pycloudlib/ibm/cloud.py b/pycloudlib/ibm/cloud.py index a75c135b..d0651193 100644 --- a/pycloudlib/ibm/cloud.py +++ b/pycloudlib/ibm/cloud.py @@ -75,7 +75,11 @@ def __init__( authenticator = IAMAuthenticator(api_key) self.instance_counter = itertools.count(1) - self._client = VpcV1(authenticator=authenticator) + # Note this pins API version to ibm-vpc 0.28.0 also in setup.cfg. + # If updating API version: + # 1. Check latest https://github.com/IBM/vpc-python-sdk/releases/ + # 2. Update setup.cfg ibm-vpc < conditional + self._client = VpcV1(authenticator=authenticator, version="2025-04-22") self._client.set_service_url(f"https://{self.region}.iaas.cloud.ibm.com/v1") self._resource_manager_service = ResourceManagerV2(authenticator=authenticator) diff --git a/setup.cfg b/setup.cfg index 58bc6ebc..e6239477 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,7 +34,7 @@ install_requires = googleapis-common-protos >= 1.63.1 ibm-cloud-sdk-core >= 3.14.0 ibm-platform-services - ibm-vpc >= 0.10 + ibm-vpc >= 0.10, < 0.29.0 knack >= 0.7.1 oci >= 2.17.0 openstacksdk >= 1.1.0, < 1.5.0