Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prerelease fails to resolve pip key #770

Closed
wxmerkt opened this issue Jan 21, 2022 · 1 comment
Closed

Prerelease fails to resolve pip key #770

wxmerkt opened this issue Jan 21, 2022 · 1 comment

Comments

@wxmerkt
Copy link
Contributor

wxmerkt commented Jan 21, 2022

Hi, I am using a pip key in my package.xml as a test_depend. However, the pre-release tests now fail with:

  Identified the following build dependencies (ignoring packages available from source):
    - catkin
[...]
  Resolved the dependencies to the following binary packages:
 [...]
  Identified the following run and test dependencies (ignoring packages available from source):
 [...]
    **- python3-trimesh-pip**
  Resolved the dependencies to the following binary packages:
    **- trimesh**
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 299, in __getitem__
      rawpkg = self._cache[key]
  KeyError: 'trimesh'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 304, in <module>
      main()
    File "/tmp/ros_buildfarm/scripts/devel/create_devel_task_generator.py", line 152, in main
      get_binary_package_versions(apt_cache, debian_pkg_names_testing))
    File "/tmp/ros_buildfarm/ros_buildfarm/common.py", line 175, in get_binary_package_versions
      pkg = apt_cache[debian_pkg_name]
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 301, in __getitem__
      raise KeyError('The cache has no package named %r' % key)
  KeyError: "The cache has no package named 'trimesh'"
  'sudo -EH -u ci sh -c . /opt/ros/noetic/setup.sh && cd '/tmp/tmp.dOdWxB7CzJ' && exec ./prerelease.sh -y' returned with 1
'run_prerelease_script' returned with code '1' after 1 min 26 sec

Obviously rosdep resolve python3-trimesh-pip resolves to

#pip
trimesh

Is this an issue with resolving pip dependencies? Or is this an issue with a stale cache? (This is on GitHub Actions)

@mathias-luedtke
Copy link
Member

The prerelease test uses ros_buildfarm, which does not support pip (ros-infrastructure/ros_buildfarm#895).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants