Bloom an ament_python package with Pip Dependencies
I'm having trouble with blooming a rolling
package, possibly because of its pip dependencies.
Key error:
fatal: Remote branch debian/ros-rolling-tf-transformations_1.0.0-1_focal not found in upstream origin
...
subprocess.CalledProcessError: Command '['git', 'clone', '--branch', 'debian/ros-rolling-tf-transformations_1.0.0-1_focal', '--depth', '1', '--no-single-branch', 'https://github.com/DLu/tf_transformations_release.git', '/tmp/sourcedeb/source']' returned non-zero exit status 128.
That branch doesn't exist in my release repo. I'm guessing its because of this line of the bloom execution:
==> git-bloom-generate -y rosdebian --prefix release/rolling rolling -i 1 --os-name debian --os-not-required
No platforms defined for os 'debian' in release file for the 'rolling' distro. This os was not required; continuing without error.
I bring up the pip dependencies because I got warnings about my pip dependency:
Key 'python-transforms3d-pip' resolved to '['transforms3d']' with installer 'pip', which does not match the default installer 'apt'.
Failed to resolve python-transforms3d-pip on ubuntu:focal with: Error running generator: The Debian generator does not support dependencies which are installed with the 'pip' installer.
python-transforms3d-pip is depended on by these packages: ['tf_transformations']
<== Failed
Some of the dependencies for packages in this repository could not be resolved by rosdep.
<== The following generator action reported that it is missing one or more
rosdep keys, but that the key exists in other platforms:
'['/usr/bin/git-bloom-generate', '-y', 'rosdebian', '--prefix', 'release/rolling', 'rolling', '-i', '1', '--os-name', 'ubuntu']'
If you are absolutely sure that this key is unavailable for the platform in
question, the generator can be skipped and you can proceed with the release.
Skip generator action and continue with release [y/N]?
So how do I bloom my Python-y package correctly? I get that Native packages are preferred but there's got to be some way to use pip, otherwise why even support it in the rosdistro?