bazel-contrib / bazel-contrib/rules_python
bin/python size exploded 2000 times larger
未关闭
- 主要语言
- Starlark
- 星标
- 688
- 派生
- 721
- 平均合并
- 15 小时 7 分钟
- 30 天内合并 PR
- 76
描述
Is there a reason why the binary bin/python3.10 in latest python 3.10.19 has size 43963640 which is more than 2000 times larger than bin/python3.10 in python 3.10.15 (size 20944)?
```
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
is_default = True,
python_version = "3.10.15",
)
```
贡献指南
调研方向
首先,使用 issue 中报告的版本和大小,对为 Python 3.10.15 和 3.10.19 生成的 bin/python3.10 构件进行比较。阅读显示的 python.toolchain 配置,并检查所选 toolchain 如何打包 binary。完成的标准是找出大小增加的来源,并记录已确认的原因或所需的后续跟进。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100