From 52d6d8f381463e24e586a049d0448964f9b738a6 Mon Sep 17 00:00:00 2001 From: Alex Wang Date: Wed, 16 Sep 2026 17:24:42 +0000 Subject: [PATCH] build: pin hatchling to exclude broken 1.32.1 hatchling 1.32.1 (PyPI, 2026-09-16 16:52 UTC) adds `from hatch.plugin.manager import PluginManager` to hatchling/builders/binary.py, but hatchling does not depend on hatch. Every isolated build env that resolves the unpinned `hatchling` requirement now fails at import time with `ModuleNotFoundError: No module named 'hatch'`, so the `build` CI matrix is red on every PR opened since that release (main was green at 22:40 UTC the day before). Pin `build-system.requires` in all seven packages to `hatchling!=1.32.1,<1.33`: exclude the known-broken release, let the upstream patch release through, and keep the next minor from landing untested. Verified locally: `hatch build` in the insight and conformance-tests-otel packages fails before this change and succeeds after it, resolving hatchling 1.32.0. --- .../pyproject.toml | 2 +- .../pyproject.toml | 2 +- .../aws-durable-execution-sdk-python-examples/pyproject.toml | 2 +- .../aws-durable-execution-sdk-python-insight/pyproject.toml | 2 +- packages/aws-durable-execution-sdk-python-otel/pyproject.toml | 2 +- .../aws-durable-execution-sdk-python-testing/pyproject.toml | 2 +- packages/aws-durable-execution-sdk-python/pyproject.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/aws-durable-execution-sdk-python-conformance-tests-otel/pyproject.toml b/packages/aws-durable-execution-sdk-python-conformance-tests-otel/pyproject.toml index c280f1499..465a475d7 100644 --- a/packages/aws-durable-execution-sdk-python-conformance-tests-otel/pyproject.toml +++ b/packages/aws-durable-execution-sdk-python-conformance-tests-otel/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling!=1.32.1,<1.33"] build-backend = "hatchling.build" [project] diff --git a/packages/aws-durable-execution-sdk-python-conformance-tests/pyproject.toml b/packages/aws-durable-execution-sdk-python-conformance-tests/pyproject.toml index a8eb4cf44..49a64f558 100644 --- a/packages/aws-durable-execution-sdk-python-conformance-tests/pyproject.toml +++ b/packages/aws-durable-execution-sdk-python-conformance-tests/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling!=1.32.1,<1.33"] build-backend = "hatchling.build" [project] diff --git a/packages/aws-durable-execution-sdk-python-examples/pyproject.toml b/packages/aws-durable-execution-sdk-python-examples/pyproject.toml index 99cb61bf4..4f14f80f4 100644 --- a/packages/aws-durable-execution-sdk-python-examples/pyproject.toml +++ b/packages/aws-durable-execution-sdk-python-examples/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling!=1.32.1,<1.33"] build-backend = "hatchling.build" [project] diff --git a/packages/aws-durable-execution-sdk-python-insight/pyproject.toml b/packages/aws-durable-execution-sdk-python-insight/pyproject.toml index d953ee481..0691bc32e 100644 --- a/packages/aws-durable-execution-sdk-python-insight/pyproject.toml +++ b/packages/aws-durable-execution-sdk-python-insight/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling!=1.32.1,<1.33"] build-backend = "hatchling.build" [project] diff --git a/packages/aws-durable-execution-sdk-python-otel/pyproject.toml b/packages/aws-durable-execution-sdk-python-otel/pyproject.toml index 36e04b317..cbc2f97a2 100644 --- a/packages/aws-durable-execution-sdk-python-otel/pyproject.toml +++ b/packages/aws-durable-execution-sdk-python-otel/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling!=1.32.1,<1.33"] build-backend = "hatchling.build" [project] diff --git a/packages/aws-durable-execution-sdk-python-testing/pyproject.toml b/packages/aws-durable-execution-sdk-python-testing/pyproject.toml index 3aad21f2b..e1f91a659 100644 --- a/packages/aws-durable-execution-sdk-python-testing/pyproject.toml +++ b/packages/aws-durable-execution-sdk-python-testing/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling!=1.32.1,<1.33"] build-backend = "hatchling.build" [project] diff --git a/packages/aws-durable-execution-sdk-python/pyproject.toml b/packages/aws-durable-execution-sdk-python/pyproject.toml index 8fa2b6197..207a17543 100644 --- a/packages/aws-durable-execution-sdk-python/pyproject.toml +++ b/packages/aws-durable-execution-sdk-python/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling!=1.32.1,<1.33"] build-backend = "hatchling.build" [project]