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-05-23 14:27:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-typer-slim (Old)
and /work/SRC/openSUSE:Factory/.python-typer-slim.new.2732 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-typer-slim"
Fri May 23 14:27:18 2025 rev:11 rq:1277915 version:0.15.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-typer-slim/python-typer-slim.changes
2025-04-30 19:03:06.031120064 +0200
+++
/work/SRC/openSUSE:Factory/.python-typer-slim.new.2732/python-typer-slim.changes
2025-05-23 14:27:29.320797860 +0200
@@ -1,0 +2,7 @@
+Fri May 16 04:59:56 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-click-8.2.patch:
+ * Support both click 8.1 and 8.2.
+- Switch to autosetup macros.
+
+-------------------------------------------------------------------
New:
----
support-click-8.2.patch
BETA DEBUG BEGIN:
New:
- Add patch support-click-8.2.patch:
* Support both click 8.1 and 8.2.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-typer-slim.spec ++++++
--- /var/tmp/diff_new_pack.xZisti/_old 2025-05-23 14:27:29.880821523 +0200
+++ /var/tmp/diff_new_pack.xZisti/_new 2025-05-23 14:27:29.880821523 +0200
@@ -23,11 +23,12 @@
Release: 0
Summary: Typer, build great CLIs. Easy to code. Based on Python type
hints
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/tiangolo/typer
Source:
https://files.pythonhosted.org/packages/source/t/typer_slim/typer_slim-%{version}.tar.gz
Source2: %{name}-rpmlintrc
-Patch1: set-proper-pythonpath-for-tutorial-script-tests.patch
+Patch0: set-proper-pythonpath-for-tutorial-script-tests.patch
+# PATCH-FIX-UPSTREAM Based on gh#fastapi/typer#1222
+Patch1: support-click-8.2.patch
BuildRequires: %{python_module click}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pdm-backend}
@@ -55,8 +56,7 @@
This package provides the Typer Python package required to build and run
Typer-based CLI applications.
%prep
-%setup -q -n typer_slim-%{version}
-%autopatch -p1
+%autosetup -p1 -n typer_slim-%{version}
%build
%pyproject_wheel
@@ -71,11 +71,14 @@
%check
# the completion tests fail as build runs in sh which is not supported
-%pytest -k 'not test_show_completion and not test_install_completion'
+# Broken with click 8.2.0:
+# - test_enum/test_tutorial003
+# - test_script_completion_run and test_completion_show_invalid_shell
+%pytest -k 'not (test_show_completion or test_install_completion or (test_enum
and test_tutorial003) or test_script_completion_run or
test_completion_show_invalid_shell)'
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/typer
-%{python_sitelib}/typer_slim-%{version}*-info
+%{python_sitelib}/typer_slim-%{version}.dist-info
++++++ support-click-8.2.patch ++++++
++++ 927 lines (skipped)