You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I am trying to install and use zabbix-cli but I am probably doing something wrong:
❯ zabbix-cliTraceback (most recent call last): File "/home/faust/.venv/bin/zabbix-cli", line 5, in <module> from zabbix_cli.main import main File "/home/faust/.venv/lib/python3.12/site-packages/zabbix_cli/__init__.py", line 5, in <module> patch_all() File "/home/faust/.venv/lib/python3.12/site-packages/zabbix_cli/_patches/__init__.py", line 8, in patch_all typer.patch() File "/home/faust/.venv/lib/python3.12/site-packages/zabbix_cli/_patches/typer.py", line 314, in patch patch_help_text_spacing() File "/home/faust/.venv/lib/python3.12/site-packages/zabbix_cli/_patches/typer.py", line 63, in patch_help_text_spacing from typer.rich_utils import _make_rich_rextImportError: cannot import name '_make_rich_rext' from 'typer.rich_utils' (/home/faust/.venv/lib/python3.12/site-packages/typer/rich_utils.py). Did you mean: '_make_rich_text'?
I am on Alpine Linux 3.20.
I also tested it in various Debian version (11 and 12), same problem, see below:
❯ podman run -it debian:11 bashroot@953854425d06:/# apt update && apt upgrade -y && apt install -y curlroot@953854425d06:/# curl -LsSf https://astral.sh/uv/install.sh | shroot@953854425d06:/# source$HOME/.local/bin/envroot@953854425d06:/# uv tool install zabbix-cli-uioroot@953854425d06:/# zabbix-cliTraceback (most recent call last): File "/root/.local/bin/zabbix-cli", line 5, in <module> from zabbix_cli.main import main File "/root/.local/share/uv/tools/zabbix-cli-uio/lib/python3.13/site-packages/zabbix_cli/__init__.py", line 5, in <module> patch_all() ~~~~~~~~~^^ File "/root/.local/share/uv/tools/zabbix-cli-uio/lib/python3.13/site-packages/zabbix_cli/_patches/__init__.py", line 8, in patch_all typer.patch() ~~~~~~~~~~~^^ File "/root/.local/share/uv/tools/zabbix-cli-uio/lib/python3.13/site-packages/zabbix_cli/_patches/typer.py", line 314, in patch patch_help_text_spacing() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/root/.local/share/uv/tools/zabbix-cli-uio/lib/python3.13/site-packages/zabbix_cli/_patches/typer.py", line 63, in patch_help_text_spacing from typer.rich_utils import _make_rich_rextImportError: cannot import name '_make_rich_rext' from 'typer.rich_utils' (/root/.local/share/uv/tools/zabbix-cli-uio/lib/python3.13/site-packages/typer/rich_utils.py)
What am I doing wrong (or am I hitting a buggy dependency?).
The text was updated successfully, but these errors were encountered:
Hm, that is weird. I bumped the minimum Typer requirement to 0.13.1, which changed this internal name (fastapi/typer#959). Somehow I must have forgotten to commit this change before building the newest version. I'll build a new version shortly that fixes this.
I'll also look into adding a compatibility shim and make that more robust (we shouldn't use internal functions from other libraries, but Typer is not very customizable, so we have to use some dirty hacks).
Hi!
I am trying to install and use zabbix-cli but I am probably doing something wrong:
I am on Alpine Linux 3.20.
I also tested it in various Debian version (11 and 12), same problem, see below:
What am I doing wrong (or am I hitting a buggy dependency?).
The text was updated successfully, but these errors were encountered: