-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
--pre per–package #1696
Comments
This would be nice, but is not feasible (as far as I know) with the way our current resolver code works. It's either "all or nothing". |
But if you know you want a specific package to be prerelease then you probably know what version, so (once we get the strict pinning bug sorted) you should be able to just pin the prerelease |
+1, closing for that solution, for now. Our resolver just doesn't allow this yet. |
Thanks for the suggestion, though! |
Hello @techalchemy If you reread my bug, this pinning of the release does not work if there are 2 packages describing the same dependency, where one says "a==1.0" and the other says "a>=1.0"; of course when the resolution is obvious but a human being (especially because the list after containst this very version) |
please see #1687 |
indeed, same issue |
Fix pypa#1696 Fix pypa#1687 Reference pypa#1693 Signed-off-by: Gaetan Semet <[email protected]>
Fix pypa#1696 Fix pypa#1687 Reference pypa#1693 Signed-off-by: Gaetan Semet <[email protected]>
Fix pypa#1696 Fix pypa#1687 Reference pypa#1693 Signed-off-by: Gaetan Semet <[email protected]>
Well, I think, if the problem in resolver, there is need to replace it. |
And not reject any issues just with "our resolver can't do that". |
This is a follow up on #1677.
pipenv lock
doesn't work because I need a preversion of a single package.pipenv lock --pre
does work but might add other, unwanted preversion in dependencies.I would like to propose my help in implementing this feature: if one package needs to be frozen to a preversion (and only one), allow the dependency finding to pick this one even without the
--pre
parameter.The
--pre
parameter which the preversion search for all packages, and sometimes we only want one packageThe text was updated successfully, but these errors were encountered: