Skip to content
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

python3.6-alpine pip 19 bug #372

Closed
suederade opened this issue Jan 29, 2019 · 2 comments
Closed

python3.6-alpine pip 19 bug #372

suederade opened this issue Jan 29, 2019 · 2 comments

Comments

@suederade
Copy link

Pip 19 has a bug pypa/pip#6197 which is causing builds to break with the python3.6-alpine. Are there past versions to be able to pull from in the mean time or will this need to be a manual process?

@tianon
Copy link
Member

tianon commented Jan 30, 2019

Certainly, that's exactly what https://github.com/docker-library/repo-info is for.

See https://github.com/docker-library/repo-info/blob/master/repos/python/remote/3.6-alpine.md, but especially https://github.com/docker-library/repo-info/commits/master/repos/python/remote/3.6-alpine.md, we see docker-library/repo-info@81ae0dd#diff-9cc79fc4f8d05af146299c9d1e360deb, which has the change we're interested in:

-# Wed, 26 Dec 2018 13:15:40 GMT
-ENV PYTHON_PIP_VERSION=18.1
-# Wed, 26 Dec 2018 13:15:45 GMT
+# Sat, 26 Jan 2019 13:17:00 GMT
+ENV PYTHON_PIP_VERSION=19.0.1
+# Sat, 26 Jan 2019 13:17:10 GMT

But we actually want to go just a little further back to docker-library/repo-info@37e362b#diff-9cc79fc4f8d05af146299c9d1e360deb, where amd64 got that update, which gives us the following image digests:

-$ docker pull python@sha256:4ae5142f052c4efd0bede8483f8ca43a73e8fcfce5dbf8f581967c2c9bac597b
+$ docker pull python@sha256:ce1e79033c018947249554327f0c803d833e5f17c78f173a2cb1a633f691eb30

So if you use python@sha256:4ae5142f052c4efd0bede8483f8ca43a73e8fcfce5dbf8f581967c2c9bac597b in place of python:3.6-alpine, you should get the older version that still has PIP 18.1.

@tianon tianon closed this as completed Jan 30, 2019
@suederade
Copy link
Author

Perfect, I spent almost an hour trying to google search for this exactly and apparently didn't have the Google-fu to find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants