Skip to content

Commit

Permalink
Specify how to handle python packages only available in recent distri…
Browse files Browse the repository at this point in the history
…butions. (ros#32737)

* update CONTRIBUTING.md

Co-authored-by: Tully Foote <[email protected]>
Co-authored-by: Steven! Ragnarök <[email protected]>
  • Loading branch information
3 people committed Apr 18, 2022
1 parent 0f0ddcc commit f09a74d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,22 @@ The `-pip` key should be removed when the package becomes available on all platf
As a reminder `pip` rules should not be used on Gentoo.
See above for the Gentoo specific guidelines.

#### pip mixed with system packages

Some packages are only available as system packages in newer distributions.
In such case, you can specify the default as system package, and pip for older distributions for which the system packages are not available.

For example:

```yaml
python3-relatively-new-package
ubuntu:
'*': [python3-relatively-new-package]
bionic:
pip:
packages: [relatively-new-package]
```

How to submit pull requests
---------------------------

Expand Down

0 comments on commit f09a74d

Please sign in to comment.