Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-inflect for openSUSE:Factory 
checked in at 2024-09-09 14:43:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-inflect (Old)
 and      /work/SRC/openSUSE:Factory/.python-inflect.new.10096 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-inflect"

Mon Sep  9 14:43:18 2024 rev:9 rq:1199303 version:7.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-inflect/python-inflect.changes    
2023-11-08 22:17:03.553699297 +0100
+++ /work/SRC/openSUSE:Factory/.python-inflect.new.10096/python-inflect.changes 
2024-09-09 14:43:21.492004752 +0200
@@ -1,0 +2,21 @@
+Sat Sep  7 00:08:11 UTC 2024 - Matej Cepl <mc...@cepl.eu>
+
+- Clean up the SPEC file.
+- Add typing_extensions-version.patch cleaning up problematic
+  handling with Annotated type on different versions of Pythons.
+
+-------------------------------------------------------------------
+Wed Sep  4 12:42:21 UTC 2024 - Frantisek Simorda <frantisek.simo...@suse.com>
+
+- update to 7.3.1:
+  * Set minimum version of more-itertools to 8.5 (#215)
+- version 7.3.0:
+  * Restricted typing_extensions to Python 3.8. (#211)
+- version 7.2.1:
+  * Refactored number_to_words toward reduced complexity.
+- version 7.2.0:
+  * Replace pydantic with typeguard (#195)
+- version 7.1.0:
+  * Now handle 'pair of x' in pl_sb_uninflected_complete (#188)
+
+-------------------------------------------------------------------

Old:
----
  inflect-7.0.0.tar.gz

New:
----
  inflect-7.3.1.tar.gz
  typing_extensions-version.patch

BETA DEBUG BEGIN:
  New:- Clean up the SPEC file.
- Add typing_extensions-version.patch cleaning up problematic
  handling with Annotated type on different versions of Pythons.
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-inflect.spec ++++++
--- /var/tmp/diff_new_pack.Z8ldhV/_old  2024-09-09 14:43:22.216034793 +0200
+++ /var/tmp/diff_new_pack.Z8ldhV/_new  2024-09-09 14:43:22.220034959 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-inflect
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,24 +18,28 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-inflect
-Version:        7.0.0
+Version:        7.3.1
 Release:        0
 Summary:        Methods for working on numbers and nouns
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/jaraco/inflect
 Source0:        
https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM typing_extensions-version.patch bsc#[0-9]+ mc...@suse.com
+# Correct handling of the potential missing Annotated type
+Patch0:         typing_extensions-version.patch
 BuildRequires:  %{python_module devel >= 3.8}
+BuildRequires:  %{python_module more-itertools >= 8.5.0}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module pydantic >= 1.9.1}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools_scm}
-BuildRequires:  %{python_module toml}
+BuildRequires:  %{python_module typeguard}
+BuildRequires:  %{python_module typing_extensions if %python-base < 3.9}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-pydantic >= 1.9.1
-Requires:       python-toml
+Requires:       %{python_module typeguard}
+Requires:       python-more-itertools >= 8.5.0
 BuildArch:      noarch
 %python_subpackages
 

++++++ inflect-7.0.0.tar.gz -> inflect-7.3.1.tar.gz ++++++
++++ 1713 lines of diff (skipped)

++++++ typing_extensions-version.patch ++++++
---
 inflect/compat/py38.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/inflect/compat/py38.py
+++ b/inflect/compat/py38.py
@@ -1,7 +1,7 @@
 import sys
 
 
-if sys.version_info >= (3, 9):
+try:
     from typing import Annotated
-else:  # pragma: no cover
+except ImportError:
     from typing_extensions import Annotated  # noqa: F401

Reply via email to