Skip to content

Commit 2569fe0

Browse files
authored
tests: explicitly disable bzlmod for pip_repository_entry_points test (#1527)
Bazel at head enables bzlmod by default, but the requirements.bzl entry_point functions aren't supported under bzlmod. Until workspace support is entirely dropped, explicitly disable bzlmod for the pip_repository_entry_points test. Work towards #1590
1 parent a2789cc commit 2569fe0

File tree

1 file changed

+4
-0
lines changed
  • tests/pip_repository_entry_points

1 file changed

+4
-0
lines changed

tests/pip_repository_entry_points/.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ startup --windows_enable_symlinks
55

66
# https://docs.bazel.build/versions/main/best-practices.html#using-the-bazelrc-file
77
try-import %workspace%/user.bazelrc
8+
9+
# The requirements.bzl entry_point functions aren't supported under bzlmod.
10+
# They are replaced by py_console_script_binary, which already has tests
11+
build --noexperimental_enable_bzlmod

0 commit comments

Comments
 (0)