boostorg / boostorg/python

Prepare for python 3.10 changing its nodot version

未關閉
#323 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
537
分支
223
平均合併
11 小時 22 分鐘
30 天內合併 PR
2

描述

As long as I am lurking in your repo bothering you about PyPy, I would like to mention that python [may change the "nodot" convention](https://github.com/python/cpython/pull/20333) for `3.10` to become `3_10` rather than `310`. This might affect code like [here](https://github.com/boostorg/python/blob/15115eb1f844e9ac8ed5dd454d46a4e7b5ae5b48/fabscript#L23) (probably a bad example) that concatenates the python major-minor versions. A better technique would be to avoid thinking about it and use `sysconfig.get_config_var('py_version_nodot')`.

Feel free to close this with no comment if it is not relevant.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start by inspecting fabscript at the linked line and search for other places that concatenate Python major-minor versions. Compare those uses with Python's sysconfig.get_config_var('py_version_nodot') behavior for Python 3.10. Done means the affected version handling is compatible with the changed convention, with any relevant checks passing.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
build-system
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。