Boost Python 1.83.0 doesn't support NumPy 2.0
- 主要語言
- C++
- 星號
- 537
- 分支
- 223
- 平均合併
- 11 小時 22 分鐘
- 30 天內合併 PR
- 2
描述
I am getting this error while using Boost.Python
```
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
```
I'vent attached a reproducible example because it is a known issue in PyBind https://github.com/pybind/pybind11/issues/5009
Is this issue resolved in Boost Python ? Do there exist any workaround ?
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
該報告涉及 Boost.Python 與 NumPy 2.0 的相容性,並連結到 pybind11 issue #5009;首先檢視 Boost.Python 目前對 NumPy 的支援情況以及那份相關報告。確定是否支援 NumPy 2.x,或是否存在 workaround,然後透過可重現的相容性檢查驗證這項發現。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp, numpy, python
- 領域
- backend
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100