Skip to content

Commit b8b95d8

Browse files
committed
fix(system_python): Remove printing of not always present attribute
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
1 parent 5511aaf commit b8b95d8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ END_UNRELEASED_TEMPLATE
8080
* (pypi) Fix `importlib.metadata.files` by ensuring `RECORD` is included in
8181
installed wheel targets, except when built from sdist
8282
([#3024](https://github.com/bazel-contrib/rules_python/issues/3024)).
83+
* (bootstrap) Fix AttributeError exception on Debian 10 Booster
84+
([#3774](https://github.com/bazel-contrib/rules_python/issues/3774)).
8385

8486

8587
{#v0-0-0-added}

python/private/python_bootstrap_template.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,6 @@ def main():
568568
print_verbose("VENV_REL_SITE_PACKAGES:", VENV_REL_SITE_PACKAGES)
569569
print_verbose("WORKSPACE_NAME:", WORKSPACE_NAME )
570570
print_verbose("bootstrap sys.executable:", sys.executable)
571-
print_verbose("bootstrap sys._base_executable:", sys._base_executable)
572571
print_verbose("bootstrap sys.version:", sys.version)
573572

574573
args = sys.argv[1:]

0 commit comments

Comments
 (0)