fix: Ensure temporary .pyc & .pyo files are excluded from the interpreters repository files by mattem · Pull Request #2743 · bazel-contrib/rules_python

Conversation

@mattem

We've seen cases the temporary versions for the .pyc and .pyo files are unstable on certain interpreter toolchains. The temp files take for form of .pyc.NNN, so the amended glob patten will still match both the .pyc and .pyc.NNN versions of the file names.

rickeylev

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah geeze. I swear I had added pyc.NNN ignore stuff to these, too, but I guess not. Thanks!

Merged via the queue into bazel-contrib:main with commit 7f5a1b5

Apr 5, 2025

3 checks passed

@mattem mattem deleted the fix/ignore_tmp_pyco branch

April 5, 2025 23:25

2 participants

@mattem @rickeylev