From dbb55d02fc11921a14f8b3d3e292d40a0f144130 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 25 Jun 2023 08:09:49 +0200 Subject: [PATCH] tools: Enable Python bridge on Fedora 38 and CentOS/RHEL 9 We have gotten no regression reports in the last two weeks, so get a bit bolder. Switch TestClient to a "skip" instead of an "only" list, which is easier and clearer to maintain. This also enables the test on arch, which runs the Python bridge now. --- test/verify/check-client | 4 ++-- tools/cockpit.spec | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/verify/check-client b/test/verify/check-client index d4b1eb001432..dafb95771327 100755 --- a/test/verify/check-client +++ b/test/verify/check-client @@ -20,8 +20,8 @@ import testlib -# Run this on more OSes as we roll out the pybridge -@testlib.onlyImage("needs pybridge", "debian-testing", "ubuntu-stable") +@testlib.skipImage("needs pybridge", "debian-stable", "ubuntu-2204", "fedora-37", "fedora-coreos", "rhel-8", + "centos-8*", "rhel4edge") class TestClient(testlib.MachineCase): provision = { diff --git a/tools/cockpit.spec b/tools/cockpit.spec index 4a611179e99c..0230d0410088 100644 --- a/tools/cockpit.spec +++ b/tools/cockpit.spec @@ -53,8 +53,7 @@ Version: 0 Release: 1%{?dist} Source0: https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz -# Use Python bridge on non-stable versions -%if 0%{?fedora} >= 39 +%if 0%{?fedora} >= 38 || 0%{?rhel} >= 9 %define cockpit_enable_python 1 %endif