Skip to content
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

Pip install on Amazon Linux 2023 #22403

Open
jwnimmer-tri opened this issue Jan 6, 2025 · 1 comment
Open

Pip install on Amazon Linux 2023 #22403

jwnimmer-tri opened this issue Jan 6, 2025 · 1 comment
Assignees
Labels
component: distribution Nightly binaries, monthly releases, docker, installation priority: low type: feature request

Comments

@jwnimmer-tri
Copy link
Collaborator

jwnimmer-tri commented Jan 6, 2025

Is your feature request related to a problem? Please describe.

Sometimes, users want to run pydrake inside an AWS Lambda service. Those lambda containers are based on Amazon Linux. See What is Amazon Linux 2023? for details.

Currently, this awkward / impossible because our wheels require libc >= 2.35 but AL2023 only provides libc == 2.34.

Describe the solution you'd like

Update our wheel build so that our manylinux wheels can run on public.ecr.aws/lambda/python:3.12.

Running the wheel build in a docker container with a lower libc6 baseline (so that the produced wheel has a lower baseline) will be relatively easy. The question is whether other build-dependencies like GCC or Clang or libstdc++ or etc. are sufficient, and how difficult it would be to support AL2023 wheels long term. That will require some investigation.

Describe alternatives you've considered

None.

Additional context

See AL2023 docs Improved toolchain: gcc, binutils, and glibc for a version baseline.

@jwnimmer-tri
Copy link
Collaborator Author

My plan is to finish #20731 and all of its related config flags, before any investigation starts on this issue. Having the ability to run a wheel build without any local dependencies will probably make this a lot easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: distribution Nightly binaries, monthly releases, docker, installation priority: low type: feature request
Development

No branches or pull requests

1 participant