https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/beartype-0.18.5 fails to compile. Discovered on: amd64 (internal ref: gcc15_tinderbox) System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 899615 [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: E subprocess.CalledProcessError: Command '('/var/tmp/portage/dev-python/beartype-0.18.5/work/beartype-0.18.5-python3_10/install/usr/bin/python3.10', '-m', 'mypy', '--config-file', '/var/tmp/portage/dev-python/beartype-0.18.5/work/beartype-0.18.5/mypy.ini', '/var/tmp/portage/dev-python/beartype-0.18.5/work/beartype-0.18.5/beartype')' returned non-zero exit status 1. ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any FAILED beartype_test/a90_func/pep/test_pep561_static.py::test_pep561_mypy - subprocess.CalledProcessError: Command '('/var/tmp/portage/dev-python/beartype-0.18.5/work/beartype-0.18.5-python3_10/install/usr/bin/python3.10', '-m', 'mypy', '--config-file', '/var/tmp/portage/dev-python/beartype-0.18.5/work/beartype-0.18.5/mypy.ini', '/var/tmp/portage/dev-python/beartype-0.18.5/work/beartype-0.18.5/beartype')' returned non-zero exit status 1. SKIPPED [1] beartype_test/a00_unit/a70_decor/a40_code/a00_module/test_decor_nptyping.py:30: could not import 'nptyping': No module named 'nptyping' SKIPPED [1] beartype_test/a00_unit/a70_decor/a40_code/a00_module/test_decor_pandera.py:22: could not import 'pandera': No module named 'pandera' SKIPPED [1] beartype_test/a90_func/doc/test_docreadme.py:30: could not import 'docutils': No module named 'docutils' SKIPPED [1] beartype_test/a90_func/z90_lib/a90_nuitka/test_nuitka.py:31: could not import 'nuitka': No module named 'nuitka' SKIPPED [1] beartype_test/a90_func/z90_lib/test_equinox.py:21: could not import 'equinox': No module named 'equinox' SKIPPED [1] beartype_test/a90_func/z90_lib/test_torch.py:21: could not import 'torch': No module named 'torch' beartype_test/a90_func/pep/test_pep561_static.py::test_pep561_mypy FAILED [343/347] not import 'torch': No module named 'torch') [347/347] stdout = 'beartype/_util/ast/utilastmunge.py:105: error: "AST" has no attribute "lineno" [attr-defined]\nbeartype/_util/ast/utilastmunge.py:106: error: "AST" has no attribute "col_offset" [attr-defined]\nbeartype/claw/_importlib/clawimpcache.py:192: error: Item "None" of "ModuleSpec | None" has no attribute "name" [union-attr]\nbeartype/_util/ast/utilastmake.py:209: error: Argument "value" to "Attribute" has incompatible type "AST"; expected "expr" [arg-type]\nbeartype/_util/ast/utilastmake.py:305: error: Argument "args" to "Call" has incompatible type "list[AST]"; expected "list[expr]" [arg-type]\nbeartype/_util/ast/utilastmake.py:343: error: No overload variant of "keyword" matches argument types "str", "AST" [call-overload]\nbeartype/_util/ast/utilastmake.py:343: note: Possible overload variants:\nbeartype/_util/ast/utilastmake.py:343: note: def __init__(arg: str | None, value: expr, *, lineno: int = ..., col_offset: int = ..., end_lineno: int = ..., end_col_offset: int = ...) -> keyword\nbeartype/_util/ast/utilastmake.py:343: note: def __init__(arg: str | None = ..., *, value: expr, lineno: int = ..., col_offset: int = ..., end_lineno: int = ..., end_col_offset: int = ...) -> keyword\nbeartype/_util/ast/utilastmake.py:418: error: Argument "value" to "FormattedValue" has incompatible type "AST"; expected "expr" [arg-type]\nbeartype/claw/_ast/_clawastutil.py:192: error: Unexpected keyword argument "value" for "Index" [call-arg]\n/usr/lib/python3.10/site-packages/mypy/typeshed/stdlib/builtins.pyi:103: note: "Index" defined here\nbeartype/claw/_ast/_clawastutil.py:207: error: Argument "slice" to "Subscript" has incompatible type "AST"; expected "expr" [arg-type]\nbeartype/claw/_ast/pep/clawastpep695.py:285: error: Missing positional argument "orelse" in call to "For" [call-arg]\nFound 10 errors in 5 files (checked 296 source files)\n'