-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fatal error after update python from 3.10.13 to 3.10.14 - ModuleNotFoundError: No module named 'xmlrpclib' #1636
Comments
Link to python issue python/cpython#117173 |
Which version of Alpine is this with, what is the SHA256 image digest of the image? I played with Alpine 3.17 — # cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.17.7
PRETTY_NAME="Alpine Linux v3.17"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
# apk add supervisor
OK: 74 MiB in 33 packages
# python3 --version
Python 3.10.14
# grep -F XML_SetReparseDeferralEnabled /usr/lib/python3.10/lib-dynload/pyexpat.cpython-310-x86_64-linux-gnu.so
XML_SetReparseDeferralEnabled
# grep -F XML_SetReparseDeferralEnabled /usr/lib/libexpat.so.1.9.2
XML_SetReparseDeferralEnabled
# python3 -c 'from pyexpat import *' && echo GOOD.
GOOD. |
Thank you very much for being included! I use alpine:3, 3.16, 3.16.3, latest Install the supervisor: [supervisor 1/3] RUN apk add supervisor |
@unlike777 even with Alpine 3.16 things seem to work fine over here: # docker run -it --rm --pull=always alpine:3.16 sh -c 'apk add -q supervisor ; python3 -c "from pyexpat import *" && echo GOOD.'
3.16: Pulling from library/alpine
Digest: sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4
Status: Image is up to date for alpine:3.16
GOOD. |
The solution is to rebuild Alpine image |
Closing since the above comments indicate this is not a bug in Supervisor. |
After the release of python 3.10.14
supervisor stopped working
Install in docker "apk add supervisor" based on Alpine
Error in docker container:
The text was updated successfully, but these errors were encountered: