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
parent d032de3b16
commit 2405611092
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