Sync from SUSE:SLFO:Main python-inflect revision c79bad048e83f108ffb0c74ae8861217

This commit is contained in:
Adrian Schröter 2024-09-13 16:21:06 +02:00
parent 735cbdbc65
commit 727f27df68
4 changed files with 32 additions and 8 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue Nov 7 14:57:37 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 7.0.0:
* Refine type hint for ``singular_noun`` to indicate a literal
return type for ``False``. (#186)
* Removed methods renamed in 0.2.0.
* Project now supports Pydantic 2 while retaining support for
Pydantic 1. (#187)
* Added validation of user-defined words and amended the type
declarations to match, allowing for null values but not empty
strings. (#187)
* ``ordinal`` now handles float types correctly without first
coercing them to strings. (#178)
* Require Python 3.8 or later.
-------------------------------------------------------------------
Tue Nov 7 14:56:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 6.0.5:
* Pin to Pydantic 1 to avoid breaking in Pydantic 2.
-------------------------------------------------------------------
Wed May 10 06:42:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -82,7 +104,7 @@ Tue Jun 11 08:38:40 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
* Relicensed under the more permissive MIT License.
* fix inconsistencies with the inflect method
* Improved unicode handling.
* Fix capitalization issues in processes where more than one word
* Fix capitalization issues in processes where more than one word
is involved.
* fix extraneous close parentheses.
* Dropped support for Python 3.3.

View File

@ -18,17 +18,18 @@
%{?sle15_python_module_pythons}
Name: python-inflect
Version: 6.0.4
Version: 7.0.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
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module devel >= 3.8}
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 wheel}
BuildRequires: fdupes
@ -57,7 +58,8 @@ Correctly generate plurals, singular nouns, ordinals, indefinite articles; conve
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
%{python_sitelib}/*
%doc NEWS.rst README.rst
%{python_sitelib}/inflect
%{python_sitelib}/inflect-%{version}*-info
%changelog