From 7f0d4c22c69b2e4614fedb66c01b2234ab56fc25 Mon Sep 17 00:00:00 2001 From: Charlie Zender Date: Wed, 20 Dec 2023 09:41:57 -0800 Subject: [PATCH 1/2] Add Python 3.12 support --- .github/workflows/ci.yaml | 2 +- ci/requirements-3.12.yml | 10 ++++++++++ setup.cfg | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 ci/requirements-3.12.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 09a69dd..3231c58 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - tox-env: ["py38", "py39", "py310", "py311"] + tox-env: ["py38", "py39", "py310", "py311", "py312"] steps: - uses: actions/checkout@v3 diff --git a/ci/requirements-3.12.yml b/ci/requirements-3.12.yml new file mode 100644 index 0000000..b8dc9a3 --- /dev/null +++ b/ci/requirements-3.12.yml @@ -0,0 +1,10 @@ +channels: + - conda-forge +dependencies: + - python=3.12 + - python-dateutil + - h5py + - netCDF4 + - numpy + - pytest + - scipy diff --git a/setup.cfg b/setup.cfg index be618c7..141c187 100644 --- a/setup.cfg +++ b/setup.cfg @@ -43,6 +43,7 @@ envlist = py39 py310 py311 + py312 isolated_build = true @@ -52,6 +53,7 @@ conda_env = py39: ci/requirements-3.9.yml py310: ci/requirements-3.10.yml py311: ci/requirements-3.11.yml + py312: ci/requirements-3.12.yml conda_deps = nco commands= From cb2e0711c4e176acb3866ba046c21403305bd30d Mon Sep 17 00:00:00 2001 From: Charlie Zender Date: Wed, 20 Dec 2023 09:48:18 -0800 Subject: [PATCH 2/2] Bump version to 1.1.2 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 141c187..bf0ab2e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = nco description = python bindings to NCO -version = 1.1.1 +version = 1.1.2 long_description = file: README.md long_description_content_type = text/markdown author = Joe Hamman