Repository: cockpit-project/cockpit (language: javascript)

Issue:
cockpit-ci: Update container to 2025-03-22



Discussion / hints:

Fix patch:
diff --git a/.cockpit-ci/container b/.cockpit-ci/container
index 21117a0d34c5..06d5e85773b5 100644
--- a/.cockpit-ci/container
+++ b/.cockpit-ci/container
@@ -1,1 +1,1 @@
-ghcr.io/cockpit-project/tasks:2025-03-15
+ghcr.io/cockpit-project/tasks:2025-03-22


Test patch:
diff --git a/test/common/ruff.toml b/test/common/ruff.toml
index 6e46ee9bacc1..478744f06227 100644
--- a/test/common/ruff.toml
+++ b/test/common/ruff.toml
@@ -1,5 +1,8 @@
 extend = "../../pyproject.toml"
 
+# Tests run under the tasks container with Python 3.13
+target-version = "py313"
+
 [lint]
 ignore = [
     "E501",     # https://github.com/charliermarsh/ruff/issues/3206#issuecomment-1562681390
diff --git a/test/common/testlib.py b/test/common/testlib.py
index 58a7fa296383..a0a3d5401a72 100644
--- a/test/common/testlib.py
+++ b/test/common/testlib.py
@@ -2775,11 +2775,10 @@ def arg_parser(enable_sit: bool = True) -> argparse.ArgumentParser:
 
 
 def test_main(
-     options: argparse.Namespace | None = None,
-     suite: unittest.TestSuite | None = None,
-     attachments: str | None = None,
-     **kwargs: object
-) -> int:
+     options: argparse.Namespace | None = None,  # noqa: PT028
+     suite: unittest.TestSuite | None = None,  # noqa: PT028
+     attachments: str | None = None,  # noqa: PT028
+    ) -> int:
     """
     Run all test cases, as indicated by arguments.