Skip to content

Commit 79b3dfc

Browse files
Drop Python 3.10 support (#318)
1 parent f340851 commit 79b3dfc

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

.github/workflows/build_workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
- name: Checkout Code Repository
3737
uses: actions/checkout@v3
3838

39-
- name: Set up Python 3.12
39+
- name: Set up Python 3.13
4040
uses: actions/setup-python@v3
4141
with:
42-
python-version: "3.12"
42+
python-version: "3.13"
4343

4444
- name: Install and Run Pre-commit
4545
uses: pre-commit/[email protected]
@@ -55,7 +55,7 @@ jobs:
5555
shell: bash -l {0}
5656
strategy:
5757
matrix:
58-
python-version: ["3.10", "3.11", "3.12", "3.13"]
58+
python-version: ["3.11", "3.12", "3.13"]
5959
steps:
6060
- uses: actions/checkout@v3
6161

conda-env/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
name: e3sm_to_cmip_ci
33
channels:
44
- conda-forge
5-
- defaults
65
dependencies:
76
# Base - required for building the repository as an Anaconda package
87
# ====================
9-
- python >=3.10
8+
- python >=3.11,<3.14
109
- setuptools
1110
- cmor >=3.7.0
1211
- dask
1312
- nco >=5.1.4
1413
- netcdf4
15-
- numpy >=2.0.0, <3.0.0
14+
- numpy >=2.0.0,<3.0.0
1615
- pyyaml
1716
- tqdm
1817
- xarray >=2024.03.0

conda-env/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ channels:
66
dependencies:
77
# Base - required for building the repository as an Anaconda package
88
# ====================
9-
- python >=3.10
9+
- python >=3.11,<3.14
1010
- setuptools
1111
- cmor >=3.7.0
1212
- dask

pyproject.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,24 @@ name = "e3sm_to_cmip"
77
dynamic = ["version"]
88
description = "Transform E3SM model data output into CMIP compatible data using the Climate Model Output Rewriter."
99
authors = [
10-
{name = "Sterling Baldwin"},
11-
{name = "Tom Vo", email = "[email protected]"},
12-
{name = "Chengzhu (Jill) Zhang", email = "[email protected]"},
13-
{name = "Anthony Bartoletti"}
10+
{ name = "Sterling Baldwin" },
11+
{ name = "Tom Vo", email = "[email protected]" },
12+
{ name = "Chengzhu (Jill) Zhang", email = "[email protected]" },
13+
{ name = "Anthony Bartoletti" },
1414
]
1515
classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"Intended Audience :: Developers",
1818
"License :: OSI Approved :: MIT License",
1919
"Natural Language :: English",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
"Programming Language :: Python :: 3.12",
2423
"Programming Language :: Python :: 3.13",
2524
]
2625
readme = "README.md"
27-
license = {file = "LICENSE"}
28-
requires-python = ">=3.10"
26+
license = { file = "LICENSE" }
27+
requires-python = ">=3.11"
2928
keywords = ["e3sm_to_cmip"]
3029
dependencies = [
3130
"cmor>=3.7.0",
@@ -130,7 +129,7 @@ python_files = ["tests.py", "test_*.py"]
130129

131130
[tool.mypy]
132131
# Docs: https://mypy.readthedocs.io/en/stable/config_file.html
133-
python_version = "3.12"
132+
python_version = "3.13"
134133
check_untyped_defs = true
135134
ignore_missing_imports = true
136135
warn_unused_ignores = true

0 commit comments

Comments
 (0)