Skip to content

Fix KeyError in get_collections_from_package_and_version.py and improve CI triggers#1455

Merged
j-rivero merged 2 commits intomasterfrom
fix/releasepy-ci-and-collections-keyerror
Mar 9, 2026
Merged

Fix KeyError in get_collections_from_package_and_version.py and improve CI triggers#1455
j-rivero merged 2 commits intomasterfrom
fix/releasepy-ci-and-collections-keyerror

Conversation

@j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Mar 9, 2026

The rotary collection entries in gz-collections.yaml omit the major_version field, which caused a KeyError when get_collections_from_package_and_version.py iterated over all collections. Use dict.get() to handle missing keys gracefully.

Also add pull_request trigger and expand paths filter in ci-releasepy.yaml so that changes to the test script, collections yaml, or helper script are caught before merging.

Generated-by: Claude Opus

…ve CI triggers

The rotary collection entries in gz-collections.yaml omit the
major_version field, which caused a KeyError when
get_collections_from_package_and_version.py iterated over all
collections. Use dict.get() to handle missing keys gracefully.

Also add pull_request trigger and expand paths filter in
ci-releasepy.yaml so that changes to the test script, collections
yaml, or helper script are caught before merging.

Generated-by: Claude Opus
Signed-off-by: Jose Luis Rivero <jrivero@honurobotics.com>
Removed pull_request paths specification from CI workflow.
@j-rivero j-rivero merged commit 7b81b95 into master Mar 9, 2026
3 checks passed
@j-rivero j-rivero deleted the fix/releasepy-ci-and-collections-keyerror branch March 9, 2026 18:34
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.

2 participants