Skip to content

Commit 949fff3

Browse files
committed
Update Python versions in CI, remove macos-intel.
Python 3.9 reached its end of life on October 31 2025. Changing tested versions from 3.9 and 3.12 to 3.10 and 3.13. Also, there is an issue with the llvmlite package on macos-15-intel. It is no longer available from PyPI for Python 3.10 and above. As a consequence we are removing testing on this platform as the minimal tested Python version is now 3.10.
1 parent d3f2ff3 commit 949fff3

File tree

3 files changed

+12
-24
lines changed

3 files changed

+12
-24
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ executors:
2828
jobs:
2929
lint:
3030
docker:
31-
- image: cimg/python:3.12
31+
- image: cimg/python:3.13
3232
steps:
3333
- checkout
3434
- run:
@@ -111,7 +111,7 @@ workflows:
111111
- test:
112112
matrix:
113113
parameters:
114-
python-version: ['3.9', '3.12']
114+
python-version: ['3.10', '3.13']
115115
os: ["linux"]
116116
requires:
117117
- lint

.github/workflows/main.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v6
24-
- name: Set up Python 3.12
24+
- name: Set up Python 3.13
2525
uses: actions/setup-python@v6
2626
with:
27-
python-version: '3.12'
27+
python-version: '3.13'
2828
- name: Install and run black for notebooks
2929
run: |
3030
python -m pip install --upgrade pip
@@ -33,15 +33,9 @@ jobs:
3333
test:
3434
needs: lint
3535
strategy:
36-
matrix: #using macos-15-intel, last available intel architecture. macos-latest is arm64 architecture.
37-
os: [macos-15-intel, windows-latest, ubuntu-latest, macos-latest]
38-
python-version: ['3.9', '3.12']
39-
# Combination of old architecture, macos-intel, and new python, 3.12, causes issues:
40-
# llvmlite is not available for this combination from PyPI so skip that testing.
41-
# It is available from conda-forge so not completely unsupported.
42-
exclude:
43-
- os: macos-15-intel
44-
python-version: '3.12'
36+
matrix:
37+
os: [windows-latest, ubuntu-latest, macos-latest]
38+
python-version: ['3.10', '3.13']
4539
runs-on: ${{ matrix.os }}
4640
steps:
4741
- uses: actions/checkout@v6

.github/workflows/scheduled_or_manual.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v6
25-
- name: Set up Python 3.12
25+
- name: Set up Python 3.13
2626
uses: actions/setup-python@v6
2727
with:
28-
python-version: '3.12'
28+
python-version: '3.13'
2929
- name: Install and run black for notebooks
3030
run: |
3131
python -m pip install --upgrade pip
@@ -34,15 +34,9 @@ jobs:
3434
test:
3535
needs: lint
3636
strategy:
37-
matrix: #using macos-15-intel, last available intel architecture. macos-latest is arm64 architecture.
38-
os: [macos-15-intel, windows-latest, macos-latest]
39-
python-version: ['3.9', '3.12']
40-
# Combination of old architecture, macos-intel, and new python, 3.12, causes issues:
41-
# llvmlite is not available for this combination from PyPI so skip that testing.
42-
# It is available from conda-forge so not completely unsupported.
43-
exclude:
44-
- os: macos-15-intel
45-
python-version: '3.12'
37+
matrix:
38+
os: [windows-latest, macos-latest]
39+
python-version: ['3.10', '3.13']
4640
inputs: ["00_ or 01_ or 02_ or 03_ or 04_ or 05_ or 10_ or 20_ or 21_ or 22_ or 300_ or 30_ or 31_ or 32_ or 33_ or 34_ or 35_ or 36_", "51_ or 55_ or 56_ or 60_ or 61_ or 62_ or 63_ or 64_", "65_ or 66_ or 67_ or 68_ or 69_ or 70_ or 71_"]
4741
runs-on: ${{ matrix.os }}
4842
steps:

0 commit comments

Comments
 (0)