Skip to content

Update affected standalone python releases #1785

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

Closed
liningpan opened this issue Feb 28, 2024 · 1 comment · Fixed by #1878
Closed

Update affected standalone python releases #1785

liningpan opened this issue Feb 28, 2024 · 1 comment · Fixed by #1878
Labels
dependencies Pull requests that update a dependency file help wanted type: toolchain Related to the toolchains provided by rules_python
Milestone

Comments

@liningpan
Copy link

🐞 bug report

Affected Rule

register toolchain

Is this a regression?

Yes, the previous version in which this bug was not present was: ....

Description

Certain standalone python releases are accidentally linked with libcrypt.so.1. If the shared object is not available on the system, the python interpreter will not run.

🔬 Minimal Reproduction

🔥 Exception or Error

/.../bazel-out/k8-fastbuild/bin/requirements.update.runfiles/python_3_10_x86_64-unknown-linux-gnu/bin/python3: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

🌍 Your Environment

Operating System: Arch Linux

Output of bazel version:

Bazelisk version: v1.18.0
Aspect CLI version: 5.9.12
Build label: 6.5.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jan 23 16:44:21 2024 (1706028261)
Build timestamp: 1706028261
Build timestamp as int: 1706028261

Rules_python version: 0.31.0

Anything else relevant?

@liningpan liningpan changed the title Update affected standalone python release Update affected standalone python releases Feb 28, 2024
@aignas aignas added help wanted dependencies Pull requests that update a dependency file type: toolchain Related to the toolchains provided by rules_python labels Feb 29, 2024
@aignas
Copy link
Collaborator

aignas commented Feb 29, 2024

This sounds like a reasonable request. I think the best solution would be to update the existing Python toolchain download URLs to use the toolchains from the python standalone build used in #1781.

Added the help wanted tag so that anyone feels free to submit a PR with a changelog entry if it is a pressing issue to them. I can review them.

@aignas aignas added this to the v0.32.0 milestone Mar 29, 2024
github-merge-queue bot pushed a commit that referenced this issue May 12, 2024
Bump toolchain versions to use the latest available releases.

* `3.8 -> 3.8.19`
* `3.9 -> 3.9.19`
* `3.10 -> 3.10.14`
* `3.11 -> 3.11.9`
* `3.12 -> 3.12.3`
* Use release `20240224` to pick up some security fixes

Fixes #1785
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file help wanted type: toolchain Related to the toolchains provided by rules_python
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants