Python packages do not actually install
Sometime in the last few hours, something really strange started happening: Python packages installed with apk add do not actually install.
You can run a Dockerfile like
FROM alpine:edge
RUN apk add --no-cache python3 py3-pip py3-wheel \
&& python3 -c "import pip"
And observe that it kicks back an error: ModuleNotFoundError: No module named 'pip'
. (And attempting to use pip to install other packages similarly fails, and so forth.)
This isn't specific to pip; other py3-* packages do this too, such as py3-cryptography.
You can see this in action at https://hub.docker.com/repository/docker/dahanna/test-py3-cryptography. https://github.com/dHannasch/test-py3-cryptography/blob/main/Dockerfile
I think everything was working normally as of 6:50pm EDT, not sure, don't have a clean log to check. I don't know what the time zone is for the build time given by https://pkgs.alpinelinux.org/package/edge/main/x86/python3 or whether it might ignore Daylight Savings Time. I don't know whether this might be related to d9457fc9 (if it is, I cannot begin to guess how).
I'm guessing that something is going on with https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/python3 rather than https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/py3-pip, since the latter hasn't changed in weeks.