Skip to content

Commit

Permalink
chore: remove MODULE.bazel.lock and ignore it (#1680)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aignas authored Jan 13, 2024
1 parent e299094 commit d9e42ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4,157 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ user.bazelrc

# Python cache
**/__pycache__/

# MODULE.bazel.lock is ignored for now as per recommendation from upstream.
# See https://github.com/bazelbuild/bazel/issues/20369
MODULE.bazel.lock
Loading

0 comments on commit d9e42ac

Please sign in to comment.