Skip to content

Commit 6aa959c

Browse files
committed
Update supported python versions
1 parent 1ed765f commit 6aa959c

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

.github/workflows/build_workflow.yml

+1-1
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

+1-2
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'

conda/compass_env/spec-file.template

+1-1
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

+1-1
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

docs/developers_guide/quick_start.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Optional flags
217217
Check to make sure expected commands are present
218218

219219
``--python``
220-
Select a particular python version (the default is currently 3.8)
220+
Select a particular python version (the default is currently 3.12)
221221

222222
``--env_name``
223223
Set the name of the environment (and the prefix for the activation script)

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ def package_files(directory, prefixes, extensions):
7373
'Intended Audience :: Science/Research',
7474
'Programming Language :: Python',
7575
'Programming Language :: Python :: 3',
76-
'Programming Language :: Python :: 3.8',
7776
'Programming Language :: Python :: 3.9',
7877
'Programming Language :: Python :: 3.10',
7978
'Programming Language :: Python :: 3.11',
79+
'Programming Language :: Python :: 3.12',
8080
'Topic :: Scientific/Engineering',
8181
],
8282
packages=find_packages(include=['compass', 'compass.*']),

0 commit comments

Comments
 (0)