Open
Fix license and enable upstream tests #12
Fix license and enable upstream tests #12
Open
iBaka9Add on Oct 10
iBaka9
iBaka9
Oct 10

当前PR是否有AI参与:

  1. Agent平台信息: Codex Desktop 26.1007.21159

  2. 模型信息: GPT-6.1 Sol

  3. Prompt摘要: 核对 python-tzdata 的上游许可证和打包配置,修正许可证声明并增加构建测试。基于已合入的 2026.5 更新处理与 master 的冲突,调整 Release 和 changelog,并使 PR 标题、描述与当前差异一致。

PR功能描述 / 为什么需要这个合入

python-tzdata 升级至 2026.5 已由 PR #13 合入 master。本 PR 基于现有 2026.5 修正 RPM 打包配置,当前 Files Changed 仅涉及 python-tzdata.spec:

  • 将 License 从 MIT 修正为上游实际声明的 Apache-2.0,与源码包中的 LICENSE 和 setup.cfg 一致。
  • 在 %license 中补充 licenses/LICENSE_APACHE,将完整 Apache-2.0 许可证文本纳入 RPM。
  • 增加 python3-pytest 和 python3-pytest-subtests 构建依赖,并在 %check 中通过 PYTHONPATH=%{buildroot}%{python3_sitelib} 对构建安装后的包运行上游测试。
  • 将 Release 从 1 升为 2,并新增 2026.5-2 的 changelog,记录许可证修正和构建测试改动。

该PR关联的issue

无关联 Issue。

希望检视人员了解

本次验证已完成:

  • 核对源码包中的许可证声明,以及 licenses/LICENSE_APACHE 文件。
  • 在 macOS / Python 3.9.6 的临时虚拟环境中成功构建 wheel,将 wheel 安装到独立目录,并通过 PYTHONPATH 对该目录中的包运行上游测试,结果为 30 passed、598 subtests passed。
  • git diff --check 通过;已合入最新 master 并解决 changelog 冲突,平台预合并成功。

以上 wheel 和测试验证不能替代 openEuler 的完整 RPM 构建。本次提交的 x86_64 / aarch64 RPM 构建、安装及许可证检查,以最新 PR CI 结果为准。

likedislike
Merge blocked
iBaka9iBaka9
Oct 10 Created pull request, commit 47f2d061
openeuler-ci-botopeneuler-ci-botCollaborators
Oct 10 Set shinwell_hu,yangzhao_kl as approver
openeuler-ci-botopeneuler-ci-botCollaborators
Oct 10 Added label: sig/sig-python-modules
openeuler-ci-bot
openeuler-ci-botCollaborators
Oct 10 Comments:

当前仓库存在以下 保护分支 :

Protected Branch Version Release
master 2026.4 1
openEuler-26.09 2026.2 1
openEuler-26.09-DevStation 2026.2 1
openEuler-24.03-LTS-SP4 2024.1 1
openEuler-24.03-LTS-SP3 2024.1 1
openEuler-24.03-LTS-SP1 2024.1 1
openEuler-24.03-LTS-Next 2024.1 1

评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作

注意:

  1. /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
  2. 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭
likedislike
openeuler-ci-bot
openeuler-ci-botCollaborators
Oct 10 Comments:

Welcome To openEuler Community

Hey @iBaka9 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: sig-python-modules ,
and any of the maintainers: @shinwell_hu, @yangzhao_kl ,
and any of the committers: @cherry530, @randy1568, @starlet-dx .

likedislike
113 messages are collapsed here。 See more
openeuler-botopeneuler-botCollaborators
9 days ago Removed label: ci_processing
openeuler-bot
openeuler-botCollaborators
9 days ago Comments:
Check Name Build Result 详情 Build Details
check_binary_file ✅SUCCESS #12
check_lfsconfig ☑EXCLUDE
check_package_yaml_file ✅SUCCESS
check_repo_in_maintain ✅SUCCESS
check_consistency ✅SUCCESS
check_spec_file ✅SUCCESS
x86_64 check_build ✅SUCCESS #12
check_install ✅SUCCESS
check_license ✅SUCCESS
aarch64 check_build ✅SUCCESS #12
check_install ✅SUCCESS
check_license ✅SUCCESS
likedislike
openeuler-botopeneuler-botCollaborators
9 days ago Added label: ci_successful
openeuler-bot
openeuler-botCollaborators
9 days ago Comments:

如下为接口变更检查结果,目标分支为master,请PR提交者check差异信息

Arch Name Check Items Rpm Name Check Result Build Details
compare_package(x86_64) add_rpms ✅SUCCESS #12
delete_rpms ✅SUCCESS
rpm_provides ✅SUCCESS
rpm_requires ✅SUCCESS
compare_package(aarch64) add_rpms ✅SUCCESS #12
delete_rpms ✅SUCCESS
rpm_provides ✅SUCCESS
rpm_requires ✅SUCCESS
likedislike
openeuler-bot
openeuler-botCollaborators
9 days ago Comments:
likedislike