Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945090 - dev-python/pydantic-2.10.2 fails tests: FAILED test_utils.py::test_pretty_print[True-schema0-expected0] - ModuleNotFoundError: No module named rich
Summary: dev-python/pydantic-2.10.2 fails tests: FAILED test_utils.py::test_pretty_pri...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-11-27 07:59 UTC by Agostino Sarubbo
Modified: 2024-11-27 12:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,587.46 KB, text/plain)
2024-11-27 07:59 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-27 07:59:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pydantic-2.10.2 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-27 07:59:35 UTC
Created attachment 912214 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-27 07:59:35 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       ModuleNotFoundError: No module named 'rich'
FAILED tests/test_utils.py::test_pretty_print[False-schema1-expected1] - ModuleNotFoundError: No module named 'rich'
FAILED tests/test_utils.py::test_pretty_print[False-schema2-expected2] - ModuleNotFoundError: No module named 'rich'
FAILED tests/test_utils.py::test_pretty_print[True-schema0-expected0] - ModuleNotFoundError: No module named 'rich'
not import 'devtools': No module named 'devtools')                  [1615/5266]
SKIPPED [1] tests/test_internal.py:187: could not import 'devtools': No module named 'devtools'
tests/test_datetime.py::test_unicode_decode_error[d] PASSED         [ 827/5266]
tests/test_datetime.py::test_unicode_decode_error[dt0] PASSED       [ 826/5266]
tests/test_datetime.py::test_unicode_decode_error[dt1] PASSED       [ 829/5266]
tests/test_datetime.py::test_unicode_decode_error[t] PASSED         [ 828/5266]
tests/test_decorators.py::test_inspect_validator_error[after] PASSED [ 896/5266]
tests/test_decorators.py::test_inspect_validator_error[before] PASSED [ 895/5266]
tests/test_decorators.py::test_inspect_validator_error[plain] PASSED [ 897/5266]
tests/test_edge_cases.py::test_typed_dict_error[1-errors0] PASSED   [1084/5266]
tests/test_edge_cases.py::test_typed_dict_error[value1-errors1] PASSED [1085/5266]
tests/test_edge_cases.py::test_typed_dict_error[value2-errors2] PASSED [1086/5266]
tests/test_networks.py::test_postgres_dsns_validation_error[http://example.org-error_message4] PASSED [2794/5266]
tests/test_networks.py::test_postgres_dsns_validation_error[postgres://user@/foo/bar:5432/app-error_message3] PASSED [2793/5266]
tests/test_networks.py::test_postgres_dsns_validation_error[postgres://user:pass@/foo/bar:5432,host1.db.net:4321/app-error_message2] PASSED [2792/5266]
tests/test_networks.py::test_postgres_dsns_validation_error[postgres://user:pass@host1.db.net:4321,/foo/bar:5432/app-error_message0] PASSED [2790/5266]
tests/test_networks.py::test_postgres_dsns_validation_error[postgres://user:pass@host1.db.net,/app-error_message1] PASSED [2791/5266]
tests/test_root_model.py::test_extra_error[allow] PASSED            [3226/5266]
tests/test_root_model.py::test_extra_error[forbid] PASSED           [3227/5266]
tests/test_root_model.py::test_extra_error[ignore] PASSED           [3225/5266]
tests/test_types.py::test_finite_float_validation_error[inf] PASSED [4093/5266]
tests/test_types.py::test_finite_float_validation_error[-inf] PASSED [4094/5266]
tests/test_types.py::test_finite_float_validation_error[nan] PASSED [4095/5266]
tests/test_types.py::test_pattern_error[re.Pattern-pattern_regex0] PASSED [4349/5266]
tests/test_types.py::test_pattern_error[re.Pattern-pattern_regex1] PASSED [4350/5266]
tests/test_types.py::test_pattern_error[typing.Pattern[bytes]-pattern_bytes_type-non_bytes] PASSED [4356/5266]
tests/test_types.py::test_pattern_error[typing.Pattern[bytes]-pattern_bytes_type-str] PASSED [4357/5266]
tests/test_types.py::test_pattern_error[typing.Pattern[bytes]-pattern_type] PASSED [4358/5266]
tests/test_types.py::test_pattern_error[typing.Pattern-pattern_type0] PASSED [4351/5266]
tests/test_types.py::test_pattern_error[typing.Pattern-pattern_type1] PASSED [4352/5266]
tests/test_types.py::test_pattern_error[typing.Pattern[str]-pattern_str_type-bytes] PASSED [4354/5266]
tests/test_types.py::test_pattern_error[typing.Pattern[str]-pattern_str_type-non_str] PASSED [4353/5266]
tests/test_types.py::test_pattern_error[typing.Pattern[str]-pattern_type] PASSED [4355/5266]
tests/test_utils.py::test_pretty_print[False-schema1-expected1] FAILED [5015/5266]
tests/test_utils.py::test_pretty_print[False-schema2-expected2] FAILED [5016/5266]
tests/test_utils.py::test_pretty_print[True-schema0-expected0] FAILED [5014/5266]
tests/test_utils.py::test_smart_deepcopy_error[RuntimeError] PASSED [4952/5266]
tests/test_utils.py::test_smart_deepcopy_error[TypeError] PASSED    [4950/5266]
tests/test_utils.py::test_smart_deepcopy_error[ValueError] PASSED   [4951/5266]
tests/test_validate_call.py::test_classmethod_order_error[classmethod] PASSED [5026/5266]
tests/test_validate_call.py::test_classmethod_order_error[staticmethod] PASSED [5025/5266]
tests/test_validators.py::test_wildcard_validator_error[field_validator-pytest_warns1] PASSED [5118/5266]
tests/test_validators.py::test_wildcard_validator_error[validator-pytest_warns0] PASSED [5117/5266]
Comment 3 Larry the Git Cow gentoo-dev 2024-11-27 12:02:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5520b4717a0fed9571ad720498ce48db5f610003

commit 5520b4717a0fed9571ad720498ce48db5f610003
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-11-27 11:40:12 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-11-27 11:40:12 +0000

    dev-python/pydantic: Add missing dev-python/rich test dep
    
    Closes: https://bugs.gentoo.org/945090
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pydantic/pydantic-2.10.2.ebuild | 1 +
 1 file changed, 1 insertion(+)