Skip to content

fix(system_python): backport Debian 10 Buster bug into 2.0.2#3782

Open
limdor wants to merge 1 commit into
bazel-contrib:release/2.0from
limdor:fix_rules_python_release
Open

fix(system_python): backport Debian 10 Buster bug into 2.0.2#3782
limdor wants to merge 1 commit into
bazel-contrib:release/2.0from
limdor:fix_rules_python_release

Conversation

@limdor
Copy link
Copy Markdown

@limdor limdor commented May 16, 2026

This attribute is not part of the Python public API and in Debian 10 Buster (OpenJDK 11, gcc 8.3.0) it seems to not be defined.

This reverts one of the debug logging statements added in #3667

Fixes #3774

This attribute is not part of the Python public API and in  Debian 10
Buster (OpenJDK 11, gcc 8.3.0) it seems to not be defined.

This reverts one of the debug logging statements added in
bazel-contrib#3667

Fixes bazel-contrib#3774
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request fixes an AttributeError on Debian 10 Buster and removes a verbose print statement for sys._base_executable in the bootstrap template. The reviewer suggested updating the placeholder version 0.0.0 in the CHANGELOG.md to 2.0.2 to ensure consistency with the pull request title and the intended release version.

Comment thread CHANGELOG.md
Comment on lines +50 to +53
{#v0-0-0}
## Unreleased

[0.0.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The PR title mentions a backport into version 2.0.2. However, the added changelog section uses the placeholder version 0.0.0 and anchor {#v0-0-0} from the template. If the target version for this release is known to be 2.0.2, it would be clearer to use that version number explicitly in the anchor and link definition to avoid confusion and ensure correct linking once released.

Suggested change
{#v0-0-0}
## Unreleased
[0.0.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.0.0
{#v2-0-2}
## Unreleased
[2.0.2]: https://github.com/bazel-contrib/rules_python/releases/tag/2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant