Repository navigation
Require wheels for Python tooling dependencies - #27861
Conversation
Typing conformance resultsNo changes detected ✅Current numbersThe 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. |
Memory usage reportMemory usage unchanged ✅ |
Merging this PR will not alter performance
Comparing Footnotes
|
|
31562e2 to
fa82cfc
Compare
fa82cfc to
5b6f76b
Compare
| # dependencies = [] | ||
| # | ||
| # [tool.uv] | ||
| # no-build = true |
There was a problem hiding this comment.
Does uv need setting inheritance for scripts? 😆
|
I filed zaniebot#1 against this branch to move more of our Python tools away from hatchling as a build backend. That dramatically decreases the build dependencies we need to pin in some cases. |
5b6f76b to
52c891a
Compare
b87ecd8 to
9bba2d2
Compare
The legacy `ruff-lsp` compatibility job installs the archived project's entire development environment, including `mypy` and `typed-ast`, even though it only runs pytest. Those frozen development dependencies require source builds on Python 3.12. Add a locked `ruff-lsp-test` dependency group containing the runtime and test dependencies. Keep the suite on Python 3.12, the newest version covered by the archived project's CI, and leave the published `ruff` package out of the environment so the tests exercise the binary built from this checkout. This is the base for #27861, which requires wheels for Python tooling dependencies. --------- Co-authored-by: zaniebot <[email protected]>
|
52c891a to
80c7281
Compare
…ype-form * origin/main: [ty] Fix dynamic-class diagnostic snapshot in string annotations (#27890) Lock `wrangler` for playground deployments (#27838) [ty] Dogfood standalone scripts with inline configuration (#27885) Annotate intentional release secret inheritance (#27887) [ty] Skip invalid subscript operands in string annotations (#27882) [ty] Handle dynamic classes in string annotations (#27883) Disable `npm` install scripts by default (#27837) Require wheels for Python tooling dependencies (#27861) Update dependency pytest to v9 (#27881)
Python tooling can currently build third-party source distributions. Set
no-buildin 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-lspsuite a dedicated, locked Python 3.12 test environment.Follow-up to #27843. Replaces #27840, which closed when the merged docs branch was deleted.