-
Notifications
You must be signed in to change notification settings - Fork 271
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
Errors when installing python packages using alpine:3.11 tag #83
Comments
"ln -s /usr/bin/pip3 /usr/bin/pip"This line will report an error, it can be build a day ago |
@cpitstick-argo your provided Dockerfile works fine on my end, maybe 3.11 is stable again ?
Producing:
Current fix: I wonder if the issue is linked to pypa/packaging#308 |
Nope still seeing this. |
|
@cpitstick-argo yeah, I have no issue with your provided Dockerfile for 3.12, 3.11 succeed too but seems to silently skip pip3 install:
in 3.12
|
The silent skipping of the pip install for 3.11 is the problem. |
Maybe $ docker run --rm -it alpine:3.11 apk -v --update add --no-cache jq python3 py3-pip curl ca-certificates
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/16) Installing ca-certificates (20191127-r2)
(2/16) Installing nghttp2-libs (1.40.0-r1)
(3/16) Installing libcurl (7.67.0-r0)
(4/16) Installing curl (7.67.0-r0)
(5/16) Installing oniguruma (6.9.4-r0)
(6/16) Installing jq (1.6-r0)
(7/16) Installing libbz2 (1.0.8-r1)
(8/16) Installing expat (2.2.9-r1)
(9/16) Installing libffi (3.2.1-r6)
(10/16) Installing gdbm (1.13-r1)
(11/16) Installing xz-libs (5.2.4-r0)
(12/16) Installing ncurses-terminfo-base (6.1_p20200118-r4)
(13/16) Installing ncurses-libs (6.1_p20200118-r4)
(14/16) Installing readline (8.0.1-r0)
(15/16) Installing sqlite-libs (3.30.1-r2)
(16/16) Installing python3 (3.8.2-r0)
Executing busybox-1.31.1-r9.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 30 packages, 305 dirs, 3783 files, 67 MiB
It is not silently skipped. $ docker run --rm -it alpine:3.11 sh -c "apk update -q && apk info --provides python3"
python3-3.8.2-r0 provides:
py3-pip
... |
This is because we've stopped providing the Please explicitly install python2 if you still need python2, or install python3 if you need python3 |
Need python3 (or python2!) alpinelinux/docker-alpine#83 (comment)
Docker script:
Results in
However, if I switch the image to 3.11.6, it works fine...
What's going on here? 3.11 used to work, and we'd prefer to keep that tag for image stability purposes.
The text was updated successfully, but these errors were encountered: