This is an automated email from the ASF dual-hosted git repository.
henry3260 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new cb3568622c2 Require rich-argparse 1.4.0 for airflowctl (#76661)
cb3568622c2 is described below
commit cb3568622c2b727f12a28ac891e4947a660cd4e1
Author: Shahar Epstein <[email protected]>
AuthorDate: Sat Nov 7 10:34:24 2026 +0200
Require rich-argparse 1.4.0 for airflowctl (#76661)
airflowctl imports HelpPreviewAction at startup, which rich-argparse only
provides from 1.4.0. The declared floor of 1.0.0 lets a resolver keep an older
release, and then every airflowctl command fails with ImportError.
---
airflow-ctl/pyproject.toml | 2 +-
uv.lock | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow-ctl/pyproject.toml b/airflow-ctl/pyproject.toml
index 324a164beaa..4f33bfb5481 100644
--- a/airflow-ctl/pyproject.toml
+++ b/airflow-ctl/pyproject.toml
@@ -38,7 +38,7 @@ dependencies = [
"platformdirs>=4.3.6",
"pydantic>=2.11.0", # https://github.com/apache/airflow/issues/56482
"pyyaml>=6.0.3",
- "rich-argparse>=1.0.0",
+ "rich-argparse>=1.4.0",
"structlog>=26.1.0",
"uuid6>=2024.7.10",
"tabulate>=0.9.0",
diff --git a/uv.lock b/uv.lock
index 462192969ba..940523be09d 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2297,7 +2297,7 @@ requires-dist = [
{ name = "platformdirs", specifier = ">=4.3.6" },
{ name = "pydantic", specifier = ">=2.11.0" },
{ name = "pyyaml", specifier = ">=6.0.3" },
- { name = "rich-argparse", specifier = ">=1.0.0" },
+ { name = "rich-argparse", specifier = ">=1.4.0" },
{ name = "structlog", specifier = ">=26.1.0" },
{ name = "tabulate", specifier = ">=0.9.0" },
{ name = "tenacity", specifier = ">=9.1.4" },