Skip to content

mypy 17.0.0 errors #4715

Closed
Closed

Description

@ajpotts

When upgrading to mypy version 17.0.0 the following errors occur:

$ make mypy
python3 -m mypy arkouda
arkouda/numpy/numeric.py:2607: error: Incompatible return value type (got "signedinteger[_8Bit] | signedinteger[_16Bit] | signedinteger[_32Bit] | signedinteger[_64Bit]", expected "signedinteger[_64Bit]")  [return-value]
arkouda/numpy/numeric.py:2612: error: Incompatible return value type (got "signedinteger[_8Bit] | signedinteger[_16Bit] | signedinteger[_32Bit] | signedinteger[_64Bit]", expected "signedinteger[_64Bit]")  [return-value]
arkouda/numpy/numeric.py:2617: error: Incompatible return value type (got "signedinteger[_8Bit] | signedinteger[_16Bit] | signedinteger[_32Bit] | signedinteger[_64Bit]", expected "signedinteger[_64Bit]")  [return-value]
arkouda/numpy/util.py:907: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
arkouda/numpy/segarray.py:72: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
Found 3 errors in 1 file (checked 109 source files)
make: *** [Makefile:762: mypy] Error 1


Activity

  1. self-assigned this
    on Jul 15, 2025
  2. added a commit that references this issue on Jul 15, 2025
    0bf4d2e
  3. added a commit that references this issue on Jul 16, 2025
    2e9b089
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions