Skip to content

Add uv dependency resolver configuration with version constraint#227

Merged
adambalogh merged 2 commits intoOpenGradient:mainfrom
adambalogh:claude/add-exclude-newer-uv-QLF6X
Apr 1, 2026
Merged

Add uv dependency resolver configuration with version constraint#227
adambalogh merged 2 commits intoOpenGradient:mainfrom
adambalogh:claude/add-exclude-newer-uv-QLF6X

Conversation

@adambalogh
Copy link
Copy Markdown
Collaborator

Summary

Added configuration for the uv package manager to constrain dependency resolution to packages published before a specific date.

Changes

  • Added [tool.uv] configuration section to pyproject.toml
  • Set exclude-newer to 2026-03-25T00:00:00Z to prevent uv from using packages released after this date during dependency resolution

Details

This configuration ensures reproducible builds by limiting the uv resolver to a fixed point in time, preventing unexpected updates from newer package versions. This is useful for maintaining stability and predictability in the project's dependency tree.

https://claude.ai/code/session_01LXQH3dzc39q98gtVZ4TJuc

claude added 2 commits April 1, 2026 21:06
Pins uv package resolution to 2026-03-25 to mitigate risk from
recent package supply chain attacks.

https://claude.ai/code/session_01LXQH3dzc39q98gtVZ4TJuc
Changes "2026-03-25T00:00:00Z" to "7d" so it always resolves to
7 days ago from the current time.

https://claude.ai/code/session_01LXQH3dzc39q98gtVZ4TJuc
@adambalogh adambalogh merged commit 940432c into OpenGradient:main Apr 1, 2026
6 checks passed
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.

2 participants