Skip to content

Rebase pylock paths for nested exports#133

Closed
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt100/069-pylock-export-relative-paths
Closed

Rebase pylock paths for nested exports#133
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt100/069-pylock-export-relative-paths

Conversation

@zaniebot

@zaniebot zaniebot commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Exporting a lock to locks/pylock.*.toml can preserve a project-relative dep path, so a consumer resolves locks/dep and fails. Rebase relative directory and archive paths against the output lockfile's directory.

See the pylock.toml directory-path and archive-path rules.

This is related to the portability report uv#16299: rebase existing relative paths without converting deliberately absolute paths, preserving the intent established in uv#18176.

Moved to: astral-sh/uv-dev#131.

@zaniebot zaniebot closed this Jul 16, 2026
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