-
Notifications
You must be signed in to change notification settings - Fork 732
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
v0.4.14 seems to have resolver issues #7606
Comments
0.4.13 also has an issue
same error as the end of the OP I didn't check them all but The correct resolution should be
|
The actual dependency I need to satisfy is |
Latest versions have resolver issues. astral-sh/uv#7606
Sorry struggling to reproduce this, am I doing something wrong?
|
indeed, seems to be fine alone:
now let's try with the actual package that I depend on:
that By looking at the source code of these repos - the only suspect to where
|
Looks like this regressed in 0.4.13
|
I'll do a release real-quick to get this revert out. |
Okay, I think the root problem here is that
And we succeed in that case. Others contain this definition, which looks like a mistake:
If we can't find a valid wheel for a dependency, we'll still read metadata from an incompatible wheel. The change I made was actually fine, it that it started preferring different incompatible wheels than before (wheels that are closer to being compatible). But I guess we were just lucky before that we got the "good" metadata vs. the "bad" metadata here. |
I created an issue here: nmslib/nmslib#558 |
Thank you for getting to the root of it, Charlie. Yes, their last released package is many years old. I'm asking already to get a new source release made, but it appears to be far from trivial according to the owner. Not sure what to do. castorini/pyserini#1985 Thank you for flagging this issue to the owner of that package, Charlie. |
No problem. The other thing we could do is curate a list of "rejected" wheels in uv itself... That feels wrong and I'd prefer to avoid it, but we may be forced into it eventually. |
That would require a lot of unnecessary maintenance work on your part. I wonder if |
our
uv pip compile -v setup.py --extra replug
has just started failing on CI onceuv
has been updated:The parser seems to be getting the requirements wrong, because:
but I'm running py3.10
an easier way to repro is to just run:
The text was updated successfully, but these errors were encountered: