Release updated version of numpy to apt

asked 2020-02-25 15:56:03 -0500

achille gravatar image

The version of numpy in apt is currently at 1.11.0 which is very old. Several packages such as numpy-quaternion rely on a newer version of it (1.13) and thus cannot be released into rosdistro until numpy gets updated. Currently those packages are released through pip which is not desirable since apt packages should really only depend on other apt packages.

What is stopping us from bumping the version of these packages to a newer version? We could keep the old version in apt for code that can't handle the newer version. If there's no reason not to bump it, anything in particular that needs to happen to release it with bloom?

edit retag flag offensive close merge delete

Comments

2

numpy is not a ROS package. Neither is numpy-quaternion.

For just about every supported OS, it's distributed as a package released by the maintainer/developer of the OS. See python-numpy for Ubuntu fi.

It's unclear to me why you are suggesting to "release it with Bloom".

I'm pretty sure it'd be a bad idea to shadow a system-provided package with something provided via packages.ros.org.

If you need newer versions of those packages, the accepted approach is to use pip and a virtualenv.

gvdhoorn gravatar image gvdhoorn  ( 2020-02-25 16:12:55 -0500 )edit

For my learning: why exactly would that be a bad idea? For context: comment1 and comment2 on the same thread recommend having dependencies in the same package manager. It seems like there might be some disagreement on this topic.

achille gravatar image achille  ( 2020-02-25 16:43:03 -0500 )edit

Also relevant is the python only package that (temporarily) got merged in and was released through bloom

achille gravatar image achille  ( 2020-02-25 16:50:16 -0500 )edit