From 302169280d48d2fb4c5be4779db3b2cdc48c908d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 18:20:28 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.10 → v0.15.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.10...v0.15.12) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 344c431..78bad1a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - id: python-use-type-annotations - id: text-unicode-replacement-char - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.10 + rev: v0.15.12 hooks: - id: ruff-check - id: ruff-format From 73dea83387dd1f5e0eea2604cbb38c7a258c637e Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Fri, 1 May 2026 13:56:40 +0200 Subject: [PATCH 2/3] Pin just version in CI --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 579991d..3e41ab5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,6 +35,8 @@ jobs: enable-cache: true - name: Install just uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0 + with: + just-version: "1.43.1" - name: Run type checking run: just typing @@ -61,6 +63,8 @@ jobs: enable-cache: true - name: Install just uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0 + with: + just-version: "1.43.1" - name: Run tests run: just test From cf7c544f7d5fdb396996ee8ef2e61f4779cee814 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Fri, 1 May 2026 16:12:03 +0200 Subject: [PATCH 3/3] Handle Python 3.14 trace test in CI --- tests/test_execute.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tests/test_execute.py b/tests/test_execute.py index 6df9ef5..f8b919e 100644 --- a/tests/test_execute.py +++ b/tests/test_execute.py @@ -1,5 +1,7 @@ from __future__ import annotations +import os +import sys import textwrap from time import time @@ -262,7 +264,20 @@ def test_task_without_path_that_return(runner, tmp_path, parallel_backend): ) -@pytest.mark.parametrize("flag", ["--pdb", "--trace", "--dry-run"]) +@pytest.mark.parametrize( + "flag", + [ + "--pdb", + pytest.param( + "--trace", + marks=pytest.mark.xfail( + sys.version_info[:2] == (3, 14) and os.environ.get("CI") == "true", + reason="Python 3.14 exits the CI debugger session with a failure.", + ), + ), + "--dry-run", + ], +) @pytest.mark.parametrize("parallel_backend", _IMPLEMENTED_BACKENDS) def test_parallel_execution_is_deactivated(runner, tmp_path, flag, parallel_backend): tmp_path.joinpath("task_example.py").write_text("def task_example(): pass")