-
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
Consider upgrading to latest pip to properly install manylinux2014 wheels #2146
Comments
Poetry cannot install the latest versions of yarl and multidict, which breaks installation of aiohttp in our CI environment. Both libraries now build only manylinux2014 wheels. |
@WouldYouKindly You might want to open a new ticket. I am not sure your issue is related to the original ticket. As far as I know poetry does not depend much on pip directly anymore. Since v1.1, poetry has its own installer, so I have my doubts that the original ticket is still relevant. Although it still uses pip on some particular cases, if I am not mistaken. Anyway, I could not recreate your issue I would advise you to open a new ticket and provide the exact details of your issue (version numbers, full |
As @sinoroc suggested, I do not think this should be an issue anymore considering that #2666 has been merged. As we are now tied to the version provided by If further control is required over the podman run --rm -i --entrypoint bash python:3.8 <<EOF
set -xe
python -m pip install -q poetry
poetry new foobar
pushd foobar
sed -i /pytest/d pyproject.toml
poetry run pip --version
poetry add pyheif==0.4
EOF + python -m pip install -q poetry
+ poetry new foobar
Created package foobar in foobar
+ pushd foobar
/foobar /
+ sed -i /pytest/d pyproject.toml
+ poetry run pip --version
Creating virtualenv foobar-lWDpn5M1-py3.8 in /root/.cache/pypoetry/virtualenvs
pip 20.2.4 from /root/.cache/pypoetry/virtualenvs/foobar-lWDpn5M1-py3.8/lib/python3.8/site-packages/pip (python 3.8)
+ poetry add pyheif==0.4
Updating dependencies
Resolving dependencies...
Writing lock file
Package operations: 3 installs, 0 updates, 0 removals
• Installing pycparser (2.20)
• Installing cffi (1.14.3)
• Installing pyheif (0.4) |
PS: @playpauseandstop thank you for a great issue report! 🎉 |
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. |
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:
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 Dockerpython: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.pip19
will faildocker build -t Dockerfile.pip20
will succeedThat shows, that latest pip properly install
manylinux2014
wheels, whilepoetry
&pip==19.2.3
do not.Depending on latest pip
Adding latest pip to
pyproject.toml
dependencies as,do not fix the issue and the
manylinux2014
wheels still not installable withpoetry
.Fix the issue with pyheif
To fix the issue with
pyheif
I need to install latestlibheif-dev
package from sid as,Related: #1651 (comment)
The text was updated successfully, but these errors were encountered: