-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'PyO3:main' into chore/core_deprecation_warning
- Loading branch information
Showing
1 changed file
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,14 @@ jobs: | |
}, | ||
] | ||
include: | ||
# ubuntu-24.04 does not support 3.7 | ||
- python-version: 3.7 | ||
platform: | ||
{ | ||
os: "ubuntu-22.04", | ||
python-architecture: "x64", | ||
rust-target: "x86_64-unknown-linux-gnu", | ||
} | ||
# Older versions of CPython are not available for AArch64. | ||
- python-version: 3.12 | ||
platform: | ||
|
@@ -73,6 +81,15 @@ jobs: | |
python-architecture: "x64", | ||
rust-target: "x86_64-unknown-linux-gnu", | ||
} | ||
exclude: | ||
# ubuntu-24.04 does not support 3.7 | ||
- python-version: 3.7 | ||
platform: | ||
{ | ||
os: "ubuntu-latest", | ||
python-architecture: "x64", | ||
rust-target: "x86_64-unknown-linux-gnu", | ||
} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
|
@@ -125,6 +142,24 @@ jobs: | |
rust-target: "x86_64-pc-windows-msvc", | ||
}, | ||
] | ||
include: | ||
# ubuntu-24.04 does not support 3.7 | ||
- python-version: 3.7 | ||
platform: | ||
{ | ||
os: "ubuntu-22.04", | ||
python-architecture: "x64", | ||
rust-target: "x86_64-unknown-linux-gnu", | ||
} | ||
exclude: | ||
# ubuntu-24.04 does not support 3.7 | ||
- python-version: 3.7 | ||
platform: | ||
{ | ||
os: "ubuntu-latest", | ||
python-architecture: "x64", | ||
rust-target: "x86_64-unknown-linux-gnu", | ||
} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
|
@@ -153,6 +188,9 @@ jobs: | |
needs: [lint, check-msrv, examples] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- uses: messense/maturin-action@v1 | ||
with: | ||
target: aarch64 | ||
|
@@ -164,6 +202,9 @@ jobs: | |
needs: [lint, check-msrv, examples] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: Swatinem/rust-cache@v2 | ||
continue-on-error: true | ||
|
@@ -179,6 +220,9 @@ jobs: | |
needs: [lint, check-msrv, examples] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- uses: dtolnay/rust-toolchain@nightly | ||
- uses: Swatinem/rust-cache@v2 | ||
continue-on-error: true | ||
|
@@ -194,7 +238,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.8 | ||
python-version: '3.12' | ||
- name: Install Rust | ||
uses: dtolnay/[email protected] | ||
- uses: Swatinem/rust-cache@v2 | ||
|
@@ -235,6 +279,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- name: Install OpenBLAS | ||
run: sudo apt install --yes libopenblas-dev | ||
- name: Install Rust | ||
|
@@ -252,6 +299,9 @@ jobs: | |
needs: [lint, check-msrv, examples] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- name: Install numpy | ||
run: pip install "numpy" ml_dtypes | ||
- uses: Swatinem/rust-cache@v2 | ||
|