From fa218b70349e70a11855ec18ea8d11efe85b118a Mon Sep 17 00:00:00 2001 From: Zsolt Dollenstein Date: Mon, 12 Jan 2026 14:35:43 +0000 Subject: [PATCH] Re-enable pyx integration tests (#17414) --- scripts/publish/test_publish.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/publish/test_publish.py b/scripts/publish/test_publish.py index 528117f13..6b077af20 100644 --- a/scripts/publish/test_publish.py +++ b/scripts/publish/test_publish.py @@ -176,8 +176,8 @@ local_targets: dict[str, TargetConfiguration] = { ), "pyx-token": TargetConfiguration( "astral-test-token", - "https://astral-sh-staging-api.pyx.dev/v1/upload/uv-publish-integration/main", - "https://astral-sh-staging-api.pyx.dev/simple/uv-publish-integration/main/", + "https://api.pyx.dev/v1/upload/astral-test/main", + "https://api.pyx.dev/simple/astral-test/main/", ), } @@ -199,8 +199,6 @@ all_targets: dict[str, TargetConfiguration] = local_targets | { # Temporarily disable codeberg on CI due to unreliability. all_targets.pop("codeberg", None) -# Temporarily disable pyx staging tests due to broken environment. -all_targets.pop("pyx-token", None) def get_latest_version(target: str, client: httpx.Client) -> Version | None: @@ -643,9 +641,7 @@ def target_configuration(target: str) -> tuple[dict[str, str], list[str]]: elif target == "pyx-token": extra_args = [] env = { - "UV_API_KEY": os.environ["UV_TEST_PUBLISH_PYX_TOKEN"], - # So that uv accesses the right API for check-url. - "PYX_API_URL": "https://astral-sh-staging-api.pyx.dev", + "PYX_API_KEY": os.environ["UV_TEST_PUBLISH_PYX_TOKEN"], } else: raise ValueError(f"Unknown target: {target}")