Publish workflow uses unsupported Python 3.8 and obsolete wheel tags
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
## Summary
`setup.cfg` declares `python_requires = >=3.10` and the README now documents Python 3.10+, but `.github/workflows/publish.yml` still:
- hard-codes `actions/setup-python` to Python 3.8 despite a matrix of py37/py38/py39/py310
- asks `bdist_wheel` to emit py37, py38, py39, and py310 tags
A release therefore runs an unsupported interpreter and publishes artifacts whose tags do not match the declared minimum runtime.
## Proposed fix
Drive setup-python from a supported 3.10-3.13 matrix and pair each interpreter with its correct wheel tag (py310, py311, py312, py313).
## Evidence
- master commit: 9d57bcf9edea2486f214e190931de2a5537f23c1
- `setup.cfg`: `python_requires = >=3.10`
- `.github/workflows/publish.yml`: matrix py37-py310; setup-python hard-coded to 3.8
This is separate from closed #2405/#2464, which only corrected installation documentation.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Examine the `.github/workflows/publish.yml` file to see the current matrix and setup-python configuration. Compare with `setup.cfg` to understand the required Python version. Update the matrix to supported versions (3.10-3.13) and adjust the wheel tags accordingly. Test by running the workflow locally or checking the CI logs to ensure the changes produce correct artifacts.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- github-actions
- 領域
- build-system, ci-cd
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 活躍
- 描述清晰度
- 描述清楚
- 新手友好度
- 75/100