From 7818e87d8f790a155be3d701ecb4ef7a46ab667875f34a6d3dcee2af8646fa88 Mon Sep 17 00:00:00 2001 From: Matthias Bach Date: Mon, 25 Mar 2024 21:25:26 +0000 Subject: [PATCH] - Update to upstream version 0.10.0 * Fix default value of None for CLI Parameters when the type is list | None and the default value is None. * Improve support for CLI translations using gettext. * Fix evaluating stringified annotations in Python 3.10. * Fix display of default value for Enum parameters inside of a list, include docs and tests. * Update type annotations for show_default parameter and update docs for setting a "Custom default string". * Add missing default_factory in Argument overloads. * Fix preserving case in enum values. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=22 --- python-typer.changes | 15 +++++++++++++++ python-typer.spec | 6 +++--- typer-0.10.0.tar.gz | 3 +++ typer-0.9.0.tar.gz | 3 --- 4 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 typer-0.10.0.tar.gz delete mode 100644 typer-0.9.0.tar.gz diff --git a/python-typer.changes b/python-typer.changes index 8f635e2..f979c15 100644 --- a/python-typer.changes +++ b/python-typer.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Mar 25 21:08:07 UTC 2024 - Matthias Bach - 0.10.0 + +- Update to upstream version 0.10.0 + * Fix default value of None for CLI Parameters when the type is + list | None and the default value is None. + * Improve support for CLI translations using gettext. + * Fix evaluating stringified annotations in Python 3.10. + * Fix display of default value for Enum parameters inside of a + list, include docs and tests. + * Update type annotations for show_default parameter and update + docs for setting a "Custom default string". + * Add missing default_factory in Argument overloads. + * Fix preserving case in enum values. + ------------------------------------------------------------------- Tue Oct 17 19:08:42 UTC 2023 - Matthias Bach - 0.9.0 diff --git a/python-typer.spec b/python-typer.spec index 71e21ea..c813ab8 100644 --- a/python-typer.spec +++ b/python-typer.spec @@ -1,7 +1,7 @@ # # spec file for package python-typer # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2021 Matthias Bach # # All modifications and additions to the file contributed by third parties @@ -16,10 +16,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%{?sle15_python_module_pythons} +%{?sle15_python_module_pythons} Name: python-typer -Version: 0.9.0 +Version: 0.10.0 Release: 0 Summary: Typer, build great CLIs. Easy to code. Based on Python type hints License: MIT diff --git a/typer-0.10.0.tar.gz b/typer-0.10.0.tar.gz new file mode 100644 index 0000000..7dab7bc --- /dev/null +++ b/typer-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:597f974754520b091665f993f88abdd088bb81c56b3042225434ced0b50a788b +size 276220 diff --git a/typer-0.9.0.tar.gz b/typer-0.9.0.tar.gz deleted file mode 100644 index 1a02d18..0000000 --- a/typer-0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:50922fd79aea2f4751a8e0408ff10d2662bd0c8bbfa84755a699f3bada2978b2 -size 273985