From 2ae05f90f979f1de51f66e246dadd8baf94c071e Mon Sep 17 00:00:00 2001 From: Alpamys Date: Fri, 8 May 2026 12:14:30 +0500 Subject: [PATCH] fix(v0.40.1): add `from __future__ import annotations` to quickstart.py for py3.9 Hotfix: `_pick_quickstart_model() -> tuple[str, str | None]` uses PEP 604 union syntax which Python 3.9 rejects at module-import time. Closes the CI collection failure on the ubuntu-latest/3.9 matrix without changing behaviour. Co-Authored-By: Claude Opus 4.7 (1M context) --- soup_cli/commands/quickstart.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/soup_cli/commands/quickstart.py b/soup_cli/commands/quickstart.py index 28248ce..7d0e06b 100644 --- a/soup_cli/commands/quickstart.py +++ b/soup_cli/commands/quickstart.py @@ -1,5 +1,7 @@ """soup quickstart — one command for a complete demo (create data + config + train).""" +from __future__ import annotations + import json from pathlib import Path