https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/openapi-schema-validator-0.6.2 fails tests. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM Info about the system: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 883344 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: {'enum': ['NW', 'NE', 'SW', 'SE']}], {'enum': ['Street', 'Avenue', 'Boulevard']}, {'type': 'string'}, 'prefixItems': [{'type': 'number'}, 'type': 'array'} [1600, 'Pennsylvania', 'Avenue', 'NW', 'Washington']" = str(<ValidationError: "Expected at most 4 items but found 1 extra: 'Washington'">) {'items': False, E + where <ValidationError: "Expected at most 4 items but found 1 extra: 'Washington'"> = <ExceptionInfo <ValidationError: "Expected at most 4 items but found 1 extra: 'Washington'"> tblen=2>.value E + where "Expected at most 4 items but found 1 extra: 'Washington' FAILED tests/integration/test_validators.py::TestOAS31ValidatorValidate::test_array_prefixitems_invalid[value0] - assert 'Expected at most 4 items, but found 5' in "Expected at most 4 items... Failed validating 'items' in schema: On instance: excinfo = <ExceptionInfo <ValidationError: "Expected at most 4 items but found 1 extra: 'Washington'"> tblen=2> fatal: not a git repository (or any parent up to mount point /var/tmp)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d70da39f1d5092b911c83423b3362748ac5edcae commit d70da39f1d5092b911c83423b3362748ac5edcae Author: Petr Vaněk <arkamar@gentoo.org> AuthorDate: 2024-06-15 21:29:11 +0000 Commit: Petr Vaněk <arkamar@gentoo.org> CommitDate: 2024-06-16 08:11:05 +0000 dev-python/openapi-schema-validator: fix tests The issue was fixed upstream, see PR [1]. [1] https://github.com/python-openapi/openapi-schema-validator/pull/165 Closes: https://bugs.gentoo.org/923074 Signed-off-by: Petr Vaněk <arkamar@gentoo.org> .../openapi-schema-validator-0.6.2-test.patch | 24 ++++++++++++++++++++++ .../openapi-schema-validator-0.6.2.ebuild | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-)