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-aiocsv.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 aiocsv ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build aiocsv ${{ 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:
AIOCSV_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 @@ -84,7 +82,7 @@ jobs:

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

Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/build-aiofastnet.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 aiofastnet ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build aiofastnet ${{ 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:
AIOFASTNET_VERSION: ${{ matrix.version }}
Expand All @@ -77,15 +75,15 @@ 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 }}
CIBW_ENVIRONMENT_LINUX: CFLAGS="$CFLAGS -O2 -g0 -DNDEBUG" PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/
# No musllinux riscv64 uvloop wheel exists; the suite only adds it as an extra loop when importable.
CIBW_TEST_REQUIRES: >-
aiohttp async_timeout pytest pytest-aiohttp pytest-asyncio pytest-xdist
${{ matrix.libc == 'manylinux' && 'uvloop' || '' }}
${{ matrix.platform == 'manylinux' && 'uvloop' || '' }}
# 1.1.1's tests/test_changelog.py imports the top-level tools/ package,
# which 1.2.0 dropped; stage it only for 1.1.1 (gotcha: CIBW_TEST_SOURCES
# must list every top-level dir the test suite imports from).
Expand All @@ -100,7 +98,7 @@ jobs:

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

Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/build-annotatedyaml.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 annotatedyaml ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build annotatedyaml ${{ 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: ["cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
ANNOTATEDYAML_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 }}
# Upstream's job-level REQUIRE_CYTHON never reaches the Linux build container.
Expand All @@ -82,7 +80,7 @@ jobs:
PYYAML_FORCE_LIBYAML=1
PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/
# musllinux builds PyYAML from sdist; without libyaml it silently lacks CSafeLoader (gotcha 577).
CIBW_BEFORE_TEST: ${{ matrix.libc == 'musllinux' && 'apk add --no-cache yaml-dev' || '' }}
CIBW_BEFORE_TEST: ${{ matrix.platform == 'musllinux' && 'apk add --no-cache yaml-dev' || '' }}
CIBW_TEST_SOURCES: tests
CIBW_TEST_REQUIRES: 'pytest>=8,<9 pytest-codspeed>=3.2.0 pytest-asyncio>=1.2.0,<2'
CIBW_TEST_COMMAND: >-
Expand All @@ -94,7 +92,7 @@ jobs:

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

Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/build-apache-beam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,15 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
# cp314t dropped: upstream's own build_wheels.yml matrix never builds
# it (no free-threading support declared for Beam's Cython extensions).
python: ["cp312", "cp313", "cp314"]
exclude:
# 2.61.0 is the newest release still inside apache-flink's declared
# apache-beam<=2.61.0 window; it predates cp313 (and upstream itself
# never shipped a wheel past cp312 for it).
- version: "2.61.0"
python: cp313
- version: "2.61.0"
python: cp314
# it (no free-threading support declared for Beam's Cython extensions);
# docs/packages/apache-beam.yaml never declares a 3.14t target, so the
# generated matrix naturally never builds it. Likewise, 2.61.0 being
# the newest release still inside apache-flink's declared
# apache-beam<=2.61.0 window (it predates cp313, and upstream itself
# never shipped a wheel past cp312 for it) is reflected directly in
# that version's own file list, so no per-version exclude is needed.
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
APACHE_BEAM_VERSION: ${{ matrix.version }}
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/build-atomic-dict.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 atomic-dict ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build atomic-dict ${{ 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:
ATOMIC_DICT_VERSION: ${{ matrix.version }}
Expand All @@ -74,7 +72,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 }}
# tests/test_atomic_dict.py is a __main__ script, not pytest tests; run
Expand All @@ -87,7 +85,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: atomic-dict-${{ env.ATOMIC_DICT_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: atomic-dict-${{ env.ATOMIC_DICT_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-bitstruct.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 bitstruct ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build bitstruct ${{ 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:
BITSTRUCT_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 }}
CIBW_TEST_REQUIRES: pytest
Expand All @@ -83,7 +81,7 @@ jobs:

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

Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/build-can-ada.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,21 @@ jobs:
with:
package: can-ada
version: ${{ inputs.version }}
# Upstream builds cp39-cp314, no free-threaded wheel; floor is our own
# cp312. Preserved explicitly here: docs/packages/can-ada.yaml declares
# cp310/cp311 targets too, which the generated matrix would otherwise
# start building.
python-exclude: 'cp39 cp310 cp311'

build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build can-ada ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build can-ada ${{ 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 cp39-cp314, no free-threaded wheel; floor is our own cp312.
python: [cp312, cp313, cp314]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}
env:
CAN_ADA_VERSION: ${{ matrix.version }}

Expand All @@ -74,15 +76,15 @@ 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
CIBW_TEST_COMMAND: pytest {project}/tests

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: can-ada-${{ env.CAN_ADA_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: can-ada-${{ env.CAN_ADA_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-ckzg.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 ckzg ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build ckzg ${{ 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:
CKZG_VERSION: ${{ matrix.version }}
Expand All @@ -74,7 +72,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_BEFORE_BUILD_LINUX: |
Expand All @@ -92,7 +90,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ckzg-${{ env.CKZG_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: ckzg-${{ env.CKZG_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-clickhouse-cityhash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build clickhouse-cityhash ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build clickhouse-cityhash ${{ 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) }}
# cp314t dropped: upstream's pinned Cython<3.1 generates __pyx_vectorcallfunc
# code that doesn't compile against the free-threaded CPython headers.
python: ["cp312", "cp313", "cp314"]
libc: [manylinux, musllinux]
# cp314t: upstream's pinned Cython<3.1 generates __pyx_vectorcallfunc
# code that doesn't compile against the free-threaded CPython headers;
# docs/packages/clickhouse-cityhash.yaml never declares a 3.14t target,
# so the generated matrix naturally never builds it.
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
CLICKHOUSE_CITYHASH_VERSION: ${{ matrix.version }}
Expand All @@ -79,7 +79,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
Expand All @@ -92,7 +92,7 @@ jobs:

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

Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/build-cmarkgfm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,16 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build cmarkgfm ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64
name: Build cmarkgfm ${{ 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): build_cmark.py compiles cffi in
# out-of-line API mode with no py_limited_api, matching upstream's
# cp3x-cp3x wheels (including cp314t).
python: ["cp312", "cp313", "cp314", "cp314t"]
libc: [manylinux, musllinux]
include: ${{ fromJSON(needs.setup.outputs.matrix) }}

env:
CMARKGFM_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -94,12 +92,12 @@ 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 }}
# Matches upstream's per-platform `[tool.cibuildwheel]` before-all
# (yum for manylinux) and its musllinux override (apk).
CIBW_BEFORE_ALL_LINUX: ${{ matrix.libc == 'manylinux' && 'yum install -y libffi-devel' || 'apk add libffi-dev' }}
CIBW_BEFORE_ALL_LINUX: ${{ matrix.platform == 'manylinux' && 'yum install -y libffi-devel' || 'apk add libffi-dev' }}
# cffi, both a build-time and a runtime dependency, has a riscv64
# wheel on our registry for manylinux only; musllinux builds it from
# sdist against the libffi-dev installed above.
Expand All @@ -111,7 +109,7 @@ jobs:

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

Expand Down
Loading
Loading