Skip to content

Commit

Permalink
tools: Enable Python bridge on Fedora 38
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
martinpitt committed Jun 28, 2023
1 parent fe79ead commit 57cc038
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/verify/check-client
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
3 changes: 1 addition & 2 deletions tools/cockpit.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 57cc038

Please sign in to comment.