From 57cc038f906ad18b364cb4d3ae798118b4744124 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 Switch TestClient to a "skip" instead of an "only" list, which is more robust. 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..d0c9c1f490c4 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*", "rhel-9*", "centos-9*", "rhel4edge") class TestClient(testlib.MachineCase): provision = { diff --git a/tools/cockpit.spec b/tools/cockpit.spec index 4a611179e99c..9090ab8039af 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 %define cockpit_enable_python 1 %endif