Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-typer-slim for openSUSE:Factory checked in at 2025-08-21 16:53:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-typer-slim (Old) and /work/SRC/openSUSE:Factory/.python-typer-slim.new.29662 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-typer-slim" Thu Aug 21 16:53:11 2025 rev:14 rq:1300455 version:0.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-typer-slim/python-typer-slim.changes 2025-08-09 20:04:55.403034235 +0200 +++ /work/SRC/openSUSE:Factory/.python-typer-slim.new.29662/python-typer-slim.changes 2025-08-21 16:53:56.264446423 +0200 @@ -1,0 +2,10 @@ +Tue Aug 19 19:33:07 UTC 2025 - Matthias Bach <ma...@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. + +------------------------------------------------------------------- Old: ---- handle-excess-whitespace-not-exists.patch typer_slim-0.16.0.tar.gz New: ---- typer_slim-0.16.1.tar.gz ----------(Old B)---------- Old: Click 8.2. - Drop patch handle-excess-whitespace-not-exists.patch. * This patch is no longer needed, as the issue it fixed has been ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-typer-slim.spec ++++++ --- /var/tmp/diff_new_pack.3x39Ck/_old 2025-08-21 16:53:59.992602594 +0200 +++ /var/tmp/diff_new_pack.3x39Ck/_new 2025-08-21 16:53:59.996602761 +0200 @@ -1,6 +1,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 <ma...@marix.org> # @@ -19,7 +20,7 @@ %{?sle15_python_module_pythons} Name: python-typer-slim -Version: 0.16.0 +Version: 0.16.1 Release: 0 Summary: Typer, build great CLIs. Easy to code. Based on Python type hints License: MIT @@ -28,8 +29,6 @@ Source2: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE Include our own PYTHONPATH for scripted tests Patch0: set-proper-pythonpath-for-tutorial-script-tests.patch -# PATCH-FIX-OPENSUSE Handle excess whitespace in one testcase -Patch1: handle-excess-whitespace-not-exists.patch BuildRequires: %{python_module click} BuildRequires: %{python_module coverage} BuildRequires: %{python_module pdm-backend} ++++++ typer_slim-0.16.0.tar.gz -> typer_slim-0.16.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typer_slim-0.16.0/PKG-INFO new/typer_slim-0.16.1/PKG-INFO --- old/typer_slim-0.16.0/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/typer_slim-0.16.1/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: typer-slim -Version: 0.16.0 +Version: 0.16.1 Summary: Typer, build great CLIs. Easy to code. Based on Python type hints. Author-Email: =?utf-8?q?Sebasti=C3=A1n_Ram=C3=ADrez?= <tiang...@gmail.com> Classifier: Intended Audience :: Information Technology diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typer_slim-0.16.0/pyproject.toml new/typer_slim-0.16.1/pyproject.toml --- old/typer_slim-0.16.0/pyproject.toml 2025-05-26 16:30:17.718270300 +0200 +++ new/typer_slim-0.16.1/pyproject.toml 2025-08-18 21:18:13.198518000 +0200 @@ -40,7 +40,7 @@ "typing-extensions >= 3.7.4.3", ] readme = "README.md" -version = "0.16.0" +version = "0.16.1" [project.urls] Homepage = "https://github.com/fastapi/typer" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typer_slim-0.16.0/requirements-docs.txt new/typer_slim-0.16.1/requirements-docs.txt --- old/typer_slim-0.16.0/requirements-docs.txt 2025-05-26 16:30:15.242240700 +0200 +++ new/typer_slim-0.16.1/requirements-docs.txt 2025-08-18 21:18:07.036445100 +0200 @@ -7,13 +7,13 @@ # For Material for MkDocs, Chinese search # jieba==0.42.1 # For image processing by Material for MkDocs -pillow==11.1.0 +pillow==11.3.0 # For image processing by Material for MkDocs -cairosvg==2.7.1 +cairosvg==2.8.2 # mkdocstrings[python]==0.25.1 # Enable griffe-typingdoc once dropping Python 3.7 and upgrading typing-extensions # griffe-typingdoc==0.2.5 # For griffe, it formats with black # black==24.3.0 -mkdocs-macros-plugin==1.3.7 +mkdocs-macros-plugin==1.3.9 markdown-include-variants==0.0.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typer_slim-0.16.0/requirements-tests.txt new/typer_slim-0.16.1/requirements-tests.txt --- old/typer_slim-0.16.0/requirements-tests.txt 2025-05-26 16:30:15.242240700 +0200 +++ new/typer_slim-0.16.1/requirements-tests.txt 2025-08-18 21:18:07.036445100 +0200 @@ -6,7 +6,7 @@ pytest-xdist >=1.32.0,<4.0.0 pytest-sugar >=0.9.4,<1.1.0 mypy ==1.4.1 -ruff ==0.11.6 +ruff ==0.12.9 # Needed explicitly by typer-slim rich >=10.11.0 shellingham >=1.3.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typer_slim-0.16.0/tests/test_tutorial/test_commands/test_index/test_tutorial003.py new/typer_slim-0.16.1/tests/test_tutorial/test_commands/test_index/test_tutorial003.py --- old/typer_slim-0.16.0/tests/test_tutorial/test_commands/test_index/test_tutorial003.py 2025-05-26 16:30:15.247240800 +0200 +++ new/typer_slim-0.16.1/tests/test_tutorial/test_commands/test_index/test_tutorial003.py 2025-08-18 21:18:07.041445300 +0200 @@ -18,6 +18,13 @@ assert "delete" in result.output +def test_no_additional_output(): + """Ensure that no additional output was generated (cf. PR #1262)""" + result = runner.invoke(app) + assert result.output.count("Usage") == 1 + assert "Error" not in result.output + + def test_create(): result = runner.invoke(app, ["create"]) assert result.exit_code == 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typer_slim-0.16.0/typer/__init__.py new/typer_slim-0.16.1/typer/__init__.py --- old/typer_slim-0.16.0/typer/__init__.py 2025-05-26 16:30:15.253240800 +0200 +++ new/typer_slim-0.16.1/typer/__init__.py 2025-08-18 21:18:07.047445300 +0200 @@ -1,6 +1,6 @@ """Typer, build great CLIs. Easy to code. Based on Python type hints.""" -__version__ = "0.16.0" +__version__ = "0.16.1" from shutil import get_terminal_size as get_terminal_size diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typer_slim-0.16.0/typer/rich_utils.py new/typer_slim-0.16.1/typer/rich_utils.py --- old/typer_slim-0.16.0/typer/rich_utils.py 2025-05-26 16:30:15.254240800 +0200 +++ new/typer_slim-0.16.1/typer/rich_utils.py 2025-08-18 21:18:07.048445200 +0200 @@ -693,6 +693,10 @@ Called by custom exception handler to print richly formatted click errors. Mimics original click.ClickException.echo() function but with rich formatting. """ + # Don't do anything when it's a NoArgsIsHelpError (without importing it, cf. #1278) + if self.__class__.__name__ == "NoArgsIsHelpError": + return + console = _get_rich_console(stderr=True) ctx: Union[click.Context, None] = getattr(self, "ctx", None) if ctx is not None: