From 120e6a9100af8ab35ea5f948423fa2118f3ee4a0 Mon Sep 17 00:00:00 2001 From: "red-hat-konflux-kflux-prd-rh03[bot]" <206760901+red-hat-konflux-kflux-prd-rh03[bot]@users.noreply.github.com> Date: Tue, 28 Oct 2025 20:02:45 +0000 Subject: [PATCH 1/2] chore(deps): update dependency fedora to v43 Signed-off-by: red-hat-konflux-kflux-prd-rh03 <206760901+red-hat-konflux-kflux-prd-rh03[bot]@users.noreply.github.com> --- Dockerfile | 2 +- tests/containers/nfs/Containerfile | 2 +- tests/containers/tang/Containerfile | 2 +- tests/containers/targetcli/Containerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index febc4dae67..b8fb1bfcee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # When rebasing to new Fedora, also update openshift/release: # https://github.com/openshift/release/tree/master/ci-operator/config/coreos/coreos-assembler/coreos-coreos-assembler-main.yaml -FROM quay.io/fedora/fedora:42 +FROM quay.io/fedora/fedora:43 WORKDIR /root/containerbuild # This variable is enabled by Konflux to build the container image hermatically. ARG NO_NETWORK=0 diff --git a/tests/containers/nfs/Containerfile b/tests/containers/nfs/Containerfile index f45d9fac75..0af4ffb932 100644 --- a/tests/containers/nfs/Containerfile +++ b/tests/containers/nfs/Containerfile @@ -1,4 +1,4 @@ -FROM quay.io/fedora/fedora:42 +FROM quay.io/fedora/fedora:43 RUN dnf -y install /usr/bin/ps nfs-utils && dnf clean all && rm -rf /var/cache/yum diff --git a/tests/containers/tang/Containerfile b/tests/containers/tang/Containerfile index 4a83ef5590..b5d13852da 100644 --- a/tests/containers/tang/Containerfile +++ b/tests/containers/tang/Containerfile @@ -1,4 +1,4 @@ -FROM quay.io/fedora/fedora:42 +FROM quay.io/fedora/fedora:43 RUN dnf -y install systemd tang && dnf clean all && rm -rf /var/cache/yum EXPOSE 80 diff --git a/tests/containers/targetcli/Containerfile b/tests/containers/targetcli/Containerfile index 8f745b2795..2255ad47dd 100644 --- a/tests/containers/targetcli/Containerfile +++ b/tests/containers/targetcli/Containerfile @@ -1,4 +1,4 @@ -FROM quay.io/fedora/fedora:42 +FROM quay.io/fedora/fedora:43 RUN dnf install -y targetcli kmod && dnf clean all RUN systemctl enable target From 86974da50d79fc35923eff7f6f87a462c51959ef Mon Sep 17 00:00:00 2001 From: Michael Armijo Date: Fri, 14 Nov 2025 14:29:28 -0700 Subject: [PATCH 2/2] cosalib: silence pylint E1120 for GI methods pylint is treating GObject-introspected methods (from gi.repository) as unbound instance methods that require a self argument, even though at runtime these calls are valid and work as expected. This causes false positive E1120 (no-value-for-parameter) errors on calls such as RpmOstree.get_basearch() and Json.Generator.new(). Add disable comments to the affected GI calls to keep pylint from complaining while preserving the existing behavior. --- src/cmd-basearch | 2 +- src/commitmeta_to_json | 2 +- src/cosalib/cmdlib.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd-basearch b/src/cmd-basearch index 3456327a91..b98727dbb7 100755 --- a/src/cmd-basearch +++ b/src/cmd-basearch @@ -4,4 +4,4 @@ import gi gi.require_version("RpmOstree", "1.0") from gi.repository import RpmOstree -print(RpmOstree.get_basearch()) +print(RpmOstree.get_basearch()) # pylint: disable=E1120 diff --git a/src/commitmeta_to_json b/src/commitmeta_to_json index 261413e0c3..c7e498dcdc 100755 --- a/src/commitmeta_to_json +++ b/src/commitmeta_to_json @@ -25,7 +25,7 @@ commitmeta = commit.get_child_value(0) if sys.byteorder != 'big': commitmeta = commitmeta.byteswap() -g = Json.Generator.new() +g = Json.Generator.new() # pylint: disable=E1120 g.set_root(Json.gvariant_serialize(commitmeta)) stdout = Gio.UnixOutputStream.new(sys.stdout.fileno(), False) g.set_pretty(True) diff --git a/src/cosalib/cmdlib.py b/src/cosalib/cmdlib.py index 0bb9a4a0c4..80bb4c6b5c 100644 --- a/src/cosalib/cmdlib.py +++ b/src/cosalib/cmdlib.py @@ -409,7 +409,7 @@ def get_basearch(): try: return get_basearch.saved except AttributeError: - get_basearch.saved = RpmOstree.get_basearch() + get_basearch.saved = RpmOstree.get_basearch() # pylint: disable=E1120 return get_basearch.saved