diff --git a/inflect-6.0.0.tar.gz b/inflect-6.0.0.tar.gz deleted file mode 100644 index be1453766b2a9f7da1324a95664c7ded5ee689ee..0000000000000000000000000000000000000000 Binary files a/inflect-6.0.0.tar.gz and /dev/null differ diff --git a/inflect-7.0.0.tar.gz b/inflect-7.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3c4b018c285a21981a09d4fa5640e9f71b346884 Binary files /dev/null and b/inflect-7.0.0.tar.gz differ diff --git a/python-inflect.spec b/python-inflect.spec index 64779d1a54553307a16e1749de0376bff0afd1a5..26114bd6d1393e48fd2079ac5e3e3cdceb03c8d8 100644 --- a/python-inflect.spec +++ b/python-inflect.spec @@ -2,13 +2,13 @@ Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words.} Name: python-inflect -Version: 6.0.0 +Version: 7.0.0 Release: 1 Summary: Correctly generate plurals, ordinals, indefinite articles; convert numbers to words License: MIT Group: Development/Languages/Python URL: https://pypi.org/project/inflect/ -Source0: https://files.pythonhosted.org/packages/93/b3/f53dae21efbc41231797d136f97414a441b9e4cc51ee72a1780793b84bed/inflect-6.0.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-pytest @@ -17,6 +17,8 @@ BuildRequires: python3-toml BuildRequires: python3-pip python3-wheel BuildRequires: python3-pydantic Requires: python-toml +Requires: python-pydantic >= 1.9.1 +Requires: python-typing-extensions BuildArch: noarch @@ -34,17 +36,31 @@ Summary: %{Summary} %pyproject_build %install -%pyproject_install inflect==%{version} +%pyproject_install %check pytest %files -n python3-inflect %license LICENSE -%doc CHANGES.rst README.rst +%doc README.rst %{python3_sitelib}/inflect* %changelog +* Fri Aug 16 2024 yaoxin - 7.0.0-1 +- 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. + * Wed Jul 31 2024 dongqi - 6.0.0-1 - Update package version to 6.0.0 - Use Python 3.11 for cutting releases