python / python/cpython

Consider reverting the autoconf 2.72 version bump requirement as it breaks compatibility with distros

未关闭
#150,532 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

build type-bug
主要语言
Python
星标
77.2k
派生
35.9k
PR 合并指标
PR 指标待抓取

描述

Bug report

Bug description:

autoconf minimum requirement was bumped to 2.72 through https://github.com/python/cpython/issues/115765

This breaks configure regeneration for CentOS Stream 9/RHEL9 (shipping 2.69 and extra 2.71) and CentOS Stream 10/RHEL10 (shipping 2.71). I presume other distros as well. We currently patch our spec files, lowering the version (to 2.69 and 2.71) makes them work fine.

I (re)discovered the issue by doing some testing on the newly added CentOS Stream buildbot.

And as far as I can see there is nothing used from 2.72, no functional changes. Requiring 2.72 is too aggressive and it seems it was not tested on any major distros at the time.

CPython versions tested on:

CPython main branch, 3.16, 3.15, 3.14

Operating systems tested on:

Linux

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

检查 issue 115765 引入的 autoconf 最低版本变更,以及该变更影响的 configure 重新生成路径。在提到的 CentOS Stream 9/RHEL 9 和 CentOS Stream 10/RHEL 10 环境中重现构建,然后验证受支持的发行版版本无需修改 spec files 即可正常工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。