Skip to content

Commit

Permalink
Add logic for excluding group workaround dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Apr 24, 2024
1 parent 0383d34 commit c133873
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion colcon_ros/package_identification/ros.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ def _get_package(path: str):
f"'{path}': {e}")
return None

pkg.evaluate_conditions(os.environ)
condition_context = {
**os.environ,
'DISABLE_GROUPS_WORKAROUND': '1',
}
pkg.evaluate_conditions(condition_context)
return pkg


Expand Down
1 change: 1 addition & 0 deletions test/spell_check.words
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ thomas
todo
tuples
unittest
workaround
workspaces

0 comments on commit c133873

Please sign in to comment.