-
Notifications
You must be signed in to change notification settings - Fork 985
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
Get Consider setting a lower bound
warning from root package
#8155
Comments
Whenever we see an unpinned proxy package, we know that its base package is also unpinned and emitted a warning. Part 1 of 2 for #8155
The warnings for the extras were a bug, fixed in #9497. For the resolution lowest test, can you do the following:
Separate |
Whenever we see an unpinned proxy package, we know that its base package is also unpinned and emitted a warning. Part 1 of 2 for #8155
Thanks a lot for the timely fix and for providing the additional context, I would update the install command :) I cannot appreciate more! |
Update: I just build the
Gives:
|
I think that should arguably not error but what you want is:
Right now, it's as if you provided two dependencies: the URL, alongside an unpinned |
It would also be solved by #9540. |
Thanks for the input and for the fix :) I would correct my Also cheers for the wonderful tool I could confirm I'm not getting that unpinned warning (though another
And finally some off-topic comment in case it might be helpful, but I found the
|
@DanielYang59 there's a secret |
Hi @zanieb thanks for letting me know, this looks much rational, just wondering is it stable enough to be used in production (i.e. would it be renamed/removed at some point)?
|
It's stable, we're using it in our tests. I can unhide it. |
In #8155 (comment), resolution lowest was complaining about missing lower bounds for a pacakge, even though the package had a URL, too: ``` uv pip install dist/pymatgen-2024.10.3.tar.gz pymatgen[ci,optional] --resolution=lowest ``` The error was raised from `pymatgen[ci,optional]`, because we were looking at it before looking at the "URL" `dist/pymatgen-2024.10.3.tar.gz`. I've also added constraints and overrides to the bounds lookup, since they are missing from the dependency graph.
Thanks a lot for the input and for the additional work :) Really appreciate that! |
In #8155 (comment), resolution lowest was complaining about missing lower bounds for a pacakge, even though the package had a URL, too: ``` uv pip install dist/pymatgen-2024.10.3.tar.gz pymatgen[ci,optional] --resolution=lowest ``` The error was raised from `pymatgen[ci,optional]`, because we were looking at it before looking at the "URL" `dist/pymatgen-2024.10.3.tar.gz`. I've also added constraints and overrides to the bounds lookup, since they are missing from the dependency graph. Fixes #8155 (again)
Presumably a partial duplicate of #5227, getting the following warning for the root package itself both inside the Github workflow environment (could also recreate in my MacOS machine), with all dependencies in
ci,optional
have a lower bound:With the following command in
test.yml
(could also recreate in MacOS command line):uv version:
uv-0.4.20
Perhaps I was using the command incorrectly (Intend to install from sdist with extras)?
The text was updated successfully, but these errors were encountered: