Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937575 - dev-python/beartype-0.18.5 fails to compile: FAILED test_pep561_static.py::test_pep561_mypy - subprocess.CalledProcessError: Command python3.10, -m, mypy, --config-file, mypy.ini, beartype) returned non-zero exit status 1
Summary: dev-python/beartype-0.18.5 fails to compile: FAILED test_pep561_static.py::te...
Status: CONFIRMED
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:
Depends on:
Blocks:
 
Reported: 2024-08-08 14:31 UTC by Agostino Sarubbo
Modified: 2024-08-08 14:31 UTC (History)
0 users

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


Attachments
build.log (build.log,299.49 KB, text/plain)
2024-08-08 14:31 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-08-08 14:31:14 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-08 14:31:15 UTC
Created attachment 899615 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-08 14:31:16 UTC
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'