From fb0a299e883ee6e5601262b7484dfb9cb5b7c790 Mon Sep 17 00:00:00 2001 From: Satyanarayana Vuppala Date: Wed, 23 Sep 2026 23:02:58 +0100 Subject: [PATCH] chore: bump version to 0.3.0, fix stale-typer CLI parsing bug Since 0.2.0: Codex CLI adapter, GitHub Copilot CLI adapter, a built-in multi-provider agent (OpenAI/Anthropic/Gemini via LiteLLM, run as a LangGraph workflow) with per-run AI cost tracking, a click CVE fix, headless Gemini run fixes, clearer git-clone disk-full errors, CLI date validation, and a Windows agent-timeout-kill fix. Also tightens typer>=0.12 to typer>=0.15: the looser floor still resolves to a stale typer 0.12.3 on an environment that already has it, which breaks multi-word CLI option parsing under the newly-pinned click>=8.3.3 (e.g. "secfoo accept create --threat-id T1 ..." rejected as unexpected extra arguments). Verified in a fresh venv: 696 tests pass with typer 0.27.2 + click 8.5.0. Co-Authored-By: Claude Sonnet 5 --- pyproject.toml | 10 +++++++--- src/secfoo/__about__.py | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 86614b9..535c4c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,10 +24,14 @@ classifiers = [ "Topic :: Software Development :: Quality Assurance", ] dependencies = [ - "typer>=0.12", + # typer>=0.12 alone still resolves/keeps typer 0.12.3 on an environment + # that already has it (e.g. an old venv, or a resolver picking the + # floor) -- confirmed by hitting a real one: typer 0.12.3 + click 8.5.0 + # broke multi-word option parsing ("secfoo accept create --threat-id T1 + # ..." rejected as unexpected extra arguments). typer>=0.15 is the + # actual minimum verified working against the click pin below. + "typer>=0.15", # click 8.3.3+ fixes PYSEC-2026-2132 (click.edit command injection). - # typer 0.12+ works with click 8.3.x — the old <8.2 pin was for a typer - # 0.12.x / click 8.2 API mismatch that no longer applies at current versions. "click>=8.3.3,<9", "rich>=13.0", "fastapi>=0.110", diff --git a/src/secfoo/__about__.py b/src/secfoo/__about__.py index d3ec452..493f741 100644 --- a/src/secfoo/__about__.py +++ b/src/secfoo/__about__.py @@ -1 +1 @@ -__version__ = "0.2.0" +__version__ = "0.3.0"