Skip to content

Commit e056690

Browse files
authored
Merge pull request #856 from altheaden/update-supported-python-versions
Update supported python versions
2 parents 4203ebc + 6aa959c commit e056690

12 files changed

+18
-19
lines changed

.github/workflows/build_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
shell: bash -l {0}
5858
strategy:
5959
matrix:
60-
python-version: ["3.9", "3.10", "3.11"]
60+
python-version: ["3.9", "3.10", "3.11", "3.12"]
6161
steps:
6262
- id: skip_check
6363
uses: fkirc/skip-duplicate-actions@master

ci/generate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22

33
from jinja2 import Template
44

5-
65
for os in ['linux', 'osx']:
76
with open(f'template_{os}.yaml') as f:
87
template_test = f.read()
98

109
template = Template(template_test)
11-
for python in ['3.8', '3.9', '3.10', '3.11']:
10+
for python in ['3.9', '3.10', '3.11', '3.12']:
1211
for mpi in ['nompi', 'mpich', 'openmpi']:
1312
script = template.render(python=python, mpi=mpi)
1413
filename = f'{os}_mpi_{mpi}_python{python}.yaml'

ci/linux_mpi_mpich_python3.8.yaml renamed to ci/linux_mpi_mpich_python3.12.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pin_run_as_build:
2727
min_pin: x.x
2828
max_pin: x.x
2929
python:
30-
- 3.8.* *_cpython
30+
- 3.12.* *_cpython
3131
zip_keys:
3232
- - c_compiler_version
3333
- cxx_compiler_version
34-
- fortran_compiler_version
34+
- fortran_compiler_version

ci/linux_mpi_nompi_python3.8.yaml renamed to ci/linux_mpi_nompi_python3.12.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pin_run_as_build:
2727
min_pin: x.x
2828
max_pin: x.x
2929
python:
30-
- 3.8.* *_cpython
30+
- 3.12.* *_cpython
3131
zip_keys:
3232
- - c_compiler_version
3333
- cxx_compiler_version
34-
- fortran_compiler_version
34+
- fortran_compiler_version

ci/linux_mpi_openmpi_python3.8.yaml renamed to ci/linux_mpi_openmpi_python3.12.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pin_run_as_build:
2727
min_pin: x.x
2828
max_pin: x.x
2929
python:
30-
- 3.8.* *_cpython
30+
- 3.12.* *_cpython
3131
zip_keys:
3232
- - c_compiler_version
3333
- cxx_compiler_version
34-
- fortran_compiler_version
34+
- fortran_compiler_version

ci/osx_mpi_mpich_python3.8.yaml renamed to ci/osx_mpi_mpich_python3.12.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ pin_run_as_build:
3333
min_pin: x.x
3434
max_pin: x.x
3535
python:
36-
- 3.8.* *_cpython
36+
- 3.12.* *_cpython
3737
zip_keys:
3838
- - c_compiler_version
3939
- cxx_compiler_version
40-
- fortran_compiler_version
40+
- fortran_compiler_version

ci/osx_mpi_nompi_python3.8.yaml renamed to ci/osx_mpi_nompi_python3.12.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ pin_run_as_build:
3333
min_pin: x.x
3434
max_pin: x.x
3535
python:
36-
- 3.8.* *_cpython
36+
- 3.12.* *_cpython
3737
zip_keys:
3838
- - c_compiler_version
3939
- cxx_compiler_version
40-
- fortran_compiler_version
40+
- fortran_compiler_version

ci/osx_mpi_openmpi_python3.8.yaml renamed to ci/osx_mpi_openmpi_python3.12.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ pin_run_as_build:
3333
min_pin: x.x
3434
max_pin: x.x
3535
python:
36-
- 3.8.* *_cpython
36+
- 3.12.* *_cpython
3737
zip_keys:
3838
- - c_compiler_version
3939
- cxx_compiler_version
40-
- fortran_compiler_version
40+
- fortran_compiler_version

conda/compass_env/spec-file.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# $ conda create --name <env> --file <this file>
33

44
# Base
5-
python>=3.8
5+
python>=3.9
66
cartopy
77
cartopy_offlinedata
88
cmocean

conda/default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ recreate = False
1414
suffix =
1515

1616
# the python version
17-
python = 3.11
17+
python = 3.12
1818

1919
# the MPI version (nompi, mpich or openmpi)
2020
mpi = nompi

0 commit comments

Comments
 (0)