Skip to content

Commit

Permalink
tests: disable bzlmod for workspace-only pip_repository_annotations e…
Browse files Browse the repository at this point in the history
…xample

The pip_repository_annoations example is workspace-only. Its equivalent
functionality is demonstrated in examples/bzlmod with the whl_mods
feature.

Work towards bazelbuild#1520
  • Loading branch information
rickeylev committed Nov 6, 2023
1 parent 8afbe99 commit 7150644
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/pip_repository_annotations/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# https://docs.bazel.build/versions/main/best-practices.html#using-the-bazelrc-file
try-import %workspace%/user.bazelrc

# This example is WORKSPACE specific. The equivalent functionality
# is in examples/bzlmod as the `whl_mods` feature.
build --experimental_enable_bzlmod=false

0 comments on commit 7150644

Please sign in to comment.