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

Paths not working as expected with --find-links #8057

Closed
xenago opened this issue Oct 9, 2024 · 1 comment · Fixed by #8061
Closed

Paths not working as expected with --find-links #8057

xenago opened this issue Oct 9, 2024 · 1 comment · Fixed by #8061
Assignees
Labels
bug Something isn't working

Comments

@xenago
Copy link

xenago commented Oct 9, 2024

Hello,

The behaviour of --find-links seems to have changed, possibly with #7912 (shipped in version 0.4.19). In version 0.4.18, the following line works to install a .whl stored in a local directory e.g. Sentiment Analysis/en_core_web_sm/en_core_web_sm-3.7.1-py3-none-any.whl:

uv pip install --find-links="Sentiment Analysis/en_core_web_sm" en_core_web_sm

image

However, in versions >0.4.18, the following error is printed:

error: invalid value 'Sentiment' for '--find-links <FIND_LINKS>': relative URL without a base

image

It looks like it is treating the file path as a URL and also splitting it on the space character?

@charliermarsh charliermarsh self-assigned this Oct 9, 2024
@charliermarsh charliermarsh added the bug Something isn't working label Oct 9, 2024
@charliermarsh
Copy link
Member

Thanks, that's a bug on my part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants