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
11 changes: 4 additions & 7 deletions .github/workflows/build-ncompress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build ncompress ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build ncompress ${{ 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) }}
# cp312 wheel is abi3, so only cp314t needs a separate build
python: ["cp312", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
NCOMPRESS_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -88,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 }}

Expand All @@ -107,7 +104,7 @@ jobs:

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

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-ngt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314", "cp314t"]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
NGT_VERSION: ${{ matrix.version }}
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-openstep-plist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build openstep-plist ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build openstep-plist ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 30
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:
OPENSTEP_PLIST_VERSION: ${{ matrix.version }}
Expand All @@ -75,7 +73,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 @@ -87,7 +85,7 @@ jobs:

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

Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/build-pcapy-ng.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,12 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build pcapy-ng ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pcapy-ng ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
# upstream builds no free-threaded wheel: the module does not declare Py_mod_gil
python: ["cp312", "cp313", "cp314"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PCAPY_NG_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -157,7 +154,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 Down Expand Up @@ -195,7 +192,7 @@ jobs:

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

Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/build-pemja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314", "cp314t"]
exclude:
# 0.5.7 predates cp313 (released Oct 2024, ~2 months later) and
# never shipped a wheel past cp312 upstream either.
- version: "0.5.7"
python: cp313
- version: "0.5.7"
python: cp314
- version: "0.5.7"
python: cp314t
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
PEMJA_VERSION: ${{ matrix.version }}
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-polyscope.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 polyscope ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build polyscope ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 360
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:
POLYSCOPE_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -104,7 +102,7 @@ jobs:
with:
config-file: .github/workflows/cibuildwheel_config.toml
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 Down Expand Up @@ -138,7 +136,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: polyscope-${{ env.POLYSCOPE_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: polyscope-${{ env.POLYSCOPE_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-posix-ipc.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 posix-ipc ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build posix-ipc ${{ 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:
POSIX_IPC_VERSION: ${{ matrix.version }}
Expand All @@ -73,14 +71,14 @@ 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 }}
CIBW_TEST_COMMAND: python -m unittest discover --start-directory {package}

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

Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/build-potpourri3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,13 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build potpourri3d ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build potpourri3d ${{ 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) }}
# Per-interpreter (not abi3): upstream ships cp3x-cp3x wheels.
python: ["cp312", "cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
POTPOURRI3D_VERSION: ${{ matrix.version }}
Expand All @@ -75,16 +72,16 @@ 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 }}
# scikit-build-core bootstraps its own (recent) cmake from PyPI, which
# also ships riscv64 wheels; matches upstream's cibuildwheel_config.toml.
CIBW_BEFORE_ALL_LINUX: ${{ matrix.libc == 'manylinux' && 'yum remove -y cmake' || '' }}
CIBW_BEFORE_ALL_LINUX: ${{ matrix.platform == 'manylinux' && 'yum remove -y cmake' || '' }}

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: potpourri3d-${{ env.POTPOURRI3D_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: potpourri3d-${{ env.POTPOURRI3D_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-private-attribute-cpp.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 private-attribute-cpp ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build private-attribute-cpp ${{ 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:
PRIVATE_ATTRIBUTE_CPP_VERSION: ${{ matrix.version }}
Expand All @@ -76,7 +74,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 @@ -87,7 +85,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: private-attribute-cpp-${{ env.PRIVATE_ATTRIBUTE_CPP_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: private-attribute-cpp-${{ env.PRIVATE_ATTRIBUTE_CPP_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-py-radix.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 py-radix ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build py-radix ${{ 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:
PY_RADIX_VERSION: ${{ matrix.version }}
Expand All @@ -73,7 +71,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 }}
# setup.py appends a `+dev-v<ver>` local version unless VERSION matches
Expand All @@ -90,7 +88,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: py-radix-${{ env.PY_RADIX_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: py-radix-${{ env.PY_RADIX_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-pycapnp.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 pycapnp ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build pycapnp ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
timeout-minutes: 120
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:
PYCAPNP_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -85,7 +83,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 }}
# pycapnp bundles and statically links its own build of Cap'n Proto
Expand Down Expand Up @@ -115,7 +113,7 @@ jobs:

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

Expand Down
Loading