Path to this page:
Subject: CVS commit: pkgsrc/lang/py-inflect
From: Adam Ciarcinski
Date: 2022-11-06 19:08:15
Message id: 20221106180815.857DBFA90@cvs.NetBSD.org
Log Message:
py-inflect: updated to 6.0.2
v6.0.2
======
* Require pydantic 1.9.1 to avoid ``ValueError``.
v6.0.1
======
* Minor tweaks and packaging refresh.
v6.0.0
======
* ``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``.
Files: