25 Commits

Author SHA256 Message Date
46555397f8 Accepting request 1302029 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/1302029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=25
2025-09-01 15:16:43 +00:00
Matthias Bach
ce6ae4fe5b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=53 2025-08-30 15:20:44 +00:00
1dba8ed9d2 Accepting request 1301303 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=24
2025-08-26 12:56:23 +00:00
71f4d194d1 - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=51
2025-08-25 14:26:09 +00:00
12dc107b09 Accepting request 1300456 from devel:languages:python
- Update to 0.16.1
  * Avoid printing additional output with no_args_is_help=True and
    Click 8.2.

OBS-URL: https://build.opensuse.org/request/show/1300456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=23
2025-08-21 14:53:37 +00:00
Matthias Bach
0c01f86b0b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=49 2025-08-20 07:02:42 +00:00
1acef94b2c Accepting request 1280711 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/1280711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=22
2025-05-31 17:14:19 +00:00
Matthias Bach
d197b6185d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=47 2025-05-27 21:30:44 +00:00
540b2f09d9 Accepting request 1277916 from devel:languages:python
- Add patch support-click-8.2.patch:
  * Support both click 8.1 and 8.2.
- Switch to autosetup macro.

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=45
2025-05-16 05:00:57 +00:00
0262d519d2 Accepting request 1273509 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/1273509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=20
2025-04-30 17:02:56 +00:00
Matthias Bach
928121c173 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=43 2025-04-29 18:28:18 +00:00
c96c771573 Accepting request 1249294 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/1249294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=19
2025-03-03 15:04:22 +00:00
Matthias Bach
39d71e2f36 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=41 2025-02-28 17:47:07 +00:00
dd3dfb7cbc Accepting request 1228371 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/1228371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=18
2024-12-05 16:05:25 +00:00
Matthias Bach
e238162b87 Accepting request 1228369 from home:theMarix:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1228369
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=39
2024-12-04 21:10:53 +00:00
Matthias Bach
a6982ac76b Accepting request 1228113 from home:theMarix:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1228113
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=38
2024-12-03 21:35:10 +00:00
5c3b09808c Accepting request 1225371 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. PR #1055 by @tiangolo.
  * Update markdown includes to use the new simpler format. PR
- update to 0.13.0:
  * Handle `KeyboardInterrupt` separately from other
    exceptions.
  * Update `launch` to not print anything when opening urls.
  * Show help items in order of definition.
  * Fix equality check for custom classes.
  * Allow colon in zsh autocomplete values and descriptions.
  * Deprecate support for `is_flag` and `flag_value`
    parameters.
  * Remove unused functionality from `_typing.py` file.
  * Fix typo in function name `_make_rich_text`.

OBS-URL: https://build.opensuse.org/request/show/1225371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=17
2024-11-21 14:13:25 +00:00
2bafd6cede - 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. PR #1055 by @tiangolo.
  * Update markdown includes to use the new simpler format. PR
- update to 0.13.0:
  * Handle `KeyboardInterrupt` separately from other
    exceptions.
  * Update `launch` to not print anything when opening urls.
  * Show help items in order of definition.
  * Fix equality check for custom classes.
  * Allow colon in zsh autocomplete values and descriptions.
  * Deprecate support for `is_flag` and `flag_value`
    parameters.
  * Remove unused functionality from `_typing.py` file.
  * Fix typo in function name `_make_rich_text`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=36
2024-11-20 17:26:51 +00:00
9fa0a81e88 Accepting request 1219467 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=16
2024-10-30 18:26:00 +00:00
Matthias Bach
1aed1d17aa - 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?expand=0&rev=34
2024-09-27 15:43:30 +00:00
b329ffc8c1 Accepting request 1197927 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/1197927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=15
2024-09-01 17:22:08 +00:00
Matthias Bach
ae06a90305 Accepting request 1197516 from home:theMarix:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1197516
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=32
2024-08-29 18:53:05 +00:00
5a093cdf10 Accepting request 1194595 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/1194595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typer?expand=0&rev=14
2024-08-19 21:44:38 +00:00
Matthias Bach
2c61f1ba30 Accepting request 1194453 from home:theMarix:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1194453
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=30
2024-08-17 10:35:36 +00:00
4 changed files with 5 additions and 32 deletions

View File

@@ -1,32 +1,5 @@
-------------------------------------------------------------------
Wed Sep 24 19:25:40 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:42:14 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:53:12 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 09:01:49 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:32:00 UTC 2025 - Matthias Bach <marix@marix.org> - 0.17.3
Sat Aug 30 14:32:00 UTC 2025 - Matthias Bach <marix@marix.org>
- Update to 0.17.3
* Allow annotated parsing with a subclass of Path.

View File

@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-typer
Version: 0.19.2
Version: 0.17.3
Release: 0
Summary: Typer, build great CLIs. Easy to code. Based on Python type hints
License: MIT

3
typer-0.17.3.tar.gz Normal file
View File

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

View File

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