poetry tries to install nbformat py3 wheel in a py2 environment
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: CentOS 7
- Poetry version: 1.0.3, 1.0.2
- Link of a Gist with the contents of your pyproject.toml file:
[tool.poetry.dependencies]
python = "^2.7"
Issue
When running poetry add nbformat
with the only requirement python = "^2.7"
, poetry tries to install nbformat==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 my pyproject.toml
it gets correctly installed, but I get issues later on with papermill
.
Edit Reproduced on version 1.0.3.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
pip subprocess to install backend dependencies did not run ...
I have a docker image with poetry-core installed and inside the container I tried to run a pip install of project and it...
Read more >Resolving new pip backtracking runtime issue - Stack Overflow
Currently, the best way I can think of is running pip install setup.py locally in a new virtual environment, then using pip freeze...
Read more >30371 (Use pipenv to create venv for development) - Sage Trac
So running pipenv install results in a semi-workable virtual environment. ... /src-BXov0SKG/lib/python3.8/site-packages/pip (python 3.8) Non-user install by ...
Read more >Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. ... hip, hip-rocclr, rocm-gdb; Run Dependencies: py-wheel; Description: llvm openmp compiler from...
Read more >poetry.lock - deepicedrain - DagsHub
poetry.lock 321 KB ... description = "Clean single-source support for Python 3 and 2" ... appdirs = [; {file = "appdirs-1.4.4-py2.py3-none-any.whl", ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well it does seem that nbformst does set the right information…
Another duplicate of #707, #1589, #2171, #5453, …