Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/build-pycld2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pycld2 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pycld2 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYCLD2_VERSION: ${{ matrix.version }}
Expand All @@ -78,7 +76,7 @@ jobs:
- uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
env:
CIBW_ARCHS: riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }}
# test_pycld2.py lives next to the pycld2/ source package at the repo
Expand All @@ -91,7 +89,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pycld2-${{ env.PYCLD2_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: pycld2-${{ env.PYCLD2_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: ./wheelhouse/*.whl
if-no-files-found: error

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-pyfarmhash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pyfarmhash ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pyfarmhash ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYFARMHASH_VERSION: ${{ matrix.version }}
Expand All @@ -90,7 +88,7 @@ jobs:
- uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
env:
CIBW_ARCHS: riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }}
# Upstream ships no test suite at all; exercise every bound
Expand All @@ -113,7 +111,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pyfarmhash-${{ env.PYFARMHASH_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: pyfarmhash-${{ env.PYFARMHASH_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: ./wheelhouse/*.whl
if-no-files-found: error

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-pyglm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pyglm ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pyglm ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYGLM_VERSION: ${{ matrix.version }}
Expand All @@ -74,7 +72,7 @@ jobs:
- uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
with:
output-dir: wheelhouse/
only: ${{ matrix.python }}-${{ matrix.libc }}_riscv64
only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
env:
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }}
Expand All @@ -83,7 +81,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pyglm-${{ env.PYGLM_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: pyglm-${{ env.PYGLM_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: ./wheelhouse/*.whl
if-no-files-found: error

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-pylzss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pylzss ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pylzss ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYLZSS_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -87,7 +85,7 @@ jobs:
- uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
env:
CIBW_ARCHS: riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }}
# Upstream's own test.py calls lzss.encode()/decode(), which the
Expand All @@ -105,7 +103,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pylzss-${{ env.PYLZSS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: pylzss-${{ env.PYLZSS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: ./wheelhouse/*.whl
if-no-files-found: error

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-pymetis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,12 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pymetis ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pymetis ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYMETIS_VERSION: ${{ matrix.version }}
Expand All @@ -81,7 +79,7 @@ jobs:
- uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
with:
output-dir: wheelhouse/
only: ${{ matrix.python }}-${{ matrix.libc }}_riscv64
only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
env:
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }}
Expand All @@ -107,7 +105,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pymetis-${{ env.PYMETIS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: pymetis-${{ env.PYMETIS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: ./wheelhouse/*.whl
if-no-files-found: error

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build-pymsym.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pymsym ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pymsym ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
# Upstream's `build = "cp311-* cp312-* cp313-* cp314-*"` ships no free-threaded wheel.
python: ["cp312", "cp313", "cp314"]
libc: [manylinux, musllinux]
# Upstream's `build = "cp311-* cp312-* cp313-* cp314-*"` ships no free-threaded
# wheel; docs/packages/pymsym.yaml declares no 3.14t target, so the generated
# matrix already omits it without a python-exclude override here.
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYMSYM_VERSION: ${{ matrix.version }}
Expand All @@ -85,7 +85,7 @@ jobs:
output-dir: wheelhouse/
env:
CIBW_ARCHS: riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }}
CIBW_ENVIRONMENT: PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/
Expand All @@ -104,7 +104,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pymsym-${{ env.PYMSYM_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: pymsym-${{ env.PYMSYM_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: ./wheelhouse/*.whl
if-no-files-found: error

Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/build-pynng.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ env:
NNG_VERSION: v1.11
MBEDTLS_VERSION: v3.6.3.1
MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64
MUSLLINUX_RISCV64_IMAGE: quay.io/pypa/musllinux_1_2_riscv64

jobs:
setup:
Expand All @@ -51,14 +52,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pynng ${{ matrix.version }} ${{ matrix.python }}-manylinux_riscv64
name: Build pynng ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314", "cp314t"]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYNNG_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -94,11 +94,13 @@ jobs:
- uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
env:
CIBW_ARCHS: riscv64
# cffi has no manylinux musllinux_riscv64 wheel on our registry, so
# musllinux is dropped here too (accepted per the porting playbook).
CIBW_BUILD: ${{ matrix.python }}-manylinux_riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }}
# cffi, needed to build and to import the extension, has no riscv64 wheel on PyPI.
# docs/packages/pynng.yaml's musllinux targets are untested here (musllinux
# was previously dropped: cffi had no musllinux_riscv64 wheel on our
# registry); the matrix now includes them, so watch the first run.
CIBW_ENVIRONMENT: >-
PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/
SETUPTOOLS_SCM_PRETEND_VERSION=${{ env.PYNNG_VERSION }}
Expand All @@ -109,7 +111,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pynng-${{ env.PYNNG_VERSION }}-${{ matrix.python }}-manylinux_riscv64
name: pynng-${{ env.PYNNG_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: ./wheelhouse/*.whl
if-no-files-found: error

Expand All @@ -129,4 +131,4 @@ jobs:
app-private-key: ${{ secrets.RISEPROJECT_APP_PRIVATE_KEY }}
with:
matrix: ${{ needs.setup.outputs.matrix }}
artifact-pattern: pynng-${{ matrix.version }}-*-manylinux_riscv64
artifact-pattern: pynng-${{ matrix.version }}-*riscv64
9 changes: 4 additions & 5 deletions .github/workflows/build-pyopenxlsx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pyopenxlsx ${{ matrix.version }} ${{ matrix.python }}-manylinux_riscv64
name: Build pyopenxlsx ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 180
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314"]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYOPENXLSX_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -90,7 +89,7 @@ jobs:
uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
with:
output-dir: wheelhouse
only: ${{ matrix.python }}-manylinux_riscv64
only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
env:
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
# build[uv] needs a host uv for the audit step, which the riscv64 runner lacks (gotcha 13).
Expand Down Expand Up @@ -121,7 +120,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pyopenxlsx-${{ env.PYOPENXLSX_VERSION }}-${{ matrix.python }}-manylinux_riscv64
name: pyopenxlsx-${{ env.PYOPENXLSX_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: wheelhouse/*.whl
if-no-files-found: error

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-pyqt5-sip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pyqt5-sip ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pyqt5-sip ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp310", "cp311", "cp312", "cp313", "cp314"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYQT5_SIP_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -112,7 +110,7 @@ jobs:
package-dir: pyqt5_sip-${{ env.PYQT5_SIP_VERSION }}
env:
CIBW_ARCHS: riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }}
CIBW_TEST_REQUIRES: pytest
Expand All @@ -121,7 +119,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pyqt5-sip-${{ env.PYQT5_SIP_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: pyqt5-sip-${{ env.PYQT5_SIP_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: wheelhouse/*.whl
if-no-files-found: error

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-pyqt6-sip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pyqt6-sip ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pyqt6-sip ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp310", "cp311", "cp312", "cp313", "cp314"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PYQT6_SIP_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -112,7 +110,7 @@ jobs:
package-dir: pyqt6_sip-${{ env.PYQT6_SIP_VERSION }}
env:
CIBW_ARCHS: riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64
CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }}
CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }}
CIBW_TEST_REQUIRES: pytest
Expand All @@ -121,7 +119,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pyqt6-sip-${{ env.PYQT6_SIP_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: pyqt6-sip-${{ env.PYQT6_SIP_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64
path: wheelhouse/*.whl
if-no-files-found: error

Expand Down
Loading
Loading