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
14 changes: 7 additions & 7 deletions .github/workflows/build-crosshair-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ jobs:
with:
package: crosshair-tool
version: ${{ inputs.version }}
# Upstream ships no free-threaded wheel; cp310/cp311 and cp315 are declared in
# docs/packages/crosshair-tool.yaml but never built on this repo's cp312 floor.
python-exclude: 'cp39 cp310 cp311 cp315*'

build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build crosshair-tool ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build crosshair-tool ${{ 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) }}
# Upstream ships no free-threaded wheel.
python: ["cp312", "cp313", "cp314"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
CROSSHAIR_TOOL_VERSION: ${{ matrix.version }}
Expand All @@ -75,7 +75,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 @@ -94,7 +94,7 @@ jobs:

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

Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/build-ct3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,19 @@ jobs:
with:
package: ct3
version: ${{ inputs.version }}
# cp310/cp311 are declared in docs/packages/ct3.yaml but never built on this
# repo's cp312 floor.
python-exclude: 'cp39 cp310 cp311'

build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build ct3 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build ct3 ${{ 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:
CT3_VERSION: ${{ matrix.version }}
Expand All @@ -70,7 +71,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 @@ -82,7 +83,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ct3-${{ env.CT3_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: ct3-${{ env.CT3_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-cyscale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@ jobs:
with:
package: cyscale
version: ${{ inputs.version }}
# cp310/cp311 are declared in docs/packages/cyscale.yaml but never built on
# this repo's cp312 floor.
python-exclude: 'cp39 cp310 cp311'

build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build cyscale ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build cyscale ${{ 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) }}
# No cp314t: upstream ships no free-threaded wheel.
python: ["cp312", "cp313", "cp314"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
CYSCALE_VERSION: ${{ matrix.version }}
Expand All @@ -76,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 }}
CIBW_TEST_REQUIRES: pytest base58>=2.0.1
Expand All @@ -89,7 +89,7 @@ jobs:

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

Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/build-cyseq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,20 @@ jobs:
with:
package: cyseq
version: ${{ inputs.version }}
# cp310/cp311 are declared in docs/packages/cyseq.yaml but never built on
# this repo's cp312 floor.
python-exclude: 'cp39 cp310 cp311'

build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build cyseq ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build cyseq ${{ 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:
CYSEQ_VERSION: ${{ matrix.version }}
Expand All @@ -74,7 +75,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 @@ -84,7 +85,7 @@ jobs:

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

Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/build-cysignals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,15 @@ jobs:
with:
package: cysignals
version: ${{ inputs.version }}
# cp312 is excluded naturally: 1.13.0+ raised requires-python to >=3.13 (was
# >=3.12 in 1.12.6), and docs/packages/cysignals.yaml stops declaring cp312
# from 1.13.0 on. cp315 is declared (1.13.1) but not yet buildable here.
python-exclude: 'cp39 cp315*'

build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build cysignals ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build cysignals ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64
runs-on: ubuntu-24.04-riscv
# cysignals's own test suite deliberately triggers stack overflows, infinite
# loops and alarm-based interrupts; fail fast if one of those hangs instead
Expand All @@ -57,13 +61,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
# 1.13.0 raised requires-python to >=3.13 (was >=3.12 in 1.12.6), so
# cp312 is no longer a valid build target: cibuildwheel selects zero
# build identifiers for it and exits with "No build identifiers
# selected".
python: ["cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
CYSIGNALS_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -93,7 +91,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 @@ -118,7 +116,7 @@ jobs:

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

Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/build-datasketches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,20 @@ jobs:
with:
package: datasketches
version: ${{ inputs.version }}
# cp310/cp311 are declared in docs/packages/datasketches.yaml but never
# built on this repo's cp312 floor.
python-exclude: 'cp39 cp310 cp311'

build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build datasketches ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build datasketches ${{ 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:
DATASKETCHES_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -86,7 +87,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 }}
CIBW_ENVIRONMENT: PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/
Expand All @@ -112,7 +113,7 @@ jobs:

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

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build-deflate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,22 @@ jobs:
with:
package: deflate
version: ${{ inputs.version }}
# Wheels are abi3 (pyproject sets wheel.py-api = "cp311"), so a single build
# is loadable on 3.11+. Our repo floor is cp312, so exclude cp310/cp311 to
# make the generated matrix build the abi3 leg there instead of on cp311;
# the plain (non-abi3) cp310 target that upstream also ships is dropped too.
python-exclude: 'cp39 cp310 cp311'

build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build deflate ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build deflate ${{ 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) }}
# Wheels are abi3 (pyproject sets wheel.py-api = "cp311"), so a single
# build is loadable on 3.11+; only the free-threaded cp314t build needs
# its own wheel. Our repo floor is cp312, so build there instead of 3.11.
python: [cp312, cp314t]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
DEFLATE_VERSION: ${{ matrix.version }}
Expand All @@ -83,7 +83,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 @@ -95,7 +95,7 @@ jobs:

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

Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/build-dukpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,20 @@ jobs:
with:
package: dukpy
version: ${{ inputs.version }}
# cp310/cp311 are declared in docs/packages/dukpy.yaml but never built on
# this repo's cp312 floor.
python-exclude: 'cp39 cp310 cp311'

build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build dukpy ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build dukpy ${{ 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:
DUKPY_VERSION: ${{ matrix.version }}
Expand All @@ -73,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 @@ -98,7 +99,7 @@ jobs:

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

Expand Down
Loading
Loading