Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update inflect to 7.4.0 #458

Closed
wants to merge 1 commit into from
Closed

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Sep 7, 2024

This PR updates inflect from 5.3.0 to 7.4.0.

Changelog

7.4.0

======

Features
--------

- Handle a single apostrophe more gracefully. (218)

7.3.1

======

Bugfixes
--------

- Set minimum version of more-itertools to 8.5 (215)

7.3.0

======

Features
--------

- Restricted typing_extensions to Python 3.8. (211)

7.2.1

======

Bugfixes
--------

- Refactored number_to_words toward reduced complexity.

7.2.0

======

Features
--------

- Replace pydantic with typeguard (195)

7.1.0

======

Features
--------

- Now handle 'pair of x' in pl_sb_uninflected_complete (188)

7.0.0

======

Features
--------

- Refine type hint for ``singular_noun`` to indicate a literal return type for ``False``. (186)


Deprecations and Removals
-------------------------

- Removed methods renamed in 0.2.0.

6.2.0

======

Features
--------

- Project now supports Pydantic 2 while retaining support for Pydantic 1. (187)


Bugfixes
--------

- Added validation of user-defined words and amended the type declarations to match, allowing for null values but not empty strings. (187)

6.1.1

======

Bugfixes
--------

- ``ordinal`` now handles float types correctly without first coercing them to strings. (178)

6.1.0

======

Features
--------

- Require Python 3.8 or later.

6.0.5

======

* 187: Pin to Pydantic 1 to avoid breaking in Pydantic 2.

6.0.4

======

* Internal cleanup.

6.0.3

======

* 136: A/an support now more correctly honors leading
capitalized words and abbreviations.

* 178: Improve support for ordinals for floats.

6.0.2

======

* 169: Require pydantic 1.9.1 to avoid ``ValueError``.

6.0.1

======

* Minor tweaks and packaging refresh.

6.0.0

======

* 157: ``compare`` methods now validate their inputs
and will raise a more meaningful exception if an
empty string or None is passed. This expectation is now
documented.

* Many public methods now perform validation on arguments.
An empty string is no longer allowed for words or text.
Callers are expected to pass non-empty text or trap
the validation errors that are raised. The exceptions
raised are ``pydantic.error_wrappers.ValidationError``,
which are currently a subclass of ``ValueError``, but since
that
`may change <https://pydantic-docs.helpmanual.io/usage/validation_decorator/#validation-exception>`_,
tests check for a generic ``Exception``.

5.6.2

======

* 15: Fixes to plural edge case handling.

5.6.1

======

* Packaging refresh and docs update.

5.6.0

======

* 153: Internal refactor to simplify and unify
``_plnoun`` and ``_sinoun``.

5.5.2

======

* Fixed badges.

5.5.1

======

* 150: Rewrite to satisfy type checkers.

5.5.0

======

* 147: Enhanced type annotations.

5.4.0

======

* 133: Add a ``py.typed`` file so mypy recognizes type annotations.
* Misc fixes in 128, 134, 135, 137, 138, 139, 140, 142,
143, 144.
* Require Python 3.7 or later.
Links

@pyup-bot pyup-bot mentioned this pull request Sep 7, 2024
@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #487

@pyup-bot pyup-bot closed this Dec 28, 2024
@simonyuau simonyuau deleted the pyup-update-inflect-5.3.0-to-7.4.0 branch December 28, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant