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

Difference with pip on local non-editable installs #1827

Closed
hsheth2 opened this issue Feb 21, 2024 · 2 comments
Closed

Difference with pip on local non-editable installs #1827

hsheth2 opened this issue Feb 21, 2024 · 2 comments

Comments

@hsheth2
Copy link

hsheth2 commented Feb 21, 2024

$ uv pip install '.'
error: Failed to parse `.`
  Caused by: Expected package name starting with an alphanumeric character, found '.'
.

# whereas pip allows this
$ pip install '.'  # works as expected

I saw #1000 - if I do uv pip install 'package-name @ .' then it works, but pip doesn't like that syntax. Ideally there'd be something that works uniformly across both.

$ uv --version
0.1.6
@charliermarsh
Copy link
Member

👍 This is the same as #313 -- we'll lift this restriction eventually, it just made life easier for reasons that relate to implementation details.

@charliermarsh charliermarsh closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
@charliermarsh
Copy link
Member

This is supported as of v0.1.24. You can uv pip install . directly, without including a package name.

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

No branches or pull requests

2 participants