14
0
forked from pool/python-typer

30 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Matthias Bach
e494905888 - Add conflict declaration with Erlang as both packages provide
/usr/bin/typer

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=28
2024-04-12 15:31:45 +00:00
Matthias Bach
73fcb3b9bd - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=27
2024-04-09 20:31:04 +00:00
Matthias Bach
f25673c78c Accepting request 1165971 from home:theMarix:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1165971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=26
2024-04-07 15:06:09 +00:00
Matthias Bach
413abde30d - Update to upstream version 0.10.1
* Internal and dependency changes
- Fix missing requirement specification on
  python-typing_extensions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=24
2024-03-29 11:31:28 +00:00
Matthias Bach
7818e87d8f - 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
2024-03-25 21:25:26 +00:00
Matthias Bach
6735fed90d - Fix sle15_python_module_python being on wrong line post spec
auto-format.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=19
2023-10-17 19:09:33 +00:00
Matthias Bach
9aeafedf65 - add sle15_python_module_python
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=17
2023-10-17 07:02:49 +00:00
Matthias Bach
df1ca89a25 Accepting request 1085562 from home:theMarix:branches:devel:languages:python
- Update to upstream version 0.9.0
  * Add support for PEP-593 Annotated for specifying options and
    arguments.
  * Add support for custom types and parsers.
- Drop patch run-subprocesses-with-correct-python.patch that got
  included upstream.

OBS-URL: https://build.opensuse.org/request/show/1085562
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=15
2023-05-08 19:13:01 +00:00
Matthias Bach
1446f53fd9 - Adapt set-proper-pythonpath-for-tutorial-script-tests.patch to
also work for Python 3.11.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=13
2023-01-05 15:16:32 +00:00
Matthias Bach
b40a4c5e5e Accepting request 1033881 from home:theMarix:branches:devel:languages:python
- Update to upstream version 0.7.0
  * Make typer.run() not add completion scripts by default, it only
    makes sense in installed apps.
  * Add support for Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1033881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=11
2022-11-06 19:55:11 +00:00
Matthias Bach
61a75b9b6f - Update to upstream version 0.6.1
* Adds deep integrations with Rich. If Rich is available, it will
    be used to show the content from --help options, validation
    errors, and even errors in apps.
  * Support for Rich Markup and Markdown in docstrings, CLI
    parameters, help, and epilog.
  * Fix type conversion for List and Tuple.
  * Fix context_settings for a Typer apps with a single command.
  * Fix setting FORCE_TERMINAL with colors.
- Refreshed patches

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=9
2022-07-18 10:32:29 +00:00
Matthias Bach
f2a7402f19 Accepting request 984949 from home:theMarix:branches:devel:languages:python
- Add run-subprocesses-with-correct-python.patch to ensure tests
  aren't accidentally running subprocesses using the wrong Python
  version.
- Add set-proper-pythonpath-for-tutorial-script-tests.patch to fix
  issue with build failing due to import failures.

OBS-URL: https://build.opensuse.org/request/show/984949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=7
2022-06-24 19:16:04 +00:00
Matthias Bach
93b9aa8e23 Accepting request 982660 from home:theMarix:branches:devel:languages:python
- Update to upstream version 0.4.1
  * Fix import of get_terminal_size for Click 8.1.0 support.
- Switch from traditional setup.py installation to pyproject macros
  as upstream no longer ships its setup.py compability wrapper.

OBS-URL: https://build.opensuse.org/request/show/982660
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=6
2022-06-14 19:33:40 +00:00
Matthias Bach
846f00341a - Update to upstream version 0.4.0
* Add support for Click 8 while keeping compatibility with
    Click 7.
- Remove basic-click8-compat.patch as Click 8 compatibility is now
  provided upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=5
2021-08-30 19:39:44 +00:00
Matthias Bach
8c71e441d8 Fix typo in patch name in change log
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=4
2021-07-23 19:41:05 +00:00
Matthias Bach
436c606da1 - Resolve Typer no longer working since Click got bumped to version
8.
  * This removes support for autocompletion.
- Add basic-click8-support.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=3
2021-07-23 19:01:09 +00:00
7055b0194c Accepting request 885462 from home:theMarix:branches:devel:languages:python
I want to maintain python-typer in Factory and would like to use devel:languages:python as the devel project.

OBS-URL: https://build.opensuse.org/request/show/885462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typer?expand=0&rev=1
2021-04-15 09:22:19 +00:00