[ci] mypy breaking on `pyarrow` 24.0: 'Module has no attribute "all"'
blockingmaintenance
## Description
Since `pyarrow` 24.0 was released, `mypy` checks here have started failing like this:
```console
$ pre-commit run --all-files mypy
mypy.....................................................................Failed
- hook id: mypy
- duration: 0.15s
- exit code: 1
python-package/lightgbm/basic.py:3118: error: Module has no attribute "all" [attr-defined]
python-package/lightgbm/basic.py:3118: error: Module has no attribute "equal" [attr-defined]
Found 2 errors in 1 file (checked 9 source files)
```
2 条评论