flatc is missing from the PyPy aarch64 wheel and from every install built from the sdist
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- cmake, docker, python
調査の方向性
Read hatch_build.py and the [tool.hatch.build.targets.sdist] section of pyproject.toml, then inspect docker/Dockerfile.pypy-{bookworm,trixie}-manylinux-arm64 and the wheel build workflow. First confirm the reported missing-CMake warning in the PyPy ARM64 build log. Done when sdist-based installs and the PyPy ARM64 wheel include autobahn/_flatc/bin/flatc, and CI rejects a wheel missing it.
索引モデルが issue の本文から書いたものです。
説明
Problem
autobahn bundles the FlatBuffers compiler as autobahn/_flatc/bin/flatc, and
autobahn._flatc.get_flatc_path() returns it. Two kinds of installs have no flatc:
-
The PyPy Linux aarch64 wheel. In 26.10.1, 31 of the 32 wheels contain
flatc
(3.4-4.4 MB).autobahn-26.10.1-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
contains onlyautobahn/_flatc/__init__.py, which is why it is 669 KB, where the other wheels are 2.0-3.4 MB.
26.7.1 has the same gap (656 KB, noflatc). -
Every install built from the sdist, i.e. every platform or interpreter without a
matching wheel. The sdist excludes/deps/flatbuffers(pyproject.toml,
[tool.hatch.build.targets.sdist], since #1797), sohatch_build.py_build_flatc()
printsWARNING: .../deps/flatbuffers not foundand returns without building it.
Example: PyPy 8 (pp80), for which no wheel is published:$ uv venv -p pypy-3.11 v && uv pip install -p v/bin/python autobahn==26.10.1 $ v/bin/python -c 'from autobahn._flatc import get_flatc_path; get_flatc_path()' FileNotFoundError: flatc binary not found at .../site-packages/autobahn/_flatc/bin/flatc. This may indicate a corrupted installation. Try reinstalling: pip install --force-reinstall autobahn(the installed wheel is
pp311-pypy311_pp80-linux_x86_64, built locally from the sdist).
Both failures are silent at build time: _build_flatc() only prints a warning, and the
release fileset check counts wheels, not their contents.
Likely causes
- PyPy aarch64:
_build_flatc()skips the build whencmakeis not onPATH
(WARNING: cmake not found, skipping flatc build). The custom PyPy ARM64 images
(docker/Dockerfile.pypy-{bookworm,trixie}-manylinux-arm64) do not install cmake; the
build log of the wheels-arm64 PyPy job should show the warning. Not yet confirmed from the log. - sdist: zlmdb keeps the FlatBuffers C++ sources needed for
flatcin its sdist and only
excludestests/,samples/,docs/and the other language bindings from
/deps/flatbuffers; autobahn excludes the whole directory.
Proposal
- Install cmake in the PyPy ARM64 images (or in
build-arm64-wheel.sh). - Include the parts of
deps/flatbuffersthatflatcneeds in the sdist, as zlmdb does. - Make a missing
flatcfail the wheel build in CI (e.g. anAUTOBAHN_REQUIRE_FLATC
switch, or a check of every wheel's contents in the release workflow), so a wheel
withoutflatccannot be published again.
This issue was drafted with AI assistance (Claude Code).
- 主要言語
- Python
- スター
- 2.5k
- フォーク
- 767
- 平均マージ
- 23時間 55分
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
crossbario/autobahn-python のほかの issue
-
CI-CD enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
crossbario/autobahn-python#1945 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug CI-CD
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
crossbario/autobahn-python#1932 ·
メンテナーはふだん 1 日以内に返信
-
CI-CD enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
crossbario/autobahn-python#1829 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
crossbario/autobahn-python#1963 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
crossbario/autobahn-python#1962 ·
メンテナーはふだん 1 日以内に返信
crossbario/autobahn-python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
volcengine/OpenViking#6445 ·
メンテナーはふだん 1 日以内に返信
-
BUG:Edit Album strips spaces from the password so albums with a leading/trailing space in the password can't be edited対応中かも @ManyaJain111 が今日担当しました。 オープンbug enhancement possible-duplicate
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
AOSSIE-Org/PictoPy#1637 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
deepspeedai/DeepSpeed#8884 ·
メンテナーはふだん 3 日以内に返信
-
Flaky: test_advisor_live_calibrates_an_unmeasured_circuit ranks engines by a 1.8ms sleep marginオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
flagos-ai/FlagQuantum#718 ·
メンテナーはふだん 1 日以内に返信
-
bug CI-failure high priority
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
vllm-project/afd-plugin#483 ·
メンテナーはふだん 1 日以内に返信