-
Notifications
You must be signed in to change notification settings - Fork 584
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
"'GLIBC_2.38' not found" when installing Python 3.10 on container derived from python:3.10-slim
#1013
Comments
GLIBC_2.38' not found" when installing Python 3.10 on container derived from
python:3.10-slim`python:3.10-slim
Hello @lpascal-ledger👋, |
…is fixed" This reverts commit 7dce86a.
…is fixed" This reverts commit 7dce86a.
We are getting something that looks alot like this, but this occurs when running with ubuntu-latest with a debian bookworm based image. When setting the machines to ubuntu-22.04 the issue is not present. |
Hi @lpascal-ledger, As the GLIBC library and other packages and tools have been removed from Ubuntu 24 due to maintenance and efforts to reduce the image size, we suggest using Ubuntu 22 or Ubuntu 20 runners to resolve this issue. Please find the updated workflow and a screenshot for your reference: name: Debug
on:
workflow_dispatch:
push:
jobs:
not_working:
runs-on: ubuntu-22.04
container:
image: python:3.10-slim
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- run: python Thank you for your understanding. Please feel free to reach out if you have any further concerns or need additional clarification! |
Hello there 👋 Thanks for the action, very useful! We've encountered a strange bug today:
Description:
We're using
setup-python
in a matrix to test our product on several Python versions.The tests were running in a container derived from
python:3.9-slim
, where we previously installed all our tools. We were running tests with Python 3.8, 3.9, 3.10 and 3.11 and all was working fine.Today we updated this image to
python:3.10-slim
, but now when we setup Python 3.10,python
crashes when invoked.Our tests also run with Python 3.11 setup which does not trigger this issue.
Action version:
actions/setup-python@v5
Platform:
Runner type:
Tools version:
Repro steps:
I've tried and cornered the issue in the following workflow which triggers the bug:
An example of this failing workflow can be found here.
Expected behavior:
Python can be invoked without error.
Actual behavior:
When invoked,
python
crashes with the following errors:The text was updated successfully, but these errors were encountered: