Skip to content

Commit d9e42ac

Browse files
authored
chore: remove MODULE.bazel.lock and ignore it (bazel-contrib#1680)
When we use the latest `bazel` release in the `rules_python` module, then the lock file gets created, but I am not sure if we should commit it in. Since the lock file is very useful for local development as it speeds up dependency refetching, this PR disables it as advised in the issue below. Whilst at it, the `bzlmod` example also removes it for smaller diffs when we develop extensions. See bazelbuild/bazel#20369
1 parent e299094 commit d9e42ac

2 files changed

Lines changed: 4 additions & 4157 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@ user.bazelrc
4545

4646
# Python cache
4747
**/__pycache__/
48+
49+
# MODULE.bazel.lock is ignored for now as per recommendation from upstream.
50+
# See https://github.com/bazelbuild/bazel/issues/20369
51+
MODULE.bazel.lock

0 commit comments

Comments
 (0)