remove support for older distros, add wrning about it
All checks were successful
test / Linting (push) Successful in 27s
test / Molecule tests (with_custom_packages, debian12) (push) Successful in 1m45s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m59s
test / Molecule tests (default, debian12) (push) Successful in 2m11s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Successful in 1m35s
All checks were successful
test / Linting (push) Successful in 27s
test / Molecule tests (with_custom_packages, debian12) (push) Successful in 1m45s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m59s
test / Molecule tests (default, debian12) (push) Successful in 2m11s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Successful in 1m35s
This commit is contained in:
parent
e0fda89ef9
commit
d4fe4dbeaa
@ -34,7 +34,7 @@ jobs:
|
|||||||
password: ${{ secrets.ACTIONS_TOKEN }}
|
password: ${{ secrets.ACTIONS_TOKEN }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
test_os: [debian11, debian12, ubuntu2004, ubuntu2204]
|
test_os: [debian12, ubuntu2204]
|
||||||
scenario: [default, with_custom_packages]
|
scenario: [default, with_custom_packages]
|
||||||
env:
|
env:
|
||||||
ANSIBLE_HOST_KEY_CHECKING: 'false'
|
ANSIBLE_HOST_KEY_CHECKING: 'false'
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
manage_pipx_packages
|
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
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
@ -10,11 +10,9 @@ galaxy_info:
|
|||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
- focal
|
|
||||||
- jammy
|
- jammy
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- bullseye
|
|
||||||
- bookworm
|
- bookworm
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- 'ubuntu'
|
- 'ubuntu'
|
||||||
|
@ -4,6 +4,9 @@ manage_pipx_packages_required_packages:
|
|||||||
- name: python3
|
- name: python3
|
||||||
version: latest
|
version: latest
|
||||||
state: present
|
state: present
|
||||||
|
- name: python3-venv
|
||||||
|
version: latest
|
||||||
|
state: present
|
||||||
- name: pipx
|
- name: pipx
|
||||||
version: latest
|
version: latest
|
||||||
state: present
|
state: present
|
||||||
|
Loading…
Reference in New Issue
Block a user