-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
ResolutionImpossible
if requires-python
is empty
#917
Comments
The failure reason is printed in the output:
Why do you think this is a bug? Close it now. |
If |
If given |
No, it does mean any Python version supported. But your dependency |
Basically, if the dependency specifies a |
Aaaaaaaah okay, I understand. So Thanks for the explanation and sorry for the noise. |
The
pdm init
command says "Python requires('*' to allow any)". But if I actually do that, then the resultingpyproject.toml
contains the linerequires-python = ""
, which makes resolution fail.On the other hand, the default
requires-python = ">=3.9"
does not present any problems.Steps to reproduce
Actual behavior
Expected behavior
I would have expected
requires-python = ""
to not cause any issue.Environment Information
The text was updated successfully, but these errors were encountered: