-
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 tries to install nbformat py3 wheel in a py2 environment #1963
Comments
Does the I know poetry still has issues resolving complex dependencies(namely if you add platform markers, which is why we still haven't moved to poetry) but this looks like a simple "problem" that, if given enough and proper information, poetry should be able to resolve. Anyway, just trying to get more information, I'm still pretty new to poetry. |
Well it does seem that nbformst does set the right information.... |
Yes, I also checked that they correctly specified their wheel as non universal. I am taking a look at poetry for migrating our projects so still in the discovering phase also. |
Reproduced it on 1.0.3. |
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).Issue
When running
poetry add nbformat
with the only requirementpython = "^2.7"
, poetry tries to installnbformat==5.0.4
which is py3 only and fails.I assume from the README that it should find by itself that
4.4.0
is the latest py2 compatible version.If I pin that
nbformat = "4.4.0"
in mypyproject.toml
it gets correctly installed, but I get issues later on withpapermill
.Edit
Reproduced on version 1.0.3.
The text was updated successfully, but these errors were encountered: