diff --git a/rest/python/client/flower_shop/pyproject.toml b/rest/python/client/flower_shop/pyproject.toml index c93378f..785860d 100644 --- a/rest/python/client/flower_shop/pyproject.toml +++ b/rest/python/client/flower_shop/pyproject.toml @@ -10,7 +10,7 @@ authors = [ dependencies = [ "cryptography>=42", "pydantic>=2.12.0", - "ucp-sdk", + "ucp-sdk>=0.4.6,<0.5", ] [dependency-groups] diff --git a/rest/python/server/integration_test.py b/rest/python/server/integration_test.py index 55b0ba6..1e55400 100644 --- a/rest/python/server/integration_test.py +++ b/rest/python/server/integration_test.py @@ -81,7 +81,7 @@ line_item_create_request as line_item_create_req, ) from ucp_sdk.models.schemas.shopping.types import ( - shipping_destination as shipping_destination_req, + shipping_destination_create_request as shipping_destination_req, ) FLAGS = flags.FLAGS @@ -250,7 +250,7 @@ def _create_checkout_payload( payment = payment_create_req.PaymentCreateRequest(instruments=[]) # Hierarchical Fulfillment Construction - destination = shipping_destination_req.ShippingDestination( + destination = shipping_destination_req.ShippingDestinationCreateRequest( id="dest_1", address_country="US" ) group = fulfillment_group_create_req.FulfillmentGroupCreateRequest( diff --git a/rest/python/server/pyproject.toml b/rest/python/server/pyproject.toml index 6341629..4759a5d 100644 --- a/rest/python/server/pyproject.toml +++ b/rest/python/server/pyproject.toml @@ -17,7 +17,7 @@ dependencies = [ "greenlet>=3.0.0", "fastapi-code-generator>=0.5.4", "click==8.1.7", - "ucp-sdk", + "ucp-sdk>=0.4.6,<0.5", "shortuuid", "httpx>=0.26.0", "cryptography>=42",