Skip to content

Allow exclude-newer to be missing from the lockfile when exclude-newer-span is present#19024

Merged
zanieb merged 2 commits intoastral-sh:mainfrom
zaniebot:claude/fix-lockfile-timestamp-logic-ThVKd
Apr 21, 2026
Merged

Allow exclude-newer to be missing from the lockfile when exclude-newer-span is present#19024
zanieb merged 2 commits intoastral-sh:mainfrom
zaniebot:claude/fix-lockfile-timestamp-logic-ThVKd

Conversation

@zanieb
Copy link
Copy Markdown
Member

@zanieb zanieb commented Apr 16, 2026

Following #19022 this is an incremental step towards removing exclude-newer timestamps from lockfiles. We don't remove it here, but we ensure from this version onward, uv will not behave poorly when the value is missing. This includes substantial refactoring to better represent the desired end state in our exclude-newer types.

@zaniebot zaniebot force-pushed the claude/fix-lockfile-timestamp-logic-ThVKd branch from abf2f77 to 787512d Compare April 20, 2026 15:34
@zanieb zanieb force-pushed the claude/fix-lockfile-timestamp-logic-ThVKd branch from 787512d to a1e4f70 Compare April 20, 2026 19:58
Comment thread crates/uv-distribution-types/src/exclude_newer.rs Outdated
Comment thread crates/uv-distribution-types/src/exclude_newer.rs Outdated
Comment thread crates/uv-distribution-types/src/exclude_newer.rs Outdated
Comment thread crates/uv-distribution-types/src/exclude_newer.rs Outdated
@zanieb zanieb force-pushed the claude/fix-lockfile-timestamp-logic-ThVKd branch from a1e4f70 to 9560351 Compare April 21, 2026 13:07
@zanieb zanieb force-pushed the claude/fix-lockfile-timestamp-logic-ThVKd branch from 8759e5e to dc8d7d6 Compare April 21, 2026 13:15
@zanieb zanieb marked this pull request as ready for review April 21, 2026 13:54
@zsol zsol self-requested a review April 21, 2026 13:56
Copy link
Copy Markdown
Member

@zsol zsol left a comment

Choose a reason for hiding this comment

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

awesome

Comment thread crates/uv-resolver/src/lock/mod.rs Outdated
@zanieb zanieb merged commit caee484 into astral-sh:main Apr 21, 2026
74 of 79 checks passed
@zsol zsol added the enhancement New feature or improvement to existing functionality label Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants