Skip to content

Commit 16f1d93

Browse files
committed
Add support for Fedora 43, update tested distros
1 parent afcf41b commit 16f1d93

6 files changed

Lines changed: 20 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ jobs:
1212
strategy:
1313
matrix:
1414
platform:
15+
- rockylinux10
1516
- rockylinux9
1617
- centos-stream10
1718
- centos-stream9
19+
- fedora43
1820
- fedora42
1921
- fedora41
20-
- fedora40
2122
- ubuntu2404
2223
- ubuntu2204
2324
steps:

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ waco_python
66
An opinionated Ansible role that allows you to perform system and/or source Python installations and
77
to complement them by creating custom virtualenv's and installing Ansible, Mercurial or Sphinx.
88
Supported distributions are the currently maintained releases of the Red Hat family and
9-
derivatives, and of the Ubuntu LTS variants. At this time tests are run on Rocky Linux 9, CentOS Stream 10,
10-
CentOS Stream 9, Fedora 42, Fedora 41, Fedora 40, Ubuntu 24.04 and Ubuntu 22.04.
9+
derivatives, and of the Ubuntu LTS variants. At this time tests are run on Rocky Linux 10, Rocky
10+
Linux 9, CentOS Stream 10, CentOS Stream 9, Fedora 43, Fedora 42, Fedora 41, Ubuntu 24.04 and Ubuntu
11+
22.04.
1112

1213

1314
Requirements

meta/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ galaxy_info:
1414
platforms:
1515
- name: EL
1616
versions:
17+
- "10"
1718
- "9"
18-
- "8"
1919
- name: Fedora
2020
versions:
21+
- "43"
2122
- "42"
2223
- "41"
23-
- "40"
2424
- name: Ubuntu
2525
versions:
2626
- noble

molecule/default/molecule.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ platforms:
1616
pre_build_image: true
1717
provisioner:
1818
name: ansible
19+
config_options:
20+
defaults:
21+
ALLOW_BROKEN_CONDITIONALS: true
1922
verifier:
2023
name: testinfra

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[tox]
22
minversion=3.24
33
envlist =
4+
rockylinux10
45
rockylinux9
6+
fedora43
57
fedora42
68
fedora41
7-
fedora40
89
centos-stream10
910
centos-stream9
1011
ubuntu2404

vars/main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,16 @@ wapy_platform_dependencies:
4848
- python3-virtualenv
4949
- python3-pip
5050
wapy_system_python_deps: "{{ wapy_platform_dependencies[wapy_platform] }}"
51+
wapy_fedora_newest_minors:
52+
"43": "3.14"
53+
"42": "3.13"
54+
"41": "3.13"
5155
wapy_selinux_python_minors:
5256
EL10: "3.12"
5357
EL9: "3.9"
5458
EL8: "3.6"
55-
Fedora: "{{ (ansible_distribution_major_version in ('42', '41')) | ternary('3.13', '3.12') }}"
59+
# Fedora: "{{ (ansible_distribution_major_version in ('42', '41')) | ternary('3.13', '3.12') }}"
60+
Fedora: "{{ wapy_fedora_newest_minors[ansible_distribution_major_version] }}"
5661
Ubuntu: ""
5762
wapy_selinux_python_minor: "{{ wapy_selinux_python_minors[wapy_platform] }}"
5863
wapy_ubuntu_newest_minors:
@@ -63,6 +68,7 @@ wapy_system_newest_minors:
6368
EL10: "3.12"
6469
EL9: "3.9"
6570
EL8: "3.6"
66-
Fedora: "{{ (ansible_distribution_major_version in ('42', '41')) | ternary('3.13', '3.12') }}"
71+
# Fedora: "{{ (ansible_distribution_major_version in ('42', '41')) | ternary('3.13', '3.12') }}"
72+
Fedora: "{{ wapy_fedora_newest_minors[ansible_distribution_major_version] }}"
6773
Ubuntu: "{{ wapy_ubuntu_newest_minors[ansible_distribution_major_version] }}"
6874
wapy_system_newest_minor: "{{ wapy_system_newest_minors[wapy_platform] }}"

0 commit comments

Comments
 (0)