fast-nail-55400
11/20/2024, 6:37 PMPartition #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__
^~~~~~~~~~~~~~happy-kitchen-89482
11/21/2024, 2:00 AMcheck with --changed-since=main or something like that?fast-nail-55400
11/21/2024, 3:11 AM./pants fmt lint check src/python/pants::fast-nail-55400
11/21/2024, 3:12 AMhappy-kitchen-89482
11/21/2024, 5:51 AMfast-nail-55400
11/21/2024, 9:47 AMfast-nail-55400
11/21/2024, 7:03 PMhappy-kitchen-89482
11/21/2024, 9:27 PMcurved-manchester-66006
11/23/2024, 2:36 AMcurved-manchester-66006
12/05/2024, 2:10 AMcurved-manchester-66006
12/05/2024, 2:16 AMfast-nail-55400
12/05/2024, 2:35 AMbroad-processor-92400
12/05/2024, 2:48 AMfast-nail-55400
12/05/2024, 2:50 AMhappy-kitchen-89482
12/05/2024, 3:58 AMhappy-kitchen-89482
12/05/2024, 3:58 AMhappy-kitchen-89482
12/05/2024, 3:58 AMhappy-kitchen-89482
12/05/2024, 5:43 AMfast-nail-55400
12/05/2024, 7:04 PMfast-nail-55400
12/05/2024, 7:05 PMfast-nail-55400
12/05/2024, 9:24 PMcheck .fast-nail-55400
12/05/2024, 9:24 PMCollection __hash__ stuff)happy-kitchen-89482
12/06/2024, 4:04 AMhappy-kitchen-89482
12/06/2024, 4:04 AMfast-nail-55400
12/06/2024, 4:32 AMhappy-kitchen-89482
12/06/2024, 6:20 AM_extend_synthetic functionality, but it looks like we don’t actually use that anywhere. From inspection, that functionality appears to be completely broken, but the tests aren’t substantial enough to expose this, and since we don’t actually use it in non-test code, and it’s not documented anywhere, we’re getting away with it. I need to dig deeper into this, and write a test to expose the problem I believe I am seeing. But this is not just a performance issue but a correctness one.