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-fastcdc.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 fastcdc ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build fastcdc ${{ 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:
FASTCDC_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 @@ -92,7 +90,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: fastcdc-${{ env.FASTCDC_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: fastcdc-${{ env.FASTCDC_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-faster-fifo.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 faster-fifo ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build faster-fifo ${{ 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:
FASTER_FIFO_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -133,7 +131,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 @@ -142,7 +140,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: faster-fifo-${{ env.FASTER_FIFO_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: faster-fifo-${{ env.FASTER_FIFO_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-gemmi.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 gemmi ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build gemmi ${{ 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:
GEMMI_VERSION: ${{ matrix.version }}
Expand All @@ -85,7 +83,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 }}
# find_package(nanobind 2.4.0) in CMakeLists.txt rejects nanobind 3.x as
Expand Down Expand Up @@ -113,7 +111,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: gemmi-${{ env.GEMMI_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: gemmi-${{ env.GEMMI_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-gimli-units.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 gimli.units ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build gimli.units ${{ 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"]
libc: ["manylinux", "musllinux"]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
GIMLI_UNITS_VERSION: ${{ matrix.version }}
Expand All @@ -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 }}
# Overriding CIBW_ENVIRONMENT replaces upstream's own pyproject.toml
Expand All @@ -100,7 +98,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: gimli.units-${{ env.GIMLI_UNITS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: gimli.units-${{ env.GIMLI_UNITS_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-glcontext.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 glcontext ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build glcontext ${{ 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:
GLCONTEXT_VERSION: ${{ matrix.version }}
Expand All @@ -72,7 +70,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 @@ -121,7 +119,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: glcontext-${{ env.GLCONTEXT_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: glcontext-${{ env.GLCONTEXT_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-gpiod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,13 @@ jobs:
build_wheels:
needs: [setup, python_sdist]
if: needs.setup.outputs.versions != '[]'
name: Build gpiod ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build gpiod ${{ 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:
GPIOD_VERSION: ${{ matrix.version }}
Expand All @@ -133,7 +131,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 }}
# lib/uapi/gpio.h pulls in the system linux/const.h,linux/ioctl.h,
Expand Down Expand Up @@ -162,7 +160,7 @@ jobs:

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

Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/build-guppy3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,19 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build guppy3 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build guppy3 ${{ 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) }}
# Matches upstream's own published matrix (cp310-cp314, no free-threaded).
# cp313t/cp314t are not attempted: rootstate.c's designated initializer
# `.ob_refcnt = 1` doesn't compile against the free-threaded PyObject
# header (no ob_refcnt field there), which is also why upstream ships no
# cp313t/cp314t wheel on PyPI.
python: ["cp310", "cp311", "cp312", "cp313", "cp314"]
libc: [manylinux, musllinux]
# cp313t isn't a buildable riscv64 interpreter at all (no -manylinux_riscv64
# identifier upstream cibuildwheel can target); cp314t doesn't appear
# because docs/packages/guppy3.yaml declares no 3.1[34]t entries:
# rootstate.c's designated initializer `.ob_refcnt = 1` doesn't compile
# against the free-threaded PyObject header (no ob_refcnt field there),
# which is also why upstream ships no cp313t/cp314t wheel on PyPI.
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
GUPPY3_VERSION: ${{ matrix.version }}
Expand All @@ -78,14 +77,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 -c 'import guppy; guppy.hpy().test()'

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

Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/build-hdrhistogram.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,16 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build hdrhistogram ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build hdrhistogram ${{ 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) }}
# Matches upstream's own CIBW_BUILD/CIBW_SKIP: cp310-cp314, free-threaded
# skipped because the C extension is not validated for that ABI.
python: ["cp310", "cp311", "cp312", "cp313", "cp314"]
libc: [manylinux, musllinux]
# skipped because the C extension is not validated for that ABI (and
# docs/packages/hdrhistogram.yaml declares no cp314t entries either way).
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
HDRHISTOGRAM_VERSION: ${{ matrix.version }}
Expand All @@ -85,7 +84,7 @@ jobs:

- uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
env:
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 }}
# Fixture lookups in test/test_hdrhistogram.py are the literal relative
Expand Down Expand Up @@ -114,7 +113,7 @@ jobs:

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

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-igwn-segments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ jobs:
build_wheels:
needs: [setup, python_sdist]
if: needs.setup.outputs.versions != '[]'
name: Build igwn-segments ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build igwn-segments ${{ 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 builds no cp314t Linux wheel yet; the extension declares no
# free-threading support either way, so cp314t just re-enables the GIL
# on import (CLAUDE.md gotcha 127) rather than failing.
python: ["cp312", "cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
# free-threading support either way, so cp314t would just re-enable the
# GIL on import (CLAUDE.md gotcha 127) rather than failing -- but
# docs/packages/igwn-segments.yaml declares no 3.14t entries, so the
# generated matrix naturally stops short of testing that leg.
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
IGWN_SEGMENTS_VERSION: ${{ matrix.version }}
Expand All @@ -118,7 +118,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_TEST_REQUIRES: pytest
Expand All @@ -127,7 +127,7 @@ jobs:

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

Expand Down
Loading
Loading