-
Notifications
You must be signed in to change notification settings - Fork 664
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
When running tests using a custom Docker image based on Ubuntu 22.04, the workflow fails during Python setup due to GLIBC version mismatch errors. The same workflow works correctly when Python is installed using Deadsnakes
PPA, uv
, or pyenv
inside the container.
tests:
name: Unit tests and coverage
runs-on: ubuntu-latest
container:
image: custom-image-based-on-ubuntu22
options: --entrypoint /bin/bash
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: |
python -m venv /env
. /env/bin/activate
pip install --upgrade pip
pip install -r requirements/requirements_doc.txt
Observer error
python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
python: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found
python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found
Action version:
v5
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
3.10,3.11,3.12,3.13
Repro steps:
https://github.com/ansys/pymechanical-embedding-examples/actions/runs/18412444483/job/52468115183
Expected behavior:
Expected to create virtual environment
Actual behavior:
Giving error
python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
python: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found
python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working