- 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.

- update to 6.0.5:
  * Pin to Pydantic 1 to avoid breaking in Pydantic 2.
  * Fix capitalization issues in processes where more than one word

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=17
This commit is contained in:
Dirk Mueller 2023-11-07 15:00:47 +00:00 committed by Git OBS Bridge
parent 73d190b153
commit 7d780004c5
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>

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