ci: 3.8/3.9 仅提供纯 Python wheel, CI 矩阵回退 3.10-3.14
Windows runner 未安装 Python 3.8/3.9 (run 258 失败于 Python 3.8 is required)。 requires-python 维持 >=3.8: 3.8/3.9 用户安装 py3-none-any wheel, 功能一致; pyd wheel 覆盖 runner 预装的 3.10-3.14。
This commit is contained in:
@@ -35,7 +35,7 @@ io-compatible file reads through an approved Python helper on Windows DLP hosts.
|
||||
py -m pip install --index-url https://gitea.docker.antior.cn/api/packages/antior/pypi/simple dlp-io
|
||||
```
|
||||
|
||||
pip 会自动选择最匹配的 wheel:Windows 上 CPython 3.8–3.14 安装对应的 pyd wheel(整个库由 Cython 编译为单个 `.pyd`),其余环境安装纯 Python wheel。如需固定版本:
|
||||
pip 会自动选择最匹配的 wheel:Windows 上 CPython 3.10–3.14 安装对应的 pyd wheel(整个库由 Cython 编译为单个 `.pyd`),3.8/3.9 及其余环境安装纯 Python wheel(库要求 Python >= 3.8)。如需固定版本:
|
||||
|
||||
```powershell
|
||||
py -m pip install --index-url https://gitea.docker.antior.cn/api/packages/antior/pypi/simple dlp-io==0.1.1
|
||||
@@ -52,10 +52,10 @@ pytest
|
||||
|
||||
## 构建发布
|
||||
|
||||
发布流程由 `.gitea/workflows/publish-dlp-io.yaml` 驱动:推送 `dlp-io-vX.Y.Z` 格式的 annotated tag,Windows runner(Python 3.8–3.14)会自动完成测试、构建,并把产物上传到 Gitea Release:
|
||||
发布流程由 `.gitea/workflows/publish-dlp-io.yaml` 驱动:推送 `dlp-io-vX.Y.Z` 格式的 annotated tag,Windows runner(Python 3.10–3.14)会自动完成测试、构建,并把产物上传到 Gitea Release:
|
||||
|
||||
- `dlp_io-X.Y.Z-py3-none-any.whl`(纯 Python,跨平台)
|
||||
- `dlp_io-X.Y.Z-cp38` … `cp314-win_amd64.whl`(7 个 pyd wheel,Cython 编译,Windows 按解释器版本选用)
|
||||
- `dlp_io-X.Y.Z-cp310` … `cp314-win_amd64.whl`(5 个 pyd wheel,Cython 编译,Windows 按解释器版本选用;3.8/3.9 使用纯 Python wheel)
|
||||
- `dlp_io-X.Y.Z.tar.gz`(sdist)
|
||||
- `dlp_io.py` 和 5 个裸 `dlp_io.cp3XX-win_amd64.pyd`(免安装单文件,放进项目目录即可 import)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user