Skip to content

Require wheels for Python tooling dependencies - #27840

Closed
zaniebot wants to merge 1 commit into
astral-sh:ww/docsfrom
zaniebot:agent/no-build-by-default
Closed

zaniebot wants to merge 1 commit into
astral-sh:ww/docsfrom
zaniebot:agent/no-build-by-default

Conversation

@zaniebot

@zaniebot zaniebot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #27843.

Python tooling can currently build third-party source distributions. Set no-build in the maintained Python projects and PEP 723 scripts, retaining named exceptions for local tooling and the pinned mypy-primer dependency. Pin the isolated build dependencies for those exceptions, including their transitive requirements. Run the legacy ruff-lsp suite on Python 3.11, where its pinned dependencies have wheels.

@zanieb zanieb self-assigned this Aug 18, 2026
@astral-sh-bot

astral-sh-bot Bot commented Aug 18, 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.

@codspeed

codspeed Bot commented Aug 18, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 6.7%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 2 improved benchmarks
✅ 177 untouched benchmarks
⏩ 24 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ Memory hydra-zen 51.4 MB 47.4 MB +8.53%
⚡ Simulation hydra-zen 1.7 s 1.6 s +4.89%

Tip

Curious why this is faster? Use the CodSpeed MCP and ask your agent.


Comparing zaniebot:agent/no-build-by-default (081230f) with ww/docs (8be24f4)

Open in CodSpeed

Footnotes

  1. 24 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@zaniebot
zaniebot force-pushed the agent/no-build-by-default branch from 9a9c730 to 081230f Compare August 18, 2026 19:10
@zaniebot
zaniebot changed the base branch from main to ww/docs August 18, 2026 19:10
@astral-sh-bot

astral-sh-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 97.68%. The percentage of expected errors that received a diagnostic held steady at 93.44%. The number of fully passing files held steady at 109/136.

@astral-sh-bot

astral-sh-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

Memory usage report

Memory usage unchanged ✅

Comment thread .github/workflows/ci.yaml
Comment on lines -1038 to +1039
# installation fails on 3.13 and newer
python-version: "3.12"
# The pinned legacy dependencies have wheels for Python 3.11.
python-version: "3.11"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🤔

@woodruffw
woodruffw deleted the branch astral-sh:ww/docs August 18, 2026 20:56
@woodruffw woodruffw closed this Aug 18, 2026
zanieb pushed a commit that referenced this pull request Aug 19, 2026
Python tooling can currently build third-party source distributions. Set
`no-build` in the maintained Python projects and PEP 723 scripts,
retaining named exceptions for Git-pinned tooling and the local
ecosystem runner. Pin the isolated build dependencies for those
exceptions, including their transitive requirements.

Follows merged #27856, which gives the legacy `ruff-lsp`
suite a dedicated, locked Python 3.12 test environment.

Follow-up to #27843. Replaces #27840, which
closed when the merged docs branch was deleted.

Co-authored-by: zaniebot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants