55 branches :
66 - main
77 - release-*
8+ - ci-*
89 pull_request :
910
1011concurrency :
@@ -26,22 +27,12 @@ jobs:
2627 test :
2728 name : python${{ matrix.python-version }}-${{ matrix.platform.python-architecture }} ${{ matrix.platform.os }}
2829 runs-on : ${{ matrix.platform.os }}
29- needs : [lint, check-msrv, examples]
30+ # needs: [lint, check-msrv, examples]
3031 strategy :
3132 fail-fast : ${{ !contains(github.event.pull_request.labels.*.name, 'CI-no-fail-fast') }}
3233 matrix :
33- python-version :
34- [
35- " 3.8" ,
36- " 3.9" ,
37- " 3.10" ,
38- " 3.11" ,
39- " 3.12" ,
40- " 3.13" ,
41- " 3.14" ,
42- " 3.14t" ,
43- " pypy-3.11" ,
44- ]
34+ # python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "pypy-3.11"]
35+ python-version : ["3.14", "3.14t", "pypy-3.11"]
4536 platform :
4637 [
4738 {
@@ -67,31 +58,58 @@ jobs:
6758 ]
6859 include :
6960 - python-version : 3.8
70- platform : { os: "macos-15-intel", python-architecture: "x64", rust-target: "x86_64-apple-darwin" }
61+ platform :
62+ {
63+ os : " macos-15-intel" ,
64+ python-architecture : " x64" ,
65+ rust-target : " x86_64-apple-darwin" ,
66+ }
7167 - python-version : 3.9
72- platform : { os: "macos-15-intel", python-architecture: "x64", rust-target: "x86_64-apple-darwin" }
68+ platform :
69+ {
70+ os : " macos-15-intel" ,
71+ python-architecture : " x64" ,
72+ rust-target : " x86_64-apple-darwin" ,
73+ }
7374 exclude :
7475 - python-version : 3.8
75- platform : { os: "macOS-latest", python-architecture: "arm64", rust-target: "aarch64-apple-darwin" }
76+ platform :
77+ {
78+ os : " macOS-latest" ,
79+ python-architecture : " arm64" ,
80+ rust-target : " aarch64-apple-darwin" ,
81+ }
7682 - python-version : 3.9
77- platform : { os: "macOS-latest", python-architecture: "arm64", rust-target: "aarch64-apple-darwin" }
83+ platform :
84+ {
85+ os : " macOS-latest" ,
86+ python-architecture : " arm64" ,
87+ rust-target : " aarch64-apple-darwin" ,
88+ }
7889 # no 32 bit windows PyPy
7990 - python-version : pypy-3.11
80- platform : { os: "windows-latest", python-architecture: "x86", rust-target: "i686-pc-windows-msvc" }
91+ platform :
92+ {
93+ os : " windows-latest" ,
94+ python-architecture : " x86" ,
95+ rust-target : " i686-pc-windows-msvc" ,
96+ }
8197 steps :
8298 - uses : actions/checkout@v6
8399 - name : Set up Python ${{ matrix.python-version }}
84- uses : actions /setup-python@v6
100+ uses : astral-sh /setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
85101 with :
86102 python-version : ${{ matrix.python-version }}
87- architecture : ${{ matrix.platform.python-architecture }}
103+ # - name: Configure UV
104+ # run: |
105+ # echo "UV_SYSTEM_PYTHON=true" >> "$GITHUB_ENV"
88106 - name : Install Rust
89107 uses : dtolnay/rust-toolchain@stable
90108 with :
91109 targets : ${{ matrix.platform.rust-target }}
92110 - name : Test
93111 run : |
94- pip install "numpy" ml_dtypes
112+ uv pip install "numpy" ml_dtypes
95113 cargo test --all-features
96114 # Not on PyPy, because no embedding API
97115 if : ${{ !startsWith(matrix.python-version, 'pypy') }}
@@ -137,14 +155,34 @@ jobs:
137155 ]
138156 include :
139157 - python-version : 3.8
140- platform : { os: "macos-15-intel", python-architecture: "x64", rust-target: "x86_64-apple-darwin" }
158+ platform :
159+ {
160+ os : " macos-15-intel" ,
161+ python-architecture : " x64" ,
162+ rust-target : " x86_64-apple-darwin" ,
163+ }
141164 - python-version : 3.9
142- platform : { os: "macos-15-intel", python-architecture: "x64", rust-target: "x86_64-apple-darwin" }
165+ platform :
166+ {
167+ os : " macos-15-intel" ,
168+ python-architecture : " x64" ,
169+ rust-target : " x86_64-apple-darwin" ,
170+ }
143171 exclude :
144172 - python-version : 3.8
145- platform : { os: "macOS-latest", python-architecture: "arm64", rust-target: "aarch64-apple-darwin" }
173+ platform :
174+ {
175+ os : " macOS-latest" ,
176+ python-architecture : " arm64" ,
177+ rust-target : " aarch64-apple-darwin" ,
178+ }
146179 - python-version : 3.9
147- platform : { os: "macOS-latest", python-architecture: "arm64", rust-target: "aarch64-apple-darwin" }
180+ platform :
181+ {
182+ os : " macOS-latest" ,
183+ python-architecture : " arm64" ,
184+ rust-target : " aarch64-apple-darwin" ,
185+ }
148186 steps :
149187 - uses : actions/checkout@v6
150188 - name : Set up Python ${{ matrix.python-version }}
0 commit comments