Skip to content

Conversation

@ndahn
Copy link

@ndahn ndahn commented Sep 16, 2025

The proposed change adds an additional check to see if the os_version can be resolved for os_name - if not the OS fallback is used.

Right now rosdep fails for the following package on e.g. ubuntu jammy even though there is a valid fallback.

'*':
    pip:
        packages:
        - docstring-parser
ubuntu:
    noble:
    - python3-docstring-parser

`rosdep` fails for the following package even though there is a valid fallback.

```yaml
'*':
	pip:
		packages:
		- docstring-parser
ubuntu:
	noble:
	- python3-docstring-parser

```
clalancette pushed a commit to ros/rosdistro that referenced this pull request Oct 8, 2025
* Add pip fallbacks for python3-docstring-parser

I previously assumed that the os_name fallback would also apply to missing os_version tags (related issue: ros-infrastructure/rosdep#1015). This fixes this oversight.

* Restructured docstring-parser key as requested

* Added Ubuntu focal

---------

Co-authored-by: Nikolas Dahn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant