Skip to content

Commit

Permalink
skip pip dependency in bloom-generate, use ros-infrastructure/bloom#412
Browse files Browse the repository at this point in the history
…, this will solve the problem such as:

The following packages have unmet dependencies:
 ros-one-jsk-data : Depends: gdown but it is not installable

where gdown is defined as pip package. See https://github.com/ros/rosdistro/blob/0adeee9a8a0fd2825b47aeeb3efeffba3465774c/rosdep/python.yaml#L1667-L1670
  • Loading branch information
k-okada committed Aug 16, 2024
1 parent 68c1ddf commit df26dd2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/sh
# SPDX-License-Identifier: BSD-3-Clause

if ! bloom-release --help 2>&1 | grep -q -- --skip-pip; then
(cd /tmp/; git clone https://github.com/ros-infrastructure/bloom -b 0.10.7 bloom-$$)
(cd /tmp/bloom-$$; wget https://github.com/ros-infrastructure/bloom/pull/412.diff; patch -p1 < 412.diff; pip install .)
fi

echo "::group::Prepare build"

set -ex
Expand Down Expand Up @@ -111,7 +116,7 @@ build_deb(){
# dash does not support `set -o pipefail`, so we work around it with a named pipe
mkfifo bloom_fifo
tee /home/runner/apt_repo/${bloom_log} < bloom_fifo &
bloom-generate "${BLOOM}debian" --os-name="$DISTRIBUTION" --os-version="$DEB_DISTRO" --ros-distro="$ROS_DISTRO" > bloom_fifo 2>&1
bloom-generate "${BLOOM}debian" --skip-pip --os-name="$DISTRIBUTION" --os-version="$DEB_DISTRO" --ros-distro="$ROS_DISTRO" > bloom_fifo 2>&1
bloom_success=$?
rm bloom_fifo
if [ $bloom_success -ne 0 ]; then
Expand Down

0 comments on commit df26dd2

Please sign in to comment.