Package: zabbix-cli / 3.5.2-2

Metadata

Package Version Patches format
zabbix-cli 3.5.2-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Use builtin enum.StrEnum.patch | (download)

zabbix_cli/auth.py | 2 1 + 1 - 0 !
zabbix_cli/bulk.py | 2 1 + 1 - 0 !
zabbix_cli/commands/export.py | 2 1 + 1 - 0 !
zabbix_cli/commands/user.py | 2 1 + 1 - 0 !
zabbix_cli/commands/usergroup.py | 2 1 + 1 - 0 !
zabbix_cli/config/constants.py | 2 1 + 1 - 0 !
zabbix_cli/models.py | 2 1 + 1 - 0 !
zabbix_cli/output/style.py | 2 1 + 1 - 0 !
zabbix_cli/pyzabbix/enums.py | 2 1 + 1 - 0 !
zabbix_cli/update.py | 2 1 + 1 - 0 !
10 files changed, 10 insertions(+), 10 deletions(-)

 use builtin enum.strenum

Starting with 3.11, Python includes enum.StrEnum which, while not a
complete drop-in replacement, works for the usecase of zabbix-cli.

Let's use it to avoid packaging another dependency.

pr306.patch | (download)

docs/scripts/gen_cli_data.py | 7 5 + 2 - 0 !
pyproject.toml | 2 1 + 1 - 0 !
tests/test_config.py | 7 5 + 2 - 0 !
zabbix_cli/config/utils.py | 9 6 + 3 - 0 !
4 files changed, 17 insertions(+), 8 deletions(-)

 [patch] use stdlib tomllib instead of standalone tomli on python 3.11+