Ros1-noetic workspace build failed with python-boto3

Hey,
I’m trying to build a simple snap from my project using the ros1-noetic extension. But my build keeps failing with this error:

This is my snapcraft.yaml

name: system-state-test
version: ‘0.1’
base: core20
summary: testing snap with system state package
description: |
system state package test

grade: devel
confinement: devmode

parts:
workspace:
plugin: catkin
source: .
catkin-packages: [system_state]

apps:
ros-run-system-state:
command: rosrun system_state system_state_node
plugs: [network, network-bind]
extensions: [ros1-noetic]
daemon: simple

Is there a way to get snapcraft to use pip3 install instead of apt-get?

Hi,

The package python-boto3 is not available on Ubuntu 20.04 and you should use python3-boto3 instead when declaring dependencies in your package.xml file(s).

Thanks! This fixed that error.