Bloom 0.9.0 requires python_version attribute in rosdistro index

The most recent bloom release has a change which affects releasing into custom rosdistro indexes.

Bloom 0.8.0 introduced support for package.xml format three conditional dependencies.
Unlike existing tools, bloom uses only distribution metadata to build conditional context since the target environment for the generated packages is not necessarily the local environment of the developer blooming the package.
Bloom 0.9.0 extends this support to include the ROS_PYTHON_VERSION condition and as such, requires that the recently added python_version key be present in the rosdistro index. This change has already been implemented in the canonical rosdistro reposistory but custom rosdistro indexes may not have made this change. When a bloom release is made and the python_version field is not defined, bloom will exit with an explanatory error message to prevent the creation of an invalid release. This is an extreme behavior but the package conditional API doesn’t currently provide any feedback about whether any conditions are actually evaluated or what variables are required to evaluate them so we couldn’t be any more focused with the message.

1 Like