Created attachment 881346 [details] emerge --info __________________________________________________________________________ [doctest] inflect.engine.compare __________________________________________________________________________ EXAMPLE LOCATION UNKNOWN, not showing all tests of that example ??? >>> compare('egg', '') Differences (unified diff with -expected +actual): @@ -1,5 +1,12 @@ Traceback (most recent call last): -... -pydantic...ValidationError: ... -... - ...at least 1 characters... + File "/usr/lib/python3.11/doctest.py", line 1353, in __run + exec(compile(example.source, filename, "single", + File "<doctest inflect.engine.compare[3]>", line 1, in <module> + compare('egg', '') + File "/usr/lib/python3.11/site-packages/pydantic/_internal/_validate_call.py", line 113, in __call__ + res = self.__pydantic_validator__.validate_python(pydantic_core.ArgsKwargs(args, kwargs)) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +pydantic_core._pydantic_core.ValidationError: 1 validation error for compare +1 + String should have at least 1 character [type=string_too_short, input_value='', input_type=str] + For further information visit https://errors.pydantic.dev/2.5/v/string_too_short /var/tmp/portage/dev-python/inflect-7.0.0/work/inflect-7.0.0/inflect/__init__.py:None: DocTestFailure
Created attachment 881347 [details] Full build.log
Looks like an incompatibility with new dev-python/pydantic.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf38b34bd509337a583210f00199cb85c91df72d commit cf38b34bd509337a583210f00199cb85c91df72d Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-01-03 07:36:05 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-01-03 08:29:55 +0000 dev-python/inflect: Deselect broken doctest Closes: https://bugs.gentoo.org/921232 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/inflect/inflect-7.0.0.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)