From c789ae473ec1e4f03bccbda6c2f7db05f1777aac Mon Sep 17 00:00:00 2001 From: Pol Michel Date: Mon, 4 May 2026 23:01:18 +0200 Subject: [PATCH] chore: bump invoke 2.2.0 -> 2.2.1 for Python 3.14 compatibility invoke 2.2.0 raises SystemError on Python 3.14: 3.14 tightened fcntl buffer-overflow detection, and invoke's termios.TIOCGWINSZ probe was reading too few fields of a 4-field winsize struct. Any uv run invoke aborts before the task body when stdout is a TTY. invoke 2.2.1 (2025-10-10) unpacks all four fields and discards the unused two -- pure compat fix, no behavior change. See https://github.com/opsmill/infrahub/pull/9128 for the equivalent bump on opsmill/infrahub. Co-Authored-By: Claude Opus 4.7 (1M context) --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4f20b96a..b1708471 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,7 +98,7 @@ dev = [ "requests", "prek>=0.3.0", "codecov", - "invoke>=2.2.0", + "invoke>=2.2.1", "towncrier>=24.8.0", ] diff --git a/uv.lock b/uv.lock index 138a530a..673a4e2c 100644 --- a/uv.lock +++ b/uv.lock @@ -835,7 +835,7 @@ dev = [ { name = "astroid", specifier = ">=3.1,<4.0" }, { name = "codecov" }, { name = "infrahub-testcontainers", specifier = ">=1.7.3" }, - { name = "invoke", specifier = ">=2.2.0" }, + { name = "invoke", specifier = ">=2.2.1" }, { name = "ipython" }, { name = "mypy", specifier = "==1.11.2" }, { name = "prek", specifier = ">=0.3.0" },