@@ -314,6 +314,15 @@ jobs:
314
314
python-architecture : " x64" ,
315
315
rust-target : " x86_64-apple-darwin" ,
316
316
}
317
+ # ubuntu-latest (24.04) no longer supports 3.7, so run on 22.04
318
+ - rust : stable
319
+ python-version : " 3.7"
320
+ platform :
321
+ {
322
+ os : " ubuntu-22.04" ,
323
+ python-architecture : " x64" ,
324
+ rust-target : " x86_64-unknown-linux-gnu" ,
325
+ }
317
326
318
327
# arm64 macOS Python not available on GitHub Actions until 3.10
319
328
# so backfill 3.7-3.9 with x64 macOS runners
@@ -343,6 +352,9 @@ jobs:
343
352
}
344
353
345
354
exclude :
355
+ # ubuntu-latest (24.04) no longer supports 3.7
356
+ - python-version : " 3.7"
357
+ platform : { os: "ubuntu-latest" }
346
358
# arm64 macOS Python not available on GitHub Actions until 3.10
347
359
- rust : stable
348
360
python-version : " 3.7"
@@ -557,6 +569,9 @@ jobs:
557
569
runs-on : ubuntu-latest
558
570
steps :
559
571
- uses : actions/checkout@v4
572
+ - uses : actions/setup-python@v5
573
+ with :
574
+ python-version : ' 3.12'
560
575
- uses : Swatinem/rust-cache@v2
561
576
with :
562
577
save-if : ${{ github.event_name != 'merge_group' }}
@@ -626,6 +641,9 @@ jobs:
626
641
target : " x86_64-apple-darwin"
627
642
steps :
628
643
- uses : actions/checkout@v4
644
+ - uses : actions/setup-python@v5
645
+ with :
646
+ python-version : ' 3.12'
629
647
- uses : Swatinem/rust-cache@v2
630
648
with :
631
649
workspaces :
0 commit comments