Skip to content

Respect package-specific cutoffs when selecting ty - #816

Closed
zaniebot wants to merge 2 commits into
mainfrom
zb/fix-check-exclude-newer
Closed

zaniebot wants to merge 2 commits into
mainfrom
zb/fix-check-exclude-newer

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

uv check discarded package-specific exclude-newer settings when selecting its standalone ty binary, so an exemption or date override could still be constrained by the global cutoff. Use the effective cutoff for ty from the resolved configuration, preserving package overrides and the existing global fallback for project and script checks.

Fixes astral-sh#21211.

Comment thread crates/uv/tests/project/check.rs Outdated
@zanieb
zanieb marked this pull request as ready for review August 19, 2026 18:50
@astral-automations-bot

Copy link
Copy Markdown

Promoted to #21227.

@astral-automations-bot astral-automations-bot Bot added bug Something isn't working preview Experimental behavior labels Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working preview Experimental behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uv check --script ignores exclude-newer-package exemptions when selecting ty

3 participants