diff --git a/.github/workflows/build-aioquic.yml b/.github/workflows/build-aioquic.yml index f70facc8b974..a9b8e8afa1fc 100644 --- a/.github/workflows/build-aioquic.yml +++ b/.github/workflows/build-aioquic.yml @@ -76,12 +76,6 @@ jobs: cp310-manylinux_riscv64 cp311-manylinux_riscv64 cp312-manylinux_riscv64 cp313-manylinux_riscv64 cp314-manylinux_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} - # _crypto links libcrypto; the riscv64 image ships only the runtime - # .so, not the headers. auditwheel then vendors libcrypto (Apache-2.0) - # into the wheel without a licence, so stage one. - CIBW_BEFORE_ALL_LINUX: >- - dnf -y install openssl-devel && - cp /usr/share/licenses/openssl-libs/LICENSE.txt {project}/LICENSE.openssl # cryptography has no riscv64 wheel on public PyPI; PIP_ONLY_BINARY # stops pip from picking a newer PyPI-only sdist release (which # fails: its Rust backend has no riscv64 rustup target) over the @@ -98,18 +92,17 @@ jobs: CIBW_TEST_REQUIRES: cryptography<50 CIBW_TEST_COMMAND: python -m unittest discover -t {project} -s {project}/tests - - name: Check the wheel ships both extensions and both licences + - name: Check the wheel ships the extension and the licence run: | python3 - wheelhouse/*.whl <<'EOF' import sys, zipfile for whl in sys.argv[1:]: names = zipfile.ZipFile(whl).namelist() - for mod in ("_buffer", "_crypto"): - assert any(n.startswith(f"aioquic/{mod}.") and n.endswith(".so") - for n in names), (whl, mod) + assert any(n.startswith("aioquic/_buffer.") and n.endswith(".so") + for n in names), whl licences = {n.rsplit("/", 1)[1] for n in names if ".dist-info/licenses/" in n} - {""} - assert licences == {"LICENSE", "LICENSE.openssl"}, (whl, licences) + assert licences == {"LICENSE"}, (whl, licences) print(whl, "ok") EOF diff --git a/docs/packages/aioquic.yaml b/docs/packages/aioquic.yaml index bb24e33a7f32..ec369873c766 100644 --- a/docs/packages/aioquic.yaml +++ b/docs/packages/aioquic.yaml @@ -8,3 +8,8 @@ versions: - filename: aioquic-1.3.0-cp310-abi3-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl sha256: ecdccc3cc4bb0538edb59c66d996a36afeb05f422ce1f8af7aa25cb3ad8bf066 requires-python: '>=3.10' +- version: 1.4.0 +- version: 1.5.0 +- version: 1.6.0 +- version: 1.6.1 +- version: 1.7.0