Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-typer for openSUSE:Factory 
checked in at 2025-08-21 16:53:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-typer (Old)
 and      /work/SRC/openSUSE:Factory/.python-typer.new.29662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-typer"

Thu Aug 21 16:53:37 2025 rev:23 rq:1300456 version:0.16.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-typer/python-typer.changes        
2025-05-31 19:14:20.844511043 +0200
+++ /work/SRC/openSUSE:Factory/.python-typer.new.29662/python-typer.changes     
2025-08-21 16:54:03.064731284 +0200
@@ -1,0 +2,7 @@
+Tue Aug 19 20:15:13 UTC 2025 - Matthias Bach <ma...@marix.org>
+
+- Update to 0.16.1
+  * Avoid printing additional output with no_args_is_help=True and
+    Click 8.2.
+
+-------------------------------------------------------------------

Old:
----
  typer-0.16.0.tar.gz

New:
----
  typer-0.16.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-typer.spec ++++++
--- /var/tmp/diff_new_pack.81jUiT/_old  2025-08-21 16:54:04.524792446 +0200
+++ /var/tmp/diff_new_pack.81jUiT/_new  2025-08-21 16:54:04.528792613 +0200
@@ -20,7 +20,7 @@
 %define plainpython python
 %{?sle15_python_module_pythons}
 Name:           python-typer
-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

++++++ typer-0.16.0.tar.gz -> typer-0.16.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/typer-0.16.0/PKG-INFO new/typer-0.16.1/PKG-INFO
--- old/typer-0.16.0/PKG-INFO   1970-01-01 01:00:00.000000000 +0100
+++ new/typer-0.16.1/PKG-INFO   1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: typer
-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-0.16.0/pyproject.toml 
new/typer-0.16.1/pyproject.toml
--- old/typer-0.16.0/pyproject.toml     2025-05-26 16:30:18.444226000 +0200
+++ new/typer-0.16.1/pyproject.toml     2025-08-18 21:18:10.599890000 +0200
@@ -42,7 +42,7 @@
     "rich >=10.11.0",
 ]
 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-0.16.0/requirements-docs.txt 
new/typer-0.16.1/requirements-docs.txt
--- old/typer-0.16.0/requirements-docs.txt      2025-05-26 16:30:14.585220300 
+0200
+++ new/typer-0.16.1/requirements-docs.txt      2025-08-18 21:18:05.480904000 
+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-0.16.0/requirements-tests.txt 
new/typer-0.16.1/requirements-tests.txt
--- old/typer-0.16.0/requirements-tests.txt     2025-05-26 16:30:14.585220300 
+0200
+++ new/typer-0.16.1/requirements-tests.txt     2025-08-18 21:18:05.480904000 
+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-0.16.0/tests/test_tutorial/test_commands/test_index/test_tutorial003.py
 
new/typer-0.16.1/tests/test_tutorial/test_commands/test_index/test_tutorial003.py
--- 
old/typer-0.16.0/tests/test_tutorial/test_commands/test_index/test_tutorial003.py
   2025-05-26 16:30:14.590220200 +0200
+++ 
new/typer-0.16.1/tests/test_tutorial/test_commands/test_index/test_tutorial003.py
   2025-08-18 21:18:05.485904200 +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-0.16.0/typer/__init__.py 
new/typer-0.16.1/typer/__init__.py
--- old/typer-0.16.0/typer/__init__.py  2025-05-26 16:30:14.596220300 +0200
+++ new/typer-0.16.1/typer/__init__.py  2025-08-18 21:18:05.491904300 +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-0.16.0/typer/rich_utils.py 
new/typer-0.16.1/typer/rich_utils.py
--- old/typer-0.16.0/typer/rich_utils.py        2025-05-26 16:30:14.597220200 
+0200
+++ new/typer-0.16.1/typer/rich_utils.py        2025-08-18 21:18:05.492904200 
+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:

Reply via email to