chore: pin NumPy 1.26.4

This commit is contained in:
chengma
2026-07-23 15:03:19 +08:00
parent c734e3fe79
commit 608a79d48a
5 changed files with 75 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
py -3.10 -m pip install -r requirements-build.txt
```
`requirements-build.txt` 会先安装 `requirements.txt` 的运行依赖,再安装 PyInstaller。依赖必须安装到 Python 3.10 环境里,避免 PATH 上的 Python 3.7/3.12/3.14 打出不可比对的包。
`requirements-build.txt` 会先安装 `requirements.txt` 的运行依赖,再安装 PyInstaller。依赖必须安装到 Python 3.10 环境里,避免 PATH 上的 Python 3.7/3.12/3.14 打出不可比对的包。运行依赖固定使用 NumPy 1.26.4,以兼容 PySide6/Shiboken 6.5.3;正式打包前不得单独升级到 NumPy 2.x。
## 二、打包命令