We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f4fd54 commit ed75abfCopy full SHA for ed75abf
2 files changed
python/private/stage2_bootstrap_template.py
@@ -80,7 +80,8 @@ def get_build_data(self):
80
exc.add_note(f"exists: {os.path.exists(path)}")
81
exc.add_note(f"lexists: {os.path.lexists(path)}")
82
exc.add_note(f"islink: {os.path.islink(path)}")
83
- exc.add_note(f"isjunction: {os.path.isjunction(path)}")
+ if hasattr(os.path, "isjunction"):
84
+ exc.add_note(f"isjunction: {os.path.isjunction(path)}")
85
can_read = os.access(path, os.R_OK)
86
exc.add_note(f"readable: {can_read}")
87
raise
tests/build_data/BUILD.bazel
@@ -14,7 +14,7 @@ py_test(
14
py_binary(
15
name = "print_build_data",
16
srcs = ["print_build_data.py"],
17
- python_version = "3.14",
+ python_version = "3.10",
18
deps = ["//python/runfiles"],
19
)
20
0 commit comments