Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions integration_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def create_checkout_payload(
payment_handler.Base(
id="google_pay",
name="google.pay",
version="2026-01-23",
version="2026-04-08",
spec="https://example.com/spec",
config_schema="https://example.com/schema",
instrument_schemas=["https://example.com/instrument_schema"],
Expand Down Expand Up @@ -541,7 +541,7 @@ def create_checkout_payload(
fulfillment=fulfillment,
)
checkout_req.status = "incomplete"
checkout_req.ucp = {"version": "2026-01-23"}
checkout_req.ucp = {"version": "2026-04-08"}
checkout_req.totals = []
checkout_req.links = []

Expand Down
6 changes: 3 additions & 3 deletions protocol_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def test_discovery(self):

self.assertEqual(
ucp_data.get("version"),
"2026-01-23",
"2026-04-08",
msg="Unexpected UCP version in discovery doc",
)

Expand Down Expand Up @@ -230,7 +230,7 @@ def test_discovery(self):
if isinstance(shopping_services, list)
else shopping_services
)
self.assertEqual(shopping_service.get("version"), "2026-01-23")
self.assertEqual(shopping_service.get("version"), "2026-04-08")
self.assertIsNotNone(shopping_service.get("transport") == "rest")
self.assertIsNotNone(shopping_service.get("endpoint"))

Expand Down Expand Up @@ -273,7 +273,7 @@ def test_version_negotiation(self):

# 1. Compatible Version
headers = integration_test_utils.get_headers()
headers["UCP-Agent"] = 'profile="..."; version="2026-01-23"'
headers["UCP-Agent"] = 'profile="..."; version="2026-04-08"'
response = self.client.post(
checkout_sessions_url,
json=create_payload.model_dump(
Expand Down
8 changes: 4 additions & 4 deletions shopping-agent-test.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"ucp": {
"version": "2026-01-23",
"version": "2026-04-08",
"capabilities": {
"dev.ucp.shopping.order": [
{
"name": "dev.ucp.shopping.order",
"version": "2026-01-23",
"spec": "https://ucp.dev/2026-01-23/specification/order/",
"schema": "https://ucp.dev/2026-01-23/schemas/shopping/order.json",
"version": "2026-04-08",
"spec": "https://ucp.dev/2026-04-08/specification/order/",
"schema": "https://ucp.dev/2026-04-08/schemas/shopping/order.json",
"config": {
"webhook_url": "http://localhost:{webhook_port}/webhooks/partners/test_partner/events/order"
}
Expand Down
Loading