14
0

19 Commits

Author SHA256 Message Date
7fcef652cb Accepting request 1280710 from devel:languages:python
- Update to 0.16.0
  * Add compatibility with Click 8.2.
- Remove support-click-8.2.patch as it is no longer needed.

OBS-URL: https://build.opensuse.org/request/show/1280710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=12
2025-05-31 17:14:19 +00:00
Matthias Bach
37fbeee123 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=25 2025-05-27 21:30:48 +00:00
15119ee71e Accepting request 1277915 from devel:languages:python
- Add patch support-click-8.2.patch:
  * Support both click 8.1 and 8.2.
- Switch to autosetup macros.

OBS-URL: https://build.opensuse.org/request/show/1277915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=11
2025-05-23 12:27:18 +00:00
6c1fbc01ba - Add patch support-click-8.2.patch:
* Support both click 8.1 and 8.2.
- Switch to autosetup macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=23
2025-05-16 05:00:47 +00:00
b6ceec6896 Accepting request 1273508 from devel:languages:python
- Update to 0.15.3
  * Ensure that autocompletion works for Path arguments/options.
  * Fix newline after header in help text.

OBS-URL: https://build.opensuse.org/request/show/1273508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=10
2025-04-30 17:02:54 +00:00
Matthias Bach
ceddcd4043 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=21 2025-04-29 18:28:18 +00:00
22d4086725 Accepting request 1249293 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1249293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=9
2025-03-03 15:04:20 +00:00
Matthias Bach
283928c40f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=19 2025-02-28 17:47:08 +00:00
7cd52d7e0d Accepting request 1228370 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1228370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=8
2024-12-05 16:05:24 +00:00
Matthias Bach
1e008b3fc7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=17 2024-12-04 21:10:54 +00:00
Matthias Bach
573912ba35 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=16 2024-12-03 21:35:11 +00:00
8400360c8c Accepting request 1225477 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1225477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=7
2024-11-21 14:13:34 +00:00
1671513bd2 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=14
2024-11-21 08:47:36 +00:00
ea7fb214be Accepting request 1219172 from devel:languages:python
- Switch PDM dependency from python3-pdm to python3-pdm-backend to
  account for changes in that package's structure.

OBS-URL: https://build.opensuse.org/request/show/1219172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=6
2024-10-30 16:36:16 +00:00
Matthias Bach
cc98d7051d - Switch PDM dependency from python3-pdm to python3-pdm-backend to
account for changes in that package's structure.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=12
2024-09-27 15:37:31 +00:00
0d4b2f1df5 Accepting request 1197520 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1197520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=5
2024-08-30 11:32:28 +00:00
Matthias Bach
00744a821a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=10 2024-08-29 18:53:05 +00:00
bf315a161d Accepting request 1194455 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1194455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer-slim?expand=0&rev=4
2024-08-18 16:19:34 +00:00
Matthias Bach
7335595367 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer-slim?expand=0&rev=8 2024-08-17 10:35:36 +00:00
4 changed files with 4 additions and 32 deletions

View File

@@ -1,29 +1,3 @@
-------------------------------------------------------------------
Sat Aug 30 14:18:00 UTC 2025 - Matthias Bach <marix@marix.org>
- 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,7 +2,6 @@
# 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
@@ -20,14 +19,13 @@
%{?sle15_python_module_pythons}
Name: python-typer-slim
Version: 0.17.3
Version: 0.16.0
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}

BIN
typer_slim-0.16.0.tar.gz LFS Normal file

Binary file not shown.

View File

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