diff --git a/inflect-5.6.2.tar.gz b/inflect-5.6.2.tar.gz deleted file mode 100644 index 737aaaea09439be9e204dc537caf9f02c8fd404c..0000000000000000000000000000000000000000 Binary files a/inflect-5.6.2.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 41853373febe77a384e20c67cbbb1b38f4ecbb74..26114bd6d1393e48fd2079ac5e3e3cdceb03c8d8 100644 --- a/python-inflect.spec +++ b/python-inflect.spec @@ -2,7 +2,7 @@ Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words.} Name: python-inflect -Version: 5.6.2 +Version: 7.0.0 Release: 1 Summary: Correctly generate plurals, ordinals, indefinite articles; convert numbers to words License: MIT @@ -15,7 +15,10 @@ BuildRequires: python3-pytest BuildRequires: python3-setuptools_scm 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 @@ -33,16 +36,35 @@ 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 +- Apply validation on other compare* methods + * Fri Apr 28 2023 yaoxin - 5.6.2-1 - Package init