diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index d98dec6392..b9a25dc259 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -57,7 +57,7 @@ jobs: shell: bash -l {0} strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - id: skip_check uses: fkirc/skip-duplicate-actions@master diff --git a/ci/generate.py b/ci/generate.py index f3c9fa1966..00911dbe58 100755 --- a/ci/generate.py +++ b/ci/generate.py @@ -2,13 +2,12 @@ from jinja2 import Template - for os in ['linux', 'osx']: with open(f'template_{os}.yaml') as f: template_test = f.read() template = Template(template_test) - for python in ['3.8', '3.9', '3.10', '3.11']: + for python in ['3.9', '3.10', '3.11', '3.12']: for mpi in ['nompi', 'mpich', 'openmpi']: script = template.render(python=python, mpi=mpi) filename = f'{os}_mpi_{mpi}_python{python}.yaml' diff --git a/conda/compass_env/spec-file.template b/conda/compass_env/spec-file.template index cac8fe4151..e7ae69b96d 100644 --- a/conda/compass_env/spec-file.template +++ b/conda/compass_env/spec-file.template @@ -2,7 +2,7 @@ # $ conda create --name --file # Base -python>=3.8 +python>=3.9 cartopy cartopy_offlinedata cmocean diff --git a/conda/default.cfg b/conda/default.cfg index ee044dc8aa..83e13ee115 100644 --- a/conda/default.cfg +++ b/conda/default.cfg @@ -14,7 +14,7 @@ recreate = False suffix = # the python version -python = 3.11 +python = 3.12 # the MPI version (nompi, mpich or openmpi) mpi = nompi diff --git a/docs/developers_guide/quick_start.rst b/docs/developers_guide/quick_start.rst index 26d960143d..d48ad1cec2 100644 --- a/docs/developers_guide/quick_start.rst +++ b/docs/developers_guide/quick_start.rst @@ -217,7 +217,7 @@ Optional flags Check to make sure expected commands are present ``--python`` - Select a particular python version (the default is currently 3.8) + Select a particular python version (the default is currently 3.12) ``--env_name`` Set the name of the environment (and the prefix for the activation script) diff --git a/setup.py b/setup.py index 3d908a91cd..ca2904d8e5 100644 --- a/setup.py +++ b/setup.py @@ -73,10 +73,10 @@ def package_files(directory, prefixes, extensions): 'Intended Audience :: Science/Research', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Scientific/Engineering', ], packages=find_packages(include=['compass', 'compass.*']),