Merged
feat(version): Bump PyPTO version to 0.3.0 #6300
chengding888Add on Sep 15
feat(version): Bump PyPTO version to 0.3.0 #6300
Merged
Merged fromchengding888/pypto9.2.0intocann/pypto9.2.0
Pull Request has been successfully merged by CANN-robot.
(Thank you for chengding888's contribution.)Sep 15 Created pull request, commit fbde1a24
atomgit-bot
Sep 15 Comments:
Sep 15 Comments:
变更摘要
该 PR 将 PyPTO 版本从 0.2.1 升级到 0.3.0,并同步更新了构建、CI、打包脚本中与该版本号相关的分支匹配逻辑和 whl 包文件名引用,以保证版本发布与自动化流程保持一致。
主要改动
pyproject.toml版本号升级:将version从0.2.1更新为0.3.0,作为本次版本发布的核心配置变更。- CI 脚本分支匹配更新:在
.gitcode/scripts/compile.sh和.gitcode/scripts/ut.sh中,将GIT_TARGET_BRANCH的判断分支由0.2.0改为0.3.0,使对应 CI 流水线能拉取新版本的 CANN 依赖包。 - whl 包文件名/路径更新:将
scripts/package/module/ascend/PyptoSo.xml和scripts/package/pypto/scripts/pypto_custom_install.sh中引用的安装包由pypto-0.2.1-cp37-abi3-manylinux2014_$(ARCH).whl更新为pypto-0.3.0-cp37-abi3-manylinux2014_$(ARCH).whl,确保打包与安装逻辑匹配新版本。 setup.py注释同步更新:更新了关于 pypi 源版本与打入 CANN 包的 PyPTO 版本比较的注释,将版本号由0.2.1改为0.3.0,保持说明与当前版本一致。


Incorrect?
atomgit-bot
Sep 15 Comments:
Sep 15 Comments:
Sep 15 Added label: cann-cla/yes
CANN-robot
Sep 15 Comments:
Sep 15 Comments:
54 messages are collapsed here。 See more
huanglu
Sep 15 Comments:
Sep 15 Comments:
/lgtm


Jie Yin
Sep 15 Comments:
Sep 15 Comments:
/approve


Sep 15 Added label: lgtmapproved
Sep 15 Merged pull request
Oct 20 Associated issue: [Task|任务跟踪]: PyPTO 版本升级至 0.3.0
将 PyPTO 版本从
0.2.1升级至0.3.0。改动内容
pyproject.toml:version由0.2.1更新为0.3.0docs/zh/install/build_and_install.md:CANN-PyPTO 版本映射表新增9.2.0 → 0.3.0,保留历史映射(8.5.0 → 0.1.2、9.0.0 → 0.2.0)scripts/package/pypto/scripts/pypto_custom_install.sh:whl 文件名由硬编码改为pypto-*.whl动态 globscripts/package/module/ascend/PyptoSo.xml:<file value>由硬编码改为通配符pypto-*.whl.agents/skills/pypto-simulation/SKILL.md:pip show pypto示例版本同步为0.3.0说明
打包脚本原本硬编码 whl 文件名版本号,每次发版需同步修改多处;本次改为动态匹配后,后续发版仅需修改
pyproject.toml一处。验证
python3 build_ci.py --clean --no_isolation构建通过,产物:pypto-0.3.0-cp37-abi3-manylinux2014_aarch64.whlcann-pypto_9.2.0_linux-aarch64.run(9.2.0为 CANN 版本)