InsightSoftwareConsortium / InsightSoftwareConsortium/ITKPythonPackage

Package version number

オープン
#95 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
CMake
スター
66
フォーク
25
平均マージ
1日 18時間
マージ済み PR(30日)
2

説明

Currently, the package version number is fetched with [git describe](https://github.com/InsightSoftwareConsortium/ITKPythonPackage/blob/master/scripts/update_python_version.py#L41), but this means that it uses the last tag, which may not be the current tag for new major releases. As an example, the current Python packages are names 4.13.xxxx when the current ITK_VERSION is 5.0.0 which is confusing. A better way to name the packages would be to name them based on the ITK_VERSION variable in the ITK CMakeLists.txt . Following [PEP440](https://www.python.org/dev/peps/pep-0440/#pre-releases), the name of the nightly packages could be: ${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}.${ITK_VERSION_PATCH}a${sha}, or something similar.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The current version logic is in scripts/update_python_version.py at the git describe reference; compare it with the ITK_VERSION variable in the ITK CMakeLists.txt. Verify that generated nightly package names use a PEP 440-compatible version based on the current ITK_VERSION rather than an outdated tag.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cmake, git, python
領域
build-system, release
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。