Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install editable if written as absolute path #4723

Open
yajo opened this issue Jul 2, 2024 · 1 comment
Open

Cannot install editable if written as absolute path #4723

yajo opened this issue Jul 2, 2024 · 1 comment
Labels
needs-mre Needs more information for reproduction

Comments

@yajo
Copy link

yajo commented Jul 2, 2024

Consider I already have a venv activated, and the CWD is /home/yajo/my-env:

echo "-e /home/yajo/my-custom-pkg" > requirements.txt
uv pip sync requirements.txt
error: Failed to build editables
  Caused by: Source distribution not found at: /home/yajo/my-env/"/home/yajo/my-custom-pkg"

It's trying to interpret the editable requirement as a relative path always.

@konstin konstin added the bug Something isn't working label Jul 2, 2024
@charliermarsh
Copy link
Member

Huh, this works as expected for me. Are you on Windows?

@charliermarsh charliermarsh added needs-mre Needs more information for reproduction and removed bug Something isn't working labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-mre Needs more information for reproduction
Projects
None yet
Development

No branches or pull requests

3 participants