-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Poetry add tries to add incorrect version of library causing solver to fail #5453
Comments
Please read the error stack thoroughly:
You know what that means right? I think you can point where the problem lies for now and should close this issue. |
@Rafeqm I think you have misunderstood the report. It is poetry that chooses to add pyproj Instead, it seems that I doubt that this is something that's likely to change any time soon, unless someone gets motivated and submits a merge request. But it's a perfectly sensible thing to report. |
Ah, I tried looking for duplicates. It does look similar to those issues. Maybe I'll make this issue a first contribution... |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).https://gist.github.com/jgentil/2751d9ebc8dbb2cba97398f489eb4986
Issue
I can't get Poetry to install the correct version of a package given the constraints in my pyproject.toml file, which is to keep it to supporting Python 3.7.x only.
When I run:
Looking on PyPI at the pyproj package I see that 3.3.0 is only compatible with Python >=3.8. But 3.2.1 is compatible with Python >=3.7. Poetry seems to be installing the wrong version.
When using
pip install pyproj
it correctly identifies and installs pyproj 3.2.1 just fine.The text was updated successfully, but these errors were encountered: