pipx: Add example for installing package with dependency group (#10189)

* Add example for installing package with dependency group

* add tests
This commit is contained in:
Robin 2025-06-16 17:59:41 +02:00 committed by GitHub
commit 2405611092
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 36 additions and 6 deletions

View file

@ -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