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

uv add resolution failure error includes current project version #5342

Closed
zanieb opened this issue Jul 23, 2024 · 5 comments
Closed

uv add resolution failure error includes current project version #5342

zanieb opened this issue Jul 23, 2024 · 5 comments
Assignees
Labels
error messages Messaging when something goes wrong

Comments

@zanieb
Copy link
Member

zanieb commented Jul 23, 2024

$ uv add 'httpx>9999'
error: Because only httpx<=9999 is available and example==0.1.0 depends on httpx>9999, we can conclude that example==0.1.0 cannot be used.
And because only example==0.1.0 is available and you require example, we can conclude that the requirements are unsatisfiable.

It's really weird to include the following:

only example==0.1.0 is available and you require example

@zanieb zanieb added the error messages Messaging when something goes wrong label Jul 23, 2024
@charliermarsh charliermarsh self-assigned this Jul 30, 2024
@charliermarsh
Copy link
Member

Should it even say "you require example"?

@zanieb
Copy link
Member Author

zanieb commented Aug 1, 2024

Definitely not, that's part of the problem.

@charliermarsh
Copy link
Member

Even if example is a workspace member, but not the root...?

@zanieb
Copy link
Member Author

zanieb commented Aug 1, 2024

I'm not sure. We should probably have a special-case for workspace members though 😭

@charliermarsh charliermarsh assigned zanieb and unassigned charliermarsh Aug 9, 2024
@zanieb
Copy link
Member Author

zanieb commented Aug 16, 2024

Solved in #6092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error messages Messaging when something goes wrong
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants