fix(build): add UBI 9 compiler tool‑chain and split fast/slow tests (#1970)

* build_container.sh
  - append `python3.11‑devel gcc make` to UBI 9 dnf line so C‑ext wheels build.
* tests/integration
  - + test_ubi9_toolchain.py   (fast; asserts pkgs exist in Containerfile)
  - + test_ubi9_compiles.py    (slow; @integration, compiles hello‑world in built image)
  - – test_container_build.py  (removed heavyweight test)
* pytest.ini
  - register `integration` marker.
* CI
  - tests.yml ⇒ `pytest -m "not integration"`
  - providers_build.yml ⇒ run integration compiler smoke for container jobs
This commit is contained in:
reluctantfuturist 2025-04-16 23:34:29 -07:00
parent 712c6758c6
commit 2396b1e13a
6 changed files with 130 additions and 1 deletions

View file

@ -74,7 +74,8 @@ WORKDIR /app
RUN dnf -y update && dnf install -y iputils net-tools wget \
vim-minimal python3.11 python3.11-pip python3.11-wheel \
python3.11-setuptools && ln -s /bin/pip3.11 /bin/pip && ln -s /bin/python3.11 /bin/python && dnf clean all
python3.11-setuptools python3.11-devel gcc make && \
ln -s /bin/pip3.11 /bin/pip && ln -s /bin/python3.11 /bin/python && dnf clean all
ENV UV_SYSTEM_PYTHON=1
RUN pip install uv