shahar1 opened a new pull request, #76661: URL: https://github.com/apache/airflow/pull/76661
`airflowctl` imports `HelpPreviewAction` from `rich_argparse` at startup, and that name only exists from rich-argparse 1.4.0. The declared floor of `>=1.0.0` lets a resolver keep an older release, for example when another package already pins it. Every `airflowctl` command then fails on start: ``` ImportError: cannot import name 'HelpPreviewAction' from 'rich_argparse' ``` The floor is the same on `airflow-ctl/v0-1-test`, so this needs to reach the 0.1.6 release through the backport label. `airflow-core` declares the same floor but does not import `HelpPreviewAction`, so it is left alone. Checks run on this branch: - `python -m airflowctl --help`: fails with the error above on rich-argparse 1.3.0, works on 1.4.0. - `uv run --project airflow-ctl pytest airflow-ctl/tests`: 915 passed, both on the locked version and with rich-argparse pinned to 1.4.0. - `uv lock`: only the `rich-argparse` specifier line changes. There is no new test: nothing in the suite installs the lowest allowed dependency versions, so a test here would not fail without this change. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5.5) Generated-by: Claude Code (Opus 5.5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01BVx6g7KmWF85LLcp9bDDGL -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
