-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
-
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 (
-vvvoption). -
OS version and name:
python:3.8.2-slim-buster/playpauseandstop/docker-python:3.2.0-py38 -
Poetry version:
1.0.5 -
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/playpauseandstop/826584409a09fccba0cd1d485251e192
Issue
Internally Poetry still using pip==19.2.3. While in most cases it doesn't result in any issues, installing pyheif==0.4 (and other projects with manylinux2014 wheels) may result in error.
Steps to reproduce
Easiest way to reproduce is to attempt installing pyheif within Docker python:3.8.2-slim-buster or derivates images with poetry (which internally used pip 19.2.3) & pip 20.0.2,
docker build -t Dockerfile.poetry&docker build -f Dockerfile.pip19will fail- While
docker build -t Dockerfile.pip20will succeed
That shows, that latest pip properly install manylinux2014 wheels, while poetry & pip==19.2.3 do not.
Depending on latest pip
Adding latest pip to pyproject.toml dependencies as,
poetry add pip==20.0.2do not fix the issue and the manylinux2014 wheels still not installable with poetry.
Fix the issue with pyheif
To fix the issue with pyheif I need to install latest libheif-dev package from sid as,
RUN echo "deb http://ftp.de.debian.org/debian sid main" > /etc/apt/sources.list.d/sid.list
RUN apt update
RUN apt install -y libheif-devRelated: #1651 (comment)