Skip to content

Preserve absolute/relative paths passed to uv add#18402

Open
EliteTK wants to merge 1 commit intotk/absolute-relative-path-fixfrom
tk/absolute-relative-path-fix-breaking
Open

Preserve absolute/relative paths passed to uv add#18402
EliteTK wants to merge 1 commit intotk/absolute-relative-path-fixfrom
tk/absolute-relative-path-fix-breaking

Conversation

@EliteTK
Copy link
Contributor

@EliteTK EliteTK commented Mar 11, 2026

Summary

Follow up change to #18176. This fixes the remaining absolute/relative path issues for uv add editing pyproject.toml.

uv add will now store an absolute path in pyproject.toml when passed one, either as a path or as a file URL.

Test Plan

Adjustments to existing tests.

@EliteTK EliteTK requested a review from konstin March 11, 2026 00:15
@EliteTK EliteTK added bug Something isn't working breaking A breaking change labels Mar 11, 2026
@EliteTK EliteTK added this to the v0.11.0 milestone Mar 11, 2026
@EliteTK EliteTK marked this pull request as draft March 11, 2026 00:22
@EliteTK EliteTK force-pushed the tk/absolute-relative-path-fix branch from 8c38f1a to 666ae61 Compare March 11, 2026 00:28
@EliteTK EliteTK marked this pull request as ready for review March 11, 2026 00:34
@konstin
Copy link
Member

konstin commented Mar 11, 2026

There's an empty diff in this branch, probably needs a rebase?

@EliteTK EliteTK force-pushed the tk/absolute-relative-path-fix-breaking branch from 44b79e5 to 13eeebc Compare March 11, 2026 14:06
@EliteTK
Copy link
Contributor Author

EliteTK commented Mar 11, 2026

No idea what happened there... It's fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking A breaking change bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants