Skip to content

Commit

Permalink
Merge pull request #222 from altheaden/update-python-versions
Browse files Browse the repository at this point in the history
Add support for python 3.12
  • Loading branch information
xylar authored Sep 10, 2024
2 parents 2e79113 + 7ebd6ee commit 746a057
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,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
Expand Down
2 changes: 1 addition & 1 deletion deploy/conda-dev-spec.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $ conda create --name <env> --file <this file>

# Base
python>=3.9,<3.12
python>=3.9,<=3.12
antimeridian
cartopy
cartopy_offlinedata
Expand Down
2 changes: 1 addition & 1 deletion deploy/default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/users_guide/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if you don't already have it. Then, create a new conda environment (called
`polaris` in this example) as follows:

```bash
conda create -n polaris -c conda-forge -c e3sm/label/polaris python=3.11 \
conda create -n polaris -c conda-forge -c e3sm/label/polaris python=3.12 \
"polaris=*=mpi_mpich*"
```

Expand All @@ -85,7 +85,7 @@ system with its own MPI), use `"polaris=*=nompi*"`
To get a specific version of polaris, you can instead run:

```bash
conda create -n polaris -c conda-forge -c e3sm/label/polaris python=3.11 \
conda create -n polaris -c conda-forge -c e3sm/label/polaris python=3.12 \
"polaris=1.0.0=mpi_mpich*"
```

Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
License :: OSI Approved :: BSD License
Operating System :: OS Independent

[options]
packages = find:
include_package_data = True
python_requires = >=3.9,<3.12
python_requires = >=3.9,<=3.12
install_requires =
cartopy
cmocean
Expand Down

0 comments on commit 746a057

Please sign in to comment.