From 02ebc991f96b6a6cf6a0925807771c369149727a Mon Sep 17 00:00:00 2001 From: Gary Buhrmaster Date: Tue, 2 Jul 2024 04:16:01 +0000 Subject: [PATCH] No longer attempt to install python3-future for Fedora 41 (and beyond) Fedora with F41 (and beyond) will not package python3-future. Do not try to install it. --- roles/mythtv-dnf/tasks/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/roles/mythtv-dnf/tasks/main.yml b/roles/mythtv-dnf/tasks/main.yml index 5ced945..eae8767 100644 --- a/roles/mythtv-dnf/tasks/main.yml +++ b/roles/mythtv-dnf/tasks/main.yml @@ -189,7 +189,6 @@ - '{{ dnf_pkg_lst }}' - python3-lxml - python3-libselinux - - python3-future - python3-requests-cache - python3-simplejson - python3-setuptools @@ -197,6 +196,15 @@ (ansible_distribution == "CentOS") or (ansible_distribution == "Rocky") +- name: add additional essential python3 modules - Fedora 30 to 40, Centos + set_fact: + dnf_pkg_lst: + - '{{ dnf_pkg_lst }}' + - python3-future + when: (ansible_distribution == "Fedora" and ansible_distribution_version|int >= 30 and ansible_distribution_version|int <= 40) or + (ansible_distribution == "CentOS") or + (ansible_distribution == "Rocky") + - name: add mythtv essential python3 mysql modules - Fedora 30+, CentOS 8 set_fact: dnf_pkg_lst: