Skip to content

Commit

Permalink
Fix remote cache miss
Browse files Browse the repository at this point in the history
In some cases, the hermetic python toolchain would generate .pyc files
when being used, resulting in a remote cache miss. This commit excludes
generated files from the "files" filegroup to resolve this issue
  • Loading branch information
jheaff1 committed Jul 12, 2022
1 parent 35391d9 commit d7bf5de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ filegroup(
],
exclude = [
"**/* *", # Bazel does not support spaces in file names.
"**/__pycache__/**",
],
),
)
Expand Down

0 comments on commit d7bf5de

Please sign in to comment.