diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index fd684f6..5264c76 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -34,7 +34,7 @@ jobs: password: ${{ secrets.ACTIONS_TOKEN }} strategy: matrix: - test_os: [debian11, debian12, ubuntu2004, ubuntu2204] + test_os: [debian12, ubuntu2204] scenario: [default, with_custom_packages] env: ANSIBLE_HOST_KEY_CHECKING: 'false' diff --git a/README.md b/README.md index bc6fd3e..54b1c0c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,10 @@ manage_pipx_packages ========= -A brief description of the role goes here. +This role enables you to manage python packages using pipx, to comply with the [PEP668](https://peps.python.org/pep-0668/) on **debian-based** distributions. It can be used on its own , or be called by other roles the install/remove packages on demand. + +> **Warning** +> This role only supports ubuntu versions starting at 22.04, and debian versions starting a Debian 12. This is due to the pipx package being to out-of-date, or completely absent on older distributions. However, these older distributions typically do not enforce the PEP668, so you can use [ednxzu.manage_pip_packages](https://github.com/ednxzu/manage_pip_packages) instead. Requirements ------------ diff --git a/meta/main.yml b/meta/main.yml index 16ffc5f..c70ce57 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -10,11 +10,9 @@ galaxy_info: platforms: - name: Ubuntu versions: - - focal - jammy - name: Debian versions: - - bullseye - bookworm galaxy_tags: - 'ubuntu' diff --git a/vars/main.yml b/vars/main.yml index 2db69be..394e78b 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -4,6 +4,9 @@ manage_pipx_packages_required_packages: - name: python3 version: latest state: present + - name: python3-venv + version: latest + state: present - name: pipx version: latest state: present