From a6f4793f7786aacea1c15a4220b089ee5929c1b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 9 May 2026 11:13:54 +0000 Subject: [PATCH 1/2] Bump github/codeql-action in the github-actions group Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action). Updates `github/codeql-action` from 4.35.2 to 4.35.3 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/95e58e9a2cdfd71adc6e0353d5c52f41a045d225...e46ed2cbd01164d986452f91f178727624ae40d7) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.35.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/zizmor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index fb5a933..7229e34 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -43,6 +43,6 @@ jobs: always() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) - uses: github/codeql-action/upload-sarif@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4 + uses: github/codeql-action/upload-sarif@e46ed2cbd01164d986452f91f178727624ae40d7 # v4 with: sarif_file: zizmor.sarif From 65c85821f061c07d0aba01405daa9948eff504d1 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Fri, 15 May 2026 16:35:07 +0200 Subject: [PATCH 2/2] Stabilize ty checks --- pyproject.toml | 2 +- src/pytask_parallel/execute.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d2351a0..f788463 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ test = [ ] typing = [ "pytask-parallel", - "ty>=0.0.8", + "ty>=0.0.8,<0.0.34", {include-group = "coiled"}, {include-group = "dask"}, ] diff --git a/src/pytask_parallel/execute.py b/src/pytask_parallel/execute.py index 3001d69..52cc51d 100644 --- a/src/pytask_parallel/execute.py +++ b/src/pytask_parallel/execute.py @@ -44,7 +44,7 @@ def _get_task_from_dag(session: Session, task_name: str) -> PTask: """Get a task from the pre- and post-pytask 0.6 DAG representations for compat.""" node = session.dag.nodes[task_name] - task = node["task"] if isinstance(node, dict) else node + task = cast("Any", node)["task"] if isinstance(node, dict) else node if not isinstance(task, PTask): msg = f"Expected {task_name!r} to resolve to a task."