Accepting request 1224221 from devel:languages:python

- update to 7.4.0:
  * Handle a single apostrophe more gracefully.
- drop typing_extensions-version.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1224221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=10
This commit is contained in:
Ana Guerrero 2024-11-15 14:38:19 +00:00 committed by Git OBS Bridge
commit 6955129c2c
5 changed files with 11 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edd785148a673b0c6dfef1a7d80cc1bcb2dd6d041cdb313b60032e464fd4e808
size 71980

3
inflect-7.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:904baa17cc2cb74827a6c27b95692e95670dadc72b208b3e8c1c05aeed47026b
size 72730

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 14 14:14:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.4.0:
* Handle a single apostrophe more gracefully.
- drop typing_extensions-version.patch (upstream)
-------------------------------------------------------------------
Sat Sep 7 00:08:11 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@ -18,16 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-inflect
Version: 7.3.1
Version: 7.4.0
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]+ mcepl@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}

View File

@ -1,16 +0,0 @@
---
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