ITADN

[ci] mypy breaking on `pyarrow` 24.0: 'Module has no attribute "all"'

#7238Openjameslamb 创建于 2026-04-21
blockingmaintenance
J
jameslambcommented
## 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 条评论