From 333222c10affb6eda4a330c0286c94c77a9d19e6 Mon Sep 17 00:00:00 2001 From: Thomas Nicholas Date: Fri, 27 Jan 2023 11:15:38 -0500 Subject: [PATCH 1/3] update requirements and envs --- .github/workflows/main.yaml | 4 ++-- .github/workflows/pypipublish.yaml | 2 +- ci/doc.yml | 2 +- ci/environment.yml | 2 +- setup.cfg | 3 +-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index b18159ae..cfced572 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -20,7 +20,7 @@ jobs: shell: bash -l {0} strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 @@ -65,7 +65,7 @@ jobs: shell: bash -l {0} strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/pypipublish.yaml b/.github/workflows/pypipublish.yaml index 98860acc..cf94c00b 100644 --- a/.github/workflows/pypipublish.yaml +++ b/.github/workflows/pypipublish.yaml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-python@v4 name: Install Python with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | diff --git a/ci/doc.yml b/ci/doc.yml index ce502c0f..69c9b104 100644 --- a/ci/doc.yml +++ b/ci/doc.yml @@ -3,7 +3,7 @@ channels: - conda-forge dependencies: - pip - - python>=3.8 + - python>=3.9 - netcdf4 - scipy - sphinx>=4.2.0 diff --git a/ci/environment.yml b/ci/environment.yml index 1aa9af93..fc0c6d97 100644 --- a/ci/environment.yml +++ b/ci/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge - nodefaults dependencies: - - python>=3.8 + - python>=3.9 - netcdf4 - pytest - flake8 diff --git a/setup.cfg b/setup.cfg index 2c7a052b..cee72e6a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,13 +14,12 @@ classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 [options] packages = find: -python_requires = >=3.8 +python_requires = >=3.9 install_requires = xarray >=2022.6.0 From 83491f57f896b26b465c22152aaa2410ea234d53 Mon Sep 17 00:00:00 2001 From: Thomas Nicholas Date: Fri, 27 Jan 2023 11:57:02 -0500 Subject: [PATCH 2/3] whatsnew --- docs/source/whats-new.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/whats-new.rst b/docs/source/whats-new.rst index ed33c2b6..0b163a0f 100644 --- a/docs/source/whats-new.rst +++ b/docs/source/whats-new.rst @@ -34,6 +34,9 @@ Breaking changes Deprecations ~~~~~~~~~~~~ +- Dropped support for python 3.8 (:issue:`212`, :pull:`214`) + By `Tom Nicholas `_. + Bug fixes ~~~~~~~~~ From 21a6148989d805e3c30fcf197d152aeade8f8158 Mon Sep 17 00:00:00 2001 From: Thomas Nicholas Date: Fri, 27 Jan 2023 12:00:29 -0500 Subject: [PATCH 3/3] added classifier for 3.11 --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index cee72e6a..48517c3b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,7 @@ classifiers = Programming Language :: Python Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 [options] packages = find: