Skip to content

Use build backends with fewer dependencies for Python tooling - #27886

Merged
AlexWaygood merged 3 commits into
mainfrom
alex/reduce-hatchling-build-backends
Aug 19, 2026
Merged

AlexWaygood merged 3 commits into
mainfrom
alex/reduce-hatchling-build-backends

Conversation

@AlexWaygood

@AlexWaygood AlexWaygood commented Aug 19, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Switch python/ruff-ecosystem and scripts/ty_benchmark from Hatchling to uv_build, configuring each backend for its existing package layout.
  • Switch python/py-fuzzer to flit-core, which supports its existing standalone fuzz.py module.
  • Replace each nested project's seven-package Hatchling build environment with a single pinned backend dependency and update its lockfile where applicable.
  • Preserve Ruff's Maturin backend and the root build constraints required by Git-pinned tooling.
  • Commit the lockfile for ruff-ecosystem

@AlexWaygood
AlexWaygood force-pushed the alex/reduce-hatchling-build-backends branch from 6a01e1e to e53185e Compare August 19, 2026 14:43
@AlexWaygood AlexWaygood added the internal An internal refactor or improvement (not for changelogs) label Aug 19, 2026
@AlexWaygood
AlexWaygood marked this pull request as ready for review August 19, 2026 14:44
@AlexWaygood
AlexWaygood requested a review from a team as a code owner August 19, 2026 14:44
@zanieb
zanieb enabled auto-merge (squash) August 19, 2026 14:45

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We didn't have a lockfile committed here before 😱

@AlexWaygood
AlexWaygood disabled auto-merge August 19, 2026 14:54
@AlexWaygood AlexWaygood changed the title Use simpler build backends for Python tooling Use build backends with fewer dependencies for Python tooling Aug 19, 2026
@astral-sh-bot

astral-sh-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@AlexWaygood
AlexWaygood enabled auto-merge (squash) August 19, 2026 15:03
@AlexWaygood
AlexWaygood force-pushed the alex/reduce-hatchling-build-backends branch from cd3f18c to 5b75dcf Compare August 19, 2026 15:16
@astral-sh-bot

astral-sh-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

ecosystem-analyzer results

No diagnostic changes detected ✅

Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.

Full report with detailed diff (timing results)

@AlexWaygood
AlexWaygood merged commit 88ffbca into main Aug 19, 2026
71 of 72 checks passed
@AlexWaygood
AlexWaygood deleted the alex/reduce-hatchling-build-backends branch August 19, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement (not for changelogs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants