Skip to content

Use a dedicated environment for ruff-lsp tests - #27856

Merged
zanieb merged 4 commits into
astral-sh:mainfrom
zaniebot:agent/ruff-lsp-test-environment
Aug 19, 2026
Merged

zanieb merged 4 commits into
astral-sh:mainfrom
zaniebot:agent/ruff-lsp-test-environment

Conversation

@zaniebot

@zaniebot zaniebot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

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.

@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.

Comment thread .github/workflows/ci.yaml Resolved
@zanieb zanieb added the ci Related to internal CI tooling label Aug 18, 2026
@zaniebot
zaniebot force-pushed the agent/ruff-lsp-test-environment branch 2 times, most recently from cd3784f to d7272bb Compare August 18, 2026 21:51
@zanieb
zanieb marked this pull request as ready for review August 18, 2026 23:17
Comment thread .github/workflows/ci.yaml Resolved
@zaniebot
zaniebot force-pushed the agent/ruff-lsp-test-environment branch from b87ecd8 to 9bba2d2 Compare August 19, 2026 13:57
@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)

@zanieb
zanieb enabled auto-merge (squash) August 19, 2026 14:02
@zanieb
zanieb merged commit e5346f2 into astral-sh:main Aug 19, 2026
81 checks passed
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

ci Related to internal CI tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants