Skip to content

Release 3.2 Dockerfile.base numpy version mismatch #235

Description

@raytsou

On version 3.2 :

docker/Dockerfile.base:174 numpy is installed with version <2
docker/Dockerfile.base:211 cupy-cuda12x is installed with no version limit.

cupy-cuda12x v14 was released Feb 20 and uses numpy >= 2, which installs a newer version and is causing dependency mismatches downstream.

Particulary, when I try to colcon build --packages-up-to isaac_ros_managed_nitros isaac_ros_nitros_image_type isaac_ros_gxf, I get:

...
CMake Error in CMakeLists.txt:
  Imported target
  "isaac_ros_tensor_list_interfaces::isaac_ros_tensor_list_interfaces__rosidl_generator_py"
  includes non-existent path
    "/usr/local/lib/python3.10/dist-packages/numpy/core/include"
  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
  * The path was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and references files it does not
  provide.
CMake Generate step failed.  Build files cannot be regenerated correctly.
...

Solution here should be to hold cupy-cuda12x<14

Workaround for now is to downgrade numpy back to a version <2 before colcon building isaac ros nitros related packages.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions