possible race-condition with python-doc
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Bug report
Bug description:
While working on reproducible builds for openSUSE, I found that our python314 (and python311) doc sub-packages produce different html on 1-core-VMs and 4-core-VMs. This suggests that there is some race going on about what the correct content should be.
https://rb.zq1.de/other/python314-doc-compare.out has a diff
The interesting bit of it is
-<p class="audit-hook" id="audit_event_cpython_run_stdin_1">
+<p class="audit-hook" id="audit_event_cpython_run_stdin_2">
How to Reproduce
To test on openSUSE or Debian, use
osc checkout openSUSE:Factory/python314 && cd $_
for N in 1 14 ; do
osc build -M=doc --noservice --clean --vm-type=kvm -j$N --release=1.1 --keep-pkg=RPMS.$N standard
(cd RPMS.$N && unrpm python314-doc-3*.x86_64.rpm)
done
diff -ru RPMS.{1,14}/usr/
Environment Information
OS: openSUSE Tumbleweed 20250302
Sphinx-8.1.3
Sphinx extensions
Additional context
This bug was found while working on reproducible builds for openSUSE.
This was originally filed in https://github.com/sphinx-doc/sphinx/issues/13419 but apparently the Sphinx people think this is an issue in cpython.
CPython versions tested on:
3.11, 3.14, 3.13, 3.12
Operating systems tested on:
Linux
Linked PRs
- gh-136165
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、文書化されている openSUSE のビルドループを -j1 と -j14 で実行し、抽出された usr/ ツリーと報告された audit-hook ID を比較します。リンク先の PR gh-136165 と reproducible-build diff をコンテキストとして使用します。並列度にかかわらず、ドキュメントのビルドを繰り返して同一の HTML が生成されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- documentation
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100