Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834555 - dev-python/PyContracts-1.8.14-r1 fails tests on MUSL
Summary: dev-python/PyContracts-1.8.14-r1 fails tests on MUSL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2022-03-04 08:21 UTC by Agostino Sarubbo
Modified: 2023-01-27 11:11 UTC (History)
0 users

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


Attachments
build.log (build.log,367.01 KB, text/plain)
2022-03-04 08:21 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 2022-03-04 08:21:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/PyContracts-1.8.14-r1 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-04 08:21:51 UTC
Created attachment 766207 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-04 08:21:52 UTC
Error(s) that match a know pattern:


AssertionError: Bug in syntax: I was not supposed to match 'attr'.(options: ['Int', 'Float', 'Number', 'bool', 'type', 'str', 'string', 'unicode', 'unicode', 'list', 'seq', 'tuple', 'collection', 'datetime_tz', 'dict', 'map', 'set', 'attr', 'file', 'np_int', 'np_int8', 'np_int16', 'np_int32', 'np_int64', 'np_uint8', 'np_uint16', 'np_uint32', 'np_uint64', 'np_float', 'np_float16', 'np_float32', 'np_float64', 'np_complex', 'np_complex64', 'np_complex128', 'array', 'ndarray', 'shape', 'isinstance', 'Container', 'Iterable', 'Hashable', 'Iterator', 'Sized', 'Callable', 'Sequence', 'Set', 'MutableSequence', 'MutableSet', 'Mapping', 'MutableMapping', 'None', 'NoneType', 'finite', 'np_scalar_uint', 'np_scalar_int', 'np_scalar_float', 'np_scalar_type', 'np_zeroshape_array', 'np_scalar', 'float', 'int', 'uint', 'number', 'bytes', 'ext0_positive', 'ext1_lessthan', 'rgb', 'rgba', 'legal_move1', 'legal_move4', 'legal_move2', 'alegalmove', 'my8', 'my8b', 'even', 'even2', 'greater_than', 'less_than_all', 'less_than', 'GeneratedContract1', 'GeneratedContract2', 'GeneratedContract3', 'GeneratedContract4', 'GeneratedContract5', 'GeneratedContract6', 'GeneratedContract7', 'SEn', 'Sen', 'GeneratedContract8', 'GeneratedContract9', 'color', 'GeneratedContract10', 'GeneratedContract11', 'GeneratedContract12', 'GeneratedContract14', 'my7', 'my_list2', 'GeneratedContract15', 'GeneratedContract16', 'my_list', 'aa', 'a_', 'a2', 'a_2', 'list2', 'dict2', 'int2', 'float2', 'point2', 'A2', 'array2', 'unit_length', 'SE2', 'SE3', 'S1', 'S2', 'axis_angle', 'Int2', 'Int_', 'Float2', 'Float_', 'Number2', 'Number_', 'bool2', 'bool_', 'type2', 'type_', 'str2', 'str_', 'string2', 'string_', 'unicode2', 'unicode_', 'list_', 'seq2', 'seq_', 'tuple2', 'tuple_', 'collection2', 'collection_', 'datetime_tz2', 'datetime_tz_', 'dict_', 'map2', 'map_', 'set2', 'set_', 'attr2', 'attr_', 'file2', 'file_', 'np_int2', 'np_int_', 'np_int82', 'np_int8_', 'np_int162', 'np_int16_', 'np_int322', 'np_int32_', 'np_int642', 'np_int64_', 'np_uint82', 'np_uint8_', 'np_uint162', 'np_uint16_', 'np_uint322', 'np_uint32_', 'np_uint642', 'np_uint64_', 'np_float2', 'np_float_', 'np_float162', 'np_float16_', 'np_float322', 'np_float32_', 'np_float642', 'np_float64_', 'np_complex2', 'np_complex_', 'np_complex642', 'np_complex64_', 'np_complex1282', 'np_complex128_', 'array_', 'ndarray2', 'ndarray_', 'shape2', 'shape_', 'isinstance2', 'isinstance_']) Suggestions on the cause:
AssertionError: Bug in syntax: I was not supposed to match 'type'.(options: ['Int', 'Float', 'Number', 'bool', 'type', 'str', 'string', 'unicode', 'unicode', 'list', 'seq', 'tuple', 'collection', 'datetime_tz', 'dict', 'map', 'set', 'attr', 'file', 'np_int', 'np_int8', 'np_int16', 'np_int32', 'np_int64', 'np_uint8', 'np_uint16', 'np_uint32', 'np_uint64', 'np_float', 'np_float16', 'np_float32', 'np_float64', 'np_complex', 'np_complex64', 'np_complex128', 'array', 'ndarray', 'shape', 'isinstance', 'Container', 'Iterable', 'Hashable', 'Iterator', 'Sized', 'Callable', 'Sequence', 'Set', 'MutableSequence', 'MutableSet', 'Mapping', 'MutableMapping', 'None', 'NoneType', 'finite', 'np_scalar_uint', 'np_scalar_int', 'np_scalar_float', 'np_scalar_type', 'np_zeroshape_array', 'np_scalar', 'float', 'int', 'uint', 'number', 'bytes', 'ext0_positive', 'ext1_lessthan', 'rgb', 'rgba', 'legal_move1', 'legal_move4', 'legal_move2', 'alegalmove', 'my8', 'my8b', 'even', 'even2', 'greater_than', 'less_than_all', 'less_than', 'GeneratedContract1', 'GeneratedContract2', 'GeneratedContract3', 'GeneratedContract4', 'GeneratedContract5', 'GeneratedContract6', 'GeneratedContract7', 'SEn', 'Sen', 'GeneratedContract8', 'GeneratedContract9', 'color', 'GeneratedContract10', 'GeneratedContract11', 'GeneratedContract12', 'GeneratedContract14', 'my7', 'my_list2', 'GeneratedContract15', 'GeneratedContract16', 'my_list', 'aa', 'a_', 'a2', 'a_2', 'list2', 'dict2', 'int2', 'float2', 'point2', 'A2', 'array2', 'unit_length', 'SE2', 'SE3', 'S1', 'S2', 'axis_angle', 'Int2', 'Int_', 'Float2', 'Float_', 'Number2', 'Number_', 'bool2', 'bool_', 'type2', 'type_', 'str2', 'str_', 'string2', 'string_', 'unicode2', 'unicode_', 'list_', 'seq2', 'seq_', 'tuple2', 'tuple_', 'collection2', 'collection_', 'datetime_tz2', 'datetime_tz_', 'dict_', 'map2', 'map_', 'set2', 'set_', 'attr2', 'attr_', 'file2', 'file_', 'np_int2', 'np_int_', 'np_int82', 'np_int8_', 'np_int162', 'np_int16_', 'np_int322', 'np_int32_', 'np_int642', 'np_int64_', 'np_uint82', 'np_uint8_', 'np_uint162', 'np_uint16_', 'np_uint322', 'np_uint32_', 'np_uint642', 'np_uint64_', 'np_float2', 'np_float_', 'np_float162', 'np_float16_', 'np_float322', 'np_float32_', 'np_float642', 'np_float64_', 'np_complex2', 'np_complex_', 'np_complex642', 'np_complex64_', 'np_complex1282', 'np_complex128_', 'array_', 'ndarray2', 'ndarray_', 'shape2', 'shape_', 'isinstance2', 'isinstance_']) Suggestions on the cause:
FAIL: contracts.testing.test_simple.test_syntax_fail('attr',)
FAIL: contracts.testing.test_simple.test_syntax_fail('type',)
FAIL: contracts.testing.test_simple.test_syntax_fail('type()',)
FAILED (SKIP=3, failures=3)
Comment 3 Larry the Git Cow gentoo-dev 2023-01-27 11:11:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19acd9fdb8d2e79fd982c9e3b9723d82906c6a44

commit 19acd9fdb8d2e79fd982c9e3b9723d82906c6a44
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-01-27 10:51:02 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-01-27 11:07:13 +0000

    dev-python/PyContracts: treeclean
    
    Closes: https://bugs.gentoo.org/834555
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-python/PyContracts/Manifest                    |   1 -
 .../PyContracts/PyContracts-1.8.14-r1.ebuild       |  39 ------
 .../files/PyContracts-1.8.14-fix-py3.10.patch      | 150 ---------------------
 dev-python/PyContracts/metadata.xml                |  13 --
 profiles/package.mask                              |   1 -
 5 files changed, 204 deletions(-)