Smoke-test the installed wheel, not the source tree

cibuildwheel ran wheel_smoke.py from fgex-lib/, so Python put that
directory first on sys.path and imported the unbuilt source package:
no _llhttp, every wheel job failed. python -I leaves it off.
This commit is contained in:
Domingo Dirutigliano 2026-10-16 19:48:15 +02:00
parent 8df2512744
commit f6d9d70042
No known key found for this signature in database

View File

@ -355,7 +355,7 @@ jobs:
# `-c` string because the one that matters needs a `try`: the parser has to
# raise its *own* exception on malformed traffic, and this clean environment —
# no `pyllhttp`, no developer's leftovers — is the only place that is tested.
CIBW_TEST_COMMAND: python {package}/wheel_smoke.py
CIBW_TEST_COMMAND: python -I {package}/wheel_smoke.py
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}