Skip to content
Merged
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
28 changes: 16 additions & 12 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
args: --release --locked --out dist -i python${{ matrix.python-version }}
- name: "Test wheel - aarch64"
run: |
pip install ${{ env.PACKAGE_NAME }} --find-links dist/ --force-reinstall
pip install dist/*.whl --force-reinstall
${{ env.EXECUTABLE_NAME }} --help
python -m ${{ env.MODULE_NAME }} --help
- name: "Upload wheels"
Expand All @@ -134,7 +134,7 @@ jobs:
# NOTE: i686 disabled due to poor support in PyArrow and friends.
#- target: i686-pc-windows-msvc
# arch: x86
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4.2.2
with:
Expand All @@ -152,7 +152,7 @@ jobs:
- name: "Test wheel"
shell: bash
run: |
python -m pip install ${{ env.PACKAGE_NAME }} --find-links dist/ --force-reinstall
python -m pip install dist/*.whl --force-reinstall
${{ env.EXECUTABLE_NAME }} --help
python -m ${{ env.MODULE_NAME }} --help
- name: "Upload wheels"
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
- name: "Test wheel"
shell: bash
run: |
python -m pip install ${{ env.PACKAGE_NAME }} --find-links dist/ --force-reinstall
python -m pip install dist/*.whl --force-reinstall
${{ env.EXECUTABLE_NAME }} --help
python -m ${{ env.MODULE_NAME }} --help
- name: "Upload wheels"
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
uses: PyO3/maturin-action@v1.49.1
with:
manylinux: auto
args: --release --locked --out dist -i python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
args: --release --locked --out dist -i python3.10 python3.11 python3.12 python3.13 python3.14
before-script-linux: |
# If we're running on rhel centos, install needed packages.
if command -v yum &> /dev/null; then
Expand All @@ -233,7 +233,8 @@ jobs:
- name: "Test wheel"
if: ${{ startsWith(matrix.target, 'x86_64') }}
run: |
pip install ${{ env.PACKAGE_NAME }} --find-links dist/ --force-reinstall
PYTAG="cp$(python -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')")"
pip install dist/*-${PYTAG}-*.whl --force-reinstall
${{ env.EXECUTABLE_NAME }} --help
python -m ${{ env.MODULE_NAME }} --help
- name: "Upload wheels"
Expand Down Expand Up @@ -268,7 +269,7 @@ jobs:
target: ${{ matrix.platform.target }}
manylinux: auto
docker-options: ${{ matrix.platform.maturin_docker_options }}
args: --release --locked --out dist -i python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
args: --release --locked --out dist -i python3.10 python3.11 python3.12 python3.13 python3.14
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
# Set the CFLAGS for the aarch64 target, defining the ARM architecture
Expand All @@ -294,7 +295,8 @@ jobs:
export CARGO_HOME=/tmp/cargo-home
python3 -m venv /tmp/venv
. /tmp/venv/bin/activate
pip3 install ${{ env.PACKAGE_NAME }} --find-links dist/ --force-reinstall
PYTAG="cp$(python3 -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')")"
pip3 install dist/*-${PYTAG}-*.whl --force-reinstall
${{ env.EXECUTABLE_NAME }} --help
- name: "Upload wheels"
uses: actions/upload-artifact@v4.6.2
Expand Down Expand Up @@ -324,7 +326,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: musllinux_1_2
args: --release --locked --out dist -i python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
args: --release --locked --out dist -i python3.10 python3.11 python3.12 python3.13 python3.14
- name: "Test wheel"
if: matrix.target == 'x86_64-unknown-linux-musl'
uses: addnab/docker-run-action@v3
Expand All @@ -334,7 +336,8 @@ jobs:
run: |
apk add python3 python3-dev py3-pip rust
python -m venv .venv
.venv/bin/pip3 install ${{ env.PACKAGE_NAME }} --find-links dist/ --force-reinstall
PYTAG="cp$(python -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')")"
.venv/bin/pip3 install dist/*-${PYTAG}-*.whl --force-reinstall
.venv/bin/${{ env.EXECUTABLE_NAME }} --help
- name: "Upload wheels"
uses: actions/upload-artifact@v4.6.2
Expand Down Expand Up @@ -362,7 +365,7 @@ jobs:
with:
target: ${{ matrix.platform.target }}
manylinux: musllinux_1_2
args: --release --locked --out dist -i python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
args: --release --locked --out dist -i python3.10 python3.11 python3.12 python3.13 python3.14
- uses: uraimo/run-on-arch-action@v2
name: Test wheel
with:
Expand All @@ -373,7 +376,8 @@ jobs:
apk add python3 python3-dev py3-pip rust
run: |
python -m venv .venv
.venv/bin/pip3 install ${{ env.PACKAGE_NAME }} --find-links dist/ --force-reinstall
PYTAG="cp$(python3 -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')")"
.venv/bin/pip3 install dist/*-${PYTAG}-*.whl --force-reinstall
.venv/bin/${{ env.EXECUTABLE_NAME }} --help
- name: "Upload wheels"
uses: actions/upload-artifact@v4.6.2
Expand Down