Skip to content

Add an explicit flag to synchronize script dependencies - #260

Merged
sharkdp merged 1 commit into
mainfrom
codex/sync-script-dependencies
Nov 18, 2026
Merged

sharkdp merged 1 commit into
mainfrom
codex/sync-script-dependencies

Conversation

@sharkdp

@sharkdp sharkdp commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Add --sync-script-dependencies so callers can warm PEP 723 script environments before measuring ty. The flag reuses the existing uv preinstallation and passes --config 'project-manager.script="uv"' to every ty invocation, including both revisions in a diff. This replaces the analyzer's TY_UV check.

@sharkdp
sharkdp merged commit b67a888 into main Nov 18, 2026
3 checks passed
@sharkdp
sharkdp deleted the codex/sync-script-dependencies branch November 18, 2026 14:19
sharkdp added a commit to astral-sh/ruff that referenced this pull request Nov 18, 2026
Use `--sync-script-dependencies` in the ecosystem workflow to preinstall
PEP 723 script dependencies before timing either revision. The analyzer
passes `project-manager.script = "uv"` to both ty binaries, so the
workflow can drop `TY_UV: scripts`.

Update `uv.lock` to the analyzer revision that introduced the flag.
[astral-sh/ecosystem-analyzer#260](astral-sh/ecosystem-analyzer#260)
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.

1 participant