1
0

6 Commits

Author SHA256 Message Date
a55de162c3 Accepting request 1244150 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1244150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=12
2025-02-09 18:59:04 +00:00
3bed22eb16 - Update to 7.5.0
* Updated ast classes for Python 3.14 compatibility. (#225)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=27
2025-02-07 13:01:57 +00:00
008b43100b Accepting request 1225124 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1225124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=11
2024-11-20 15:59:34 +00:00
97fb2bd72b - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=25
2024-11-19 15:13:16 +00:00
6955129c2c 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
2024-11-15 14:38:19 +00:00
3c42b0194b - update to 7.4.0:
* Handle a single apostrophe more gracefully.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=23
2024-11-14 14:15:46 +00:00
5 changed files with 26 additions and 25 deletions

Binary file not shown.

BIN
inflect-7.5.0.tar.gz 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