14
0

16 Commits

Author SHA256 Message Date
1cd649ff0d Accepting request 1323837 from devel:languages:python
- Update to 0.20.1
  * Add support for standard tracebacks via the environment
    variable TYPER_STANDARD_TRACEBACK.
  * Ensure that options_metavar is passed through correctly.
  * Ensure an optional argument is shown in brackets, even when
    metavar is set.
  * Ensure that the default rich_markup_mode is interpreted
    correctly.

OBS-URL: https://build.opensuse.org/request/show/1323837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=20
2025-12-22 21:48:16 +00:00
Matthias Bach
835f3505e5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=41 2025-12-20 19:58:37 +00:00
54d55349f1 Accepting request 1312887 from devel:languages:python
- Update to 0.20.0
  * Enable command suggestions on typo by default.
  * Add support for Python 3.14.

OBS-URL: https://build.opensuse.org/request/show/1312887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=19
2025-10-23 14:35:36 +00:00
Matthias Bach
f3d173b246 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=39 2025-10-21 19:24:26 +00:00
ce7213b5c4 Accepting request 1307200 from devel:languages:python
- Update to 0.19.2
  * Fix list convertor with an empty list default factory.

OBS-URL: https://build.opensuse.org/request/show/1307200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=18
2025-09-26 20:24:19 +00:00
Matthias Bach
a704786a4e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=37 2025-09-24 20:24:10 +00:00
ed4b19f85e Accepting request 1306167 from devel:languages:python
- Update to 0.19.1
  * Ensure that Optional[list] values work correctly with callbacks.
  * Support typing.Literal to define a set of predefined choices.
  * Allow setting an environment variable to None in CliRunner.invoke.
- Update to 0.18.0
  * Ensure compatibility with Click 8.3.0 by restoring the original
    value_is_missing function.

OBS-URL: https://build.opensuse.org/request/show/1306167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=17
2025-09-22 14:38:28 +00:00
Matthias Bach
29be574b33 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=35 2025-09-20 19:34:39 +00:00
267c4f26af Accepting request 1303003 from devel:languages:python
- Update to 0.17.4
  * Make sure rich.markup is imported when rendering help text.
- Update to 0.17.3
  * Allow annotated parsing with a subclass of Path.
  * Avoid printing default: None in the help section when using
    Rich.
  * Fix markdown formatting in --help output.
  * Lazy-load rich_utils to reduce startup time.
- Update to 0.16.1
  * Avoid printing additional output with no_args_is_help=True and
    Click 8.2.
- Drop patch handle-excess-whitespace-not-exists.patch.
  * This patch is no longer needed, as the issue it fixed has been
    resolved upstream.
- Add patch handle-excess-whitespace-not-exists.patch:
  * Handle excess whitespace in one testcase.
- Update to 0.16.0
  * Add compatibility with Click 8.2.
- Remove support-click-8.2.patch as it is no longer needed.
- Add patch support-click-8.2.patch:
  * Support both click 8.1 and 8.2.
- Switch to autosetup macros.
- Update to 0.15.3
  * Ensure that autocompletion works for Path arguments/options.
  * Fix newline after header in help text.
- Update to 0.15.2
  * Allow custom styles for commands in help output.
  * Avoid the unnecessary import of typing_extensions in newer
    Python versions.
  * Fix shell completions for the fish shell.
- Update to 0.15.1
  * Deprecate shell_complete and continue to use autocompletion for
    CLI parameters.
- Update to 0.15.0
  * Add support for extending typer apps without passing a name,
    add commands to the top level.
  * Breaking change:  Remove auto naming of groups added via
    add_typer based on the group's callback function name.
- update to 0.13.1:
  * Remove Rich tags when showing completion text.
  * Render Rich markup as HTML in Markdown docs.
  * Support cp850 encoding for auto-completion in PowerShell.
  * Allow gettext translation of help message.
  * Fix printing HTML from Rich output.
- update to 0.13.0:
  * Handle `KeyboardInterrupt` separately from other
    exceptions.
  * Update `launch` to not print anything when opening urls.
  * Fix equality check for custom classes. PR #979 by @AryazE.
  * Allow colon in zsh autocomplete values and descriptions. PR
  * Deprecate support for `is_flag` and `flag_value`
    parameters.
  * Remove unused functionality from `_typing.py` file.
  * Fix typo in function name `_make_rich_text`.
  * Only run completion installation tests when the env var
    `_TYPER_RUN_INSTALL_COMPLETION_TESTS` is set.
- Switch PDM dependency from python3-pdm to python3-pdm-backend to
  account for changes in that package's structure.
- Update to upstream version 0.12.5
  * Unify the width of the Rich console for help and errors.
  * Improve assertion error message if a group is not a valid subclass.
  * Ensure rich_markup_mode=None disables Rich formatting.
- Update to upstream version 0.12.4
  * Fix support for UnionType (e.g. str | None) with Python 3.11.
  * Fix zsh autocompletion installation.
  * Fix usage of Annotated with future annotations in Python 3.7+.
  * Fix shell_complete not working for Arguments.
- Update to upstream version 0.12.3
  * Fix Rich formatting with no commands.
  * Improve column help display, ensure commands column width is
    the same on all panels.
  * Add support for an argument of type Optional[Tuple] and default
    value None.
- Update to upstream version 0.12.1
  * No functional changes, only changes to upstream package
    structure.
- Provide ustream version 0.12.0
  * Extract core functionality into a separate slim package.
- Add set-proper-pythonpath-for-tutorial-script-tests.patch to fix
  issues with import failures in tests.

OBS-URL: https://build.opensuse.org/request/show/1303003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=16
2025-09-08 07:56:25 +00:00
Matthias Bach
5cbdd9f902 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=33 2025-09-06 09:43:08 +00:00
f5c786e55a Accepting request 1302028 from devel:languages:python
- Update to 0.17.3
  * Allow annotated parsing with a subclass of Path.
  * Avoid printing default: None in the help section when using
    Rich.
  * Fix markdown formatting in --help output.
  * Lazy-load rich_utils to reduce startup time.

OBS-URL: https://build.opensuse.org/request/show/1302028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=15
2025-09-01 15:16:42 +00:00
Matthias Bach
9d54c68cbe OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=31 2025-08-30 15:20:45 +00:00
cd6d333a71 Accepting request 1300455 from devel:languages:python
- Update to 0.16.1
  * Avoid printing additional output with no_args_is_help=True and
    Click 8.2.
- Drop patch handle-excess-whitespace-not-exists.patch.
  * This patch is no longer needed, as the issue it fixed has been
    resolved upstream.

OBS-URL: https://build.opensuse.org/request/show/1300455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=14
2025-08-21 14:53:11 +00:00
Matthias Bach
dbb51866a1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=29 2025-08-20 07:02:43 +00:00
c9f4107302 Accepting request 1298267 from devel:languages:python
- Add patch handle-excess-whitespace-not-exists.patch:
  * Handle excess whitespace in one testcase.

OBS-URL: https://build.opensuse.org/request/show/1298267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=13
2025-08-09 17:58:50 +00:00
08461fb675 - Add patch handle-excess-whitespace-not-exists.patch:
* Handle excess whitespace in one testcase.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=27
2025-08-08 05:36:17 +00:00
4 changed files with 78 additions and 4 deletions

View File

@@ -1,3 +1,75 @@
-------------------------------------------------------------------
Sat Dec 20 13:14:39 UTC 2025 - Matthias Bach <marix@marix.org> - 0.20.1
- Update to 0.20.1
* Add support for standard tracebacks via the environment
variable TYPER_STANDARD_TRACEBACK.
* Ensure that options_metavar is passed through correctly.
* Ensure an optional argument is shown in brackets, even when
metavar is set.
* Ensure that the default rich_markup_mode is interpreted
correctly.
-------------------------------------------------------------------
Tue Oct 21 17:40:20 UTC 2025 - Matthias Bach <marix@marix.org> - 0.20.0
- Update to 0.20.0
* Enable command suggestions on typo by default.
* Add support for Python 3.14.
-------------------------------------------------------------------
Wed Sep 24 18:55:20 UTC 2025 - Matthias Bach <marix@marix.org> - 0.19.2
- Update to 0.19.2
* Fix list convertor with an empty list default factory.
-------------------------------------------------------------------
Sat Sep 20 18:24:01 UTC 2025 - Matthias Bach <marix@marix.org> - 0.19.1
- Update to 0.19.1
* Ensure that Optional[list] values work correctly with callbacks.
* Support typing.Literal to define a set of predefined choices.
* Allow setting an environment variable to None in CliRunner.invoke.
-------------------------------------------------------------------
Fri Sep 19 22:51:43 UTC 2025 - Matthias Bach <marix@marix.org> - 0.18.0
- Update to 0.18.0
* Ensure compatibility with Click 8.3.0 by restoring the original
value_is_missing function.
-------------------------------------------------------------------
Sat Sep 6 08:48:36 UTC 2025 - Matthias Bach <marix@marix.org> - 0.17.4
- Update to 0.17.4
* Make sure rich.markup is imported when rendering help text.
-------------------------------------------------------------------
Sat Aug 30 14:18:00 UTC 2025 - Matthias Bach <marix@marix.org> - 0.17.3
- Update to 0.17.3
* Allow annotated parsing with a subclass of Path.
* Avoid printing default: None in the help section when using
Rich.
* Fix markdown formatting in --help output.
* Lazy-load rich_utils to reduce startup time.
-------------------------------------------------------------------
Tue Aug 19 19:33:07 UTC 2025 - Matthias Bach <marix@marix.org> - 0.16.1
- Update to 0.16.1
* Avoid printing additional output with no_args_is_help=True and
Click 8.2.
- Drop patch handle-excess-whitespace-not-exists.patch.
* This patch is no longer needed, as the issue it fixed has been
resolved upstream.
-------------------------------------------------------------------
Fri Aug 8 05:32:05 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch handle-excess-whitespace-not-exists.patch:
* Handle excess whitespace in one testcase.
-------------------------------------------------------------------
Tue May 27 19:13:12 UTC 2025 - Matthias Bach <marix@marix.org> - 0.16.0

View File

@@ -2,6 +2,7 @@
# spec file for package python-typer-slim
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2021 Matthias Bach <marix@marix.org>
#
# All modifications and additions to the file contributed by third parties
@@ -19,13 +20,14 @@
%{?sle15_python_module_pythons}
Name: python-typer-slim
Version: 0.16.0
Version: 0.20.1
Release: 0
Summary: Typer, build great CLIs. Easy to code. Based on Python type hints
License: MIT
URL: https://github.com/tiangolo/typer
Source: https://files.pythonhosted.org/packages/source/t/typer_slim/typer_slim-%{version}.tar.gz
Source2: %{name}-rpmlintrc
# PATCH-FIX-OPENSUSE Include our own PYTHONPATH for scripted tests
Patch0: set-proper-pythonpath-for-tutorial-script-tests.patch
BuildRequires: %{python_module click}
BuildRequires: %{python_module coverage}

Binary file not shown.

3
typer_slim-0.20.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb9e4f7e6dc31551c8a201383df322b81b0ce37239a5ead302598a2ebb6f7c9c
size 106113