Skip to content

Consider upgrading to latest pip to properly install manylinux2014 wheels #2146

@playpauseandstop

Description

@playpauseandstop

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,

  1. docker build -t Dockerfile.poetry & docker build -f Dockerfile.pip19 will fail
  2. While docker build -t Dockerfile.pip20 will 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.2

do 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-dev

Related: #1651 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions