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
分支
36k
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 摘要。