2
20
Fork
You've already forked codeberg-cli
1

Personal dev path committed to tool.uv.sources breaks local installs #2

Closed
opened 2026年05月07日 13:08:43 +02:00 by stackdrift · 1 comment
Contributor
Copy link

In pyproject.toml, a developer's local macOS user path was committed under [tool.uv.sources]:

xclif = { path = "/Users/bryanhu/Developer/current/XClif/xclif" }

Following the readme to install from source now breaks like this:

$ uv tool install .
error: Distribution not found at: file:///Users/bryanhu/Developer/current/XClif/xclif

Removing the offending block from pyproject.toml and running uv lock allows UV to resolve xclif against PyPI, then install works as expected.

In pyproject.toml, a developer's local macOS user path was committed under `[tool.uv.sources]`: https://codeberg.org/thatxliner/codeberg-cli/src/commit/6a11a56031cb4005847cc076c483c7be8834093f/pyproject.toml#L41 Following the readme to install from source now breaks like this: ``` $ uv tool install . error: Distribution not found at: file:///Users/bryanhu/Developer/current/XClif/xclif ``` Removing the offending block from pyproject.toml and running `uv lock` allows UV to resolve xclif against PyPI, then install works as expected.

Thank you very much for your contribution!

Thank you very much for your contribution!
Sign in to join this conversation.
No Branch/Tag specified
main
worktree-feature+repo-commands
v0.5.0
v0.4.2
v0.4.1
v0.4.0
v0.2.0
v0.1.0v2
v0.1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thatxliner/codeberg-cli#2
Reference in a new issue
thatxliner/codeberg-cli
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?