curved-manchester-66006
12/04/2024, 11:08 PMcurved-manchester-66006
12/04/2024, 11:09 PM23:07:39.80 [ERROR] Completed: Typecheck using MyPy - mypy - mypy failed (exit code 1).
Partition #1 - pbs-script, ['CPython==3.11.*']:
Success: no issues found in 2 source files
Partition #2 - python-default, ['CPython==3.11.*']:
src/python/pants/engine/collection.py: note: In class "Collection":
src/python/pants/engine/collection.py:55:16: error: Incompatible types in assignment (expression has type "Callable[[], int]", base class "tuple" defined the type as "Callable[[tuple[T, ...]], int]") [assignment]
__hash__ = Tuple.__hash__
^~~~~~~~~~~~~~
src/python/pants/engine/target.py: note: In class "CoarsenedTargets":
src/python/pants/engine/target.py:939:16: error: Incompatible types in assignment (expression has type "Callable[[], int]", base class "tuple" defined the type as "Callable[[tuple[CoarsenedTarget, ...]], int]") [assignment]
__hash__ = Tuple.__hash__
^~~~~~~~~~~~~~
Found 2 errors in 2 files (checked 1725 source files)
✓ javac succeeded.
✕ mypy failed.
✓ scalac succeeded.
Error: Process completed with exit code 1.fast-nail-55400
12/04/2024, 11:21 PMfast-nail-55400
12/04/2024, 11:21 PMfast-nail-55400
12/04/2024, 11:21 PMfast-nail-55400
12/04/2024, 11:22 PMhappy-kitchen-89482
12/06/2024, 1:17 AMhappy-kitchen-89482
12/06/2024, 1:17 AM