mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-09 04:00:52 +00:00
#1290 bumped the runtime stage to python:3.14-slim. gensim is a base (non-extras-gated) dependency and publishes no cp314 wheel on PyPI, so pip falls back to building it from source, which needs a C compiler this slim image doesn't carry: error: [Errno 2] No such file or directory: 'gcc' This has broken the Docker build (and Container Security Scan) on every push to main since #1290 merged. Confirmed via `pip index versions gensim` / the PyPI files listing that gensim 4.4.0 ships cp313 wheels but no cp314 ones; the earlier lockfile fix in #1290 only validated that `uv pip compile` could *resolve* dependencies for 3.14, which reads sdist metadata and doesn't need a compiler -- it doesn't validate that `pip install` can actually *build* them, which is what fails here. Reverts to the exact base image digest that was building successfully before #1290 and regenerates explorer-extra-py313.txt against today's PyPI state. Once gensim (and anything else pulled in transitively) ships cp314 wheels, the 3.14 bump can be retried. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>