mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 19:50:25 -07:00
[PR #10189/24056110 backport][stable-10] pipx: Add example for installing package with dependency group (#10258)
pipx: Add example for installing package with dependency group (#10189)
* Add example for installing package with dependency group
* add tests
(cherry picked from commit 2405611092
)
Co-authored-by: Robin <robin@rkslot.nl>
This commit is contained in:
parent
7cd8f6edff
commit
d5465ff471
2 changed files with 36 additions and 6 deletions
|
@ -175,6 +175,12 @@ EXAMPLES = r"""
|
|||
name: tox
|
||||
state: upgrade
|
||||
|
||||
- name: Install or upgrade tox with dependency group 'docs'
|
||||
community.general.pipx:
|
||||
name: tox
|
||||
source: tox[docs]
|
||||
state: latest
|
||||
|
||||
- name: Reinstall black with specific Python version
|
||||
community.general.pipx:
|
||||
name: black
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue