Compare commits

1 Commits
1.1 ... main

5 changed files with 26 additions and 25 deletions

BIN
inflect-7.3.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
inflect-7.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Feb 7 12:12:46 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 7.5.0
* Updated ast classes for Python 3.14 compatibility. (#225)
-------------------------------------------------------------------
Tue Nov 19 15:09:13 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not (ever) use %python_modules on runtime requires: it pulls
in all python flavors. Change to Requires: python-typeguard which
will be rewritten by the python singlespec machinery.
-------------------------------------------------------------------
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

@@ -1,7 +1,7 @@
#
# spec file for package python-inflect
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-inflect
Version: 7.3.1
Version: 7.5.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}
@@ -38,8 +35,8 @@ BuildRequires: %{python_module typing_extensions if %python-base < 3.9}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: %{python_module typeguard}
Requires: python-more-itertools >= 8.5.0
Requires: python-typeguard
BuildArch: noarch
%python_subpackages

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