Long story short: poetry does not support installing manylinux2014
wheels.
Issue: python-poetry/poetry#2146
As poetry still internally using pip==19.2.3
it
is not able to install manylinux2014
wheels. In most cases it might be ok,
but for my case it results in inability installing pyheif==0.4
with poetry in Docker.
Given dockerfile attempts to install pyheif==0.4
with poetry and will fail.
To run,
docker -f Dockerfile.poetry .
Given dockerfile downgrade pip to 19.2.3
to ensure that manylinux2014
wheels
is not installable.
To run,
docker -f Dockerfile.pip19 .
Given dockerfile uses latest (as of 2020-03-07) pip, which supports installing
manylinux2014
wheels.
To run,
docker -f Dockerfile.pip20 .