Skip to content

Make Textual TUI optional dependency#44

Merged
danmaps merged 2 commits into
mainfrom
chore/tui-extra-deps
Mar 16, 2026
Merged

Make Textual TUI optional dependency#44
danmaps merged 2 commits into
mainfrom
chore/tui-extra-deps

Conversation

@danmaps
Copy link
Copy Markdown
Owner

@danmaps danmaps commented Feb 28, 2026

Why\nInstalling �rcgispro-cli currently pulls in extual, which in turn pulls newer

ich versions. That can conflict with other common Python tools that pin
ich<14 (for example Streamlit), even if you never use the TUI.\n\n### What changed\n- Make Textual an optional extra: pip install arcgispro-cli[tui]\n- Keep pip install arcgispro-cli lightweight for non-TUI users\n- Move the CLI splash logo renderer to a non-TUI module so importing the CLI no longer imports Textual\n- Add a friendly error message when running �rcgis tui without the extra installed\n- Add a small test for the error message\n\n### Notes\nNo behavior change for users who install the [tui] extra.\n

@danmaps danmaps merged commit 67f19f5 into main Mar 16, 2026
5 checks passed
@danmaps danmaps deleted the chore/tui-extra-deps branch March 16, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant