From b0ad33712ec87337b0d41e697ec1bc0e0ac0680e Mon Sep 17 00:00:00 2001 From: Icxolu <10486322+Icxolu@users.noreply.github.com> Date: Sun, 15 Nov 2026 16:33:44 +0100 Subject: [PATCH] fixup CI --- .github/workflows/ci.yml | 12 ++++++++++++ src/npyffi/array.rs | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22daa8e47..2b1ac6cdc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,9 +69,15 @@ jobs: include: - python-version: 3.9 platform: { os: "macos-15-intel", python-architecture: "x64", rust-target: "x86_64-apple-darwin" } + # ubuntu 26.04 runner does not support Python 3.9 + - python-version: "3.9" + platform: { os: "ubuntu-24.04", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" } exclude: - python-version: 3.9 platform: { os: "macOS-latest", python-architecture: "arm64", rust-target: "aarch64-apple-darwin" } + # ubuntu 26.04 runner does not support Python 3.9 + - python-version: "3.9" + platform: { os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" } # no 32 bit windows PyPy - python-version: pypy-3.11 platform: { os: "windows-latest", python-architecture: "x86", rust-target: "i686-pc-windows-msvc" } @@ -146,9 +152,15 @@ jobs: include: - python-version: 3.9 platform: { os: "macos-15-intel", python-architecture: "x64", rust-target: "x86_64-apple-darwin" } + # ubuntu 26.04 runner does not support Python 3.9 + - python-version: "3.9" + platform: { os: "ubuntu-24.04", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" } exclude: - python-version: 3.9 platform: { os: "macOS-latest", python-architecture: "arm64", rust-target: "aarch64-apple-darwin" } + # ubuntu 26.04 runner does not support Python 3.9 + - python-version: "3.9" + platform: { os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" } steps: - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} diff --git a/src/npyffi/array.rs b/src/npyffi/array.rs index 246c76149..3dcd83551 100644 --- a/src/npyffi/array.rs +++ b/src/npyffi/array.rs @@ -59,7 +59,7 @@ const CAPSULE_NAME: &str = "_ARRAY_API"; /// /// You can access raw C APIs via this variable. /// -/// See [PyArrayAPI](struct.PyArrayAPI.html) for what methods you can use via this variable. +/// See [PyArrayAPI] for what methods you can use via this variable. /// /// # Example /// ```