flatc is missing from the PyPy aarch64 wheel and from every install built from the sdist
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- cmake, docker, python
- Área
- build-system, testing-qa
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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).
- Lenguaje dominante
- Python
- Estrellas
- 2.5k
- Forks
- 767
- Merge medio
- 23 h 55 min
- PR fusionados (30 d)
- 25
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de crossbario/autobahn-python
-
CI-CD enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
crossbario/autobahn-python#1945 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug CI-CD
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
crossbario/autobahn-python#1932 ·
Los mantenedores suelen responder en 1 día
-
CI-CD enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
crossbario/autobahn-python#1829 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
crossbario/autobahn-python#1963 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
crossbario/autobahn-python#1962 ·
Los mantenedores suelen responder en 1 día
Todos los issues de crossbario/autobahn-python
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
WLAN-Pi/wlanpi-profiler#341 ·
Los mantenedores suelen responder en 1 día
-
Memory leak: the shared `validation_aborted_error` keeps every traceback it is raised throughPosiblemente ocupada @Fire162 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
graphql-python/graphql-core#287 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
roman-corgi/ctc-dip#160 ·
Los mantenedores suelen responder en 1 día
-
type-bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
render_findings.py reads and writes in the host's default encoding, so findings.html breaks on a cp1252 Windows hostPosiblemente ocupada @Aaqibhafeezkhan la tomó hoy. Abiertobug good first issue mentored python size: XS up-for-grabs
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
dheerajjha/mcp-migrate#366 · 1 comentario ·
Los mantenedores suelen responder en 1 día