Error building ROS snapcraft when importing python libraries (numpy, matplotlib, etc)

I’m applying the changes you suggested.

I’m waiting for the pull-request confirmation. The rosdep worked at my local sources.list.d (here I see there’s not a way to test it with a local list).

While I’m waiting, I test again the snapcraft with the build-package recommendation:

parts:
  sick-app-workspace:
    # See 'snapcraft plugins'
    plugin: catkin
    source: .
    build-packages: [python3-pip]
    catkin-packages: [sick_app]
apps:
  sick:
    command: roslaunch sick_app sick_sensor.launch
    plugs: [network, network-bind]
    extensions: [ros1-noetic]

  filter:
    command: roslaunch sick_app node_filter.launch
    plugs: [network, network-bind]
    extensions: [ros1-noetic]

  model:
    command: roslaunch sick_app model_server.launch
    plugs: [network, network-bind]
    extensions: [ros1-noetic]

but now I have the following error, it’s kind weird to me, since I thought the launch executables were already included at CmakeList.txt

Priming sick-app-workspace 
+ snapcraftctl prime
This part is missing libraries that cannot be satisfied with any available stage-packages known to snapcraft:
- libjawt.so
- usr/lib/x86_64-linux-gnu/libpsm_infinipath.so.1
These dependencies can be satisfied via additional parts or content sharing. Consider validating configured filesets if this dependency was built.
Failed to generate snap metadata: The specified command 'roslaunch sick_app sick_sensor.launch' defined in the app 'sick' does not exist.
Ensure that 'roslaunch sick_app sick_sensor.launch' is installed with the correct path.

Should I add the libjawt.so and usr/lib/x86_64-linux-gnu/libpsm_infinipath.so.1 to the stage-packages?

Thanks for your recommendation. In this moment, I need to use open3d which is new only works at python3, so for the moment I’m forcet to build with Noetic.