Skip to content

Commit

Permalink
tests: explicitly disable bzlmod for pip_repository_entry_points test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rickeylev committed Oct 31, 2023
1 parent 843084d commit d8ea800
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/pip_repository_entry_points/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ startup --windows_enable_symlinks

# https://docs.bazel.build/versions/main/best-practices.html#using-the-bazelrc-file
try-import %workspace%/user.bazelrc

# The requirements.bzl entry_point functions aren't supported under bzlmod.
# They are replaced by py_console_script_binary, which already has tests
build --noexperimental_enable_bzlmod

0 comments on commit d8ea800

Please sign in to comment.