Skip to content

Exclude pyc files from py_library - #404

Open
gergondet-woven wants to merge 1 commit into
RobotLocomotion:mainfrom
gergondet-woven:feat/exclude-pyc-from-py_library
Open

Exclude pyc files from py_library#404
gergondet-woven wants to merge 1 commit into
RobotLocomotion:mainfrom
gergondet-woven:feat/exclude-pyc-from-py_library

Conversation

@gergondet-woven

@gergondet-woven gergondet-woven commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

This patch helps with reproducibility when consuming ROS2 packages that are built on demand. The pyc files produced by colcon will have some meta-information and this will invalidate the cache.

By excluding these files, we can avoid the problem 🥳


This change is Reviewable

This is especially problematic when consuming workspaces built from the
workspace as pyc files include some build metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant