8000 Attempt to work around nondeterminism on Windows. · phst/rules_elisp@eb60756 · GitHub
[go: up one dir, main page]

Skip to content

Commit eb60756

Browse files
committed
Attempt to work around nondeterminism on Windows.
See bazel-contrib/rules_python#713 and bazel-contrib/rules_python#907.
1 parent 067c511 commit eb60756

File tree

4 files changed

+37
-27
lines changed

4 files changed

+37
-27
lines changed

MODULE.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ register_toolchains("@phst_rules_elisp//elisp:hermetic_toolchain")
5858
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
5959
python.toolchain(
6060
configure_coverage_tool = True,
61+
# Attempt to work around nondeterminism on Windows. See
62+
# https://github.com/bazelbuild/rules_python/pull/713 and
63+
# https://github.com/bazelbuild/rules_python/pull/907.
64+
ignore_root_user_error = True,
6165
python_version = "3.10",
6266
)
6367
use_repo(python, hermetic_python = "python_3_10")

MODULE.bazel.lock

Lines changed: 17 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

WORKSPACE

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020, 2021, 2022, 2023 Google LLC
1+
# Copyright 2020, 2021, 2022, 2023, 2024 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -40,6 +40,10 @@ py_repositories()
4040

4141
python_register_toolchains(
4242
name = "hermetic_python",
43+
# Attempt to work around nondeterminism on Windows. See
44+
# https://github.com/bazelbuild/rules_python/pull/713 and
45+
# https://github.com/bazelbuild/rules_python/pull/907.
46+
ignore_root_user_error = True,
4347
python_version = "3.10",
4448
register_coverage_tool = True,
4549
)

examples/ext/MODULE.bazel.lock

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0