From 93b904b86c2a7ffb3306ed20289c3cf15586fe31 Mon Sep 17 00:00:00 2001 From: Doug Latornell Date: Wed, 29 Nov 2023 10:45:49 -0800 Subject: [PATCH] Drop support for Python 3.10 --- .github/workflows/pytest-with-coverage.yaml | 2 +- README.rst | 2 +- docs/breaking_changes.rst | 12 ++++++++++++ docs/development.rst | 10 +++++----- pyproject.toml | 2 +- 5 files changed, 20 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pytest-with-coverage.yaml b/.github/workflows/pytest-with-coverage.yaml index 0c3fe23..3c6d362 100644 --- a/.github/workflows/pytest-with-coverage.yaml +++ b/.github/workflows/pytest-with-coverage.yaml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.10', '3.11', '3.12' ] + python-version: [ '3.11', '3.12' ] uses: UBC-MOAD/gha-workflows/.github/workflows/pytest-with-coverage.yaml@main with: python-version: ${{ matrix.python-version }} diff --git a/README.rst b/README.rst index fd17634..d36051a 100644 --- a/README.rst +++ b/README.rst @@ -5,7 +5,7 @@ SalishSeaCast NEMO Command Processor .. image:: https://img.shields.io/badge/license-Apache%202-cb2533.svg :target: https://www.apache.org/licenses/LICENSE-2.0 :alt: Licensed under the Apache License, Version 2.0 -.. image:: https://img.shields.io/badge/Python-3.10%20%7C%203.11%20%7C%203.12-blue?logo=python&label=Python&logoColor=gold +.. image:: https://img.shields.io/badge/Python-3.11%20%7C%203.12-blue?logo=python&label=Python&logoColor=gold :target: https://docs.python.org/3.12/ :alt: Python Version .. image:: https://img.shields.io/badge/version%20control-git-blue.svg?logo=github diff --git a/docs/breaking_changes.rst b/docs/breaking_changes.rst index 5c84600..60d38f4 100644 --- a/docs/breaking_changes.rst +++ b/docs/breaking_changes.rst @@ -22,6 +22,18 @@ ``SalishSeaCmd`` Changes That Break Backward Compatibility ************************************************************* +.. _BreakingChangesVersion23.1: + +Version 23.1 +============ + +The following change that was introduced in version 23.1 of the ``SalishSeaCmd`` +package is incompatible with earlier versions: + +* Drop support for Python 3.10. + Minimum supported Python version is now 3.11. + + .. _BreakingChangesVersion22.3: Version 22.3 diff --git a/docs/development.rst b/docs/development.rst index f5b408d..161b550 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -25,7 +25,7 @@ .. image:: https://img.shields.io/badge/license-Apache%202-cb2533.svg :target: https://www.apache.org/licenses/LICENSE-2.0 :alt: Licensed under the Apache License, Version 2.0 -.. image:: https://img.shields.io/badge/Python-3.10%20%7C%203.11%20%7C%203.12-blue?logo=python&label=Python&logoColor=gold +.. image:: https://img.shields.io/badge/Python-3.11%20%7C%203.12-blue?logo=python&label=Python&logoColor=gold :target: https://docs.python.org/3.12/ :alt: Python Version .. image:: https://img.shields.io/badge/version%20control-git-blue.svg?logo=github @@ -65,14 +65,14 @@ Python Versions =============== -.. image:: https://img.shields.io/badge/Python-3.10%20%7C%203.11%20%7C%203.12-blue?logo=python&label=Python&logoColor=gold +.. image:: https://img.shields.io/badge/Python-3.11%20%7C%203.12-blue?logo=python&label=Python&logoColor=gold :target: https://docs.python.org/3.12/ :alt: Python Version The :kbd:`SalishSeaCmd` package is developed using `Python`_ 3.12. -The minimum supported Python version is 3.10. +The minimum supported Python version is 3.11. The :ref:`SalishSeaCmdContinuousIntegration` workflow on GitHub ensures that the package -is tested for all versions of Python>=3.10. +is tested for all versions of Python>=3.11. An old version of the package running under Python 3.5 is depoloyed on the Westgrid :kbd:`orcinus` HPC platform. That version is tagged in the repository as ``orcinus-python-3.5``. @@ -349,7 +349,7 @@ The output looks something like:: (line 497) ok https://github.com/SalishSeaCast/SalishSeaCmd/issues (line 491) ok https://github.com/SalishSeaCast/SalishSeaCmd/issues (line 21) ok https://img.shields.io/badge/license-Apache%202-cb2533.svg - (line 21) ok https://img.shields.io/badge/Python-3.10%20%7C%203.11%20%7C%203.12-blue?logo=python&label=Python&logoColor=gold + (line 21) ok https://img.shields.io/badge/Python-3.11%20%7C%203.12-blue?logo=python&label=Python&logoColor=gold (line 21) ok https://img.shields.io/badge/version%20control-git-blue.svg?logo=github (line 21) ok https://img.shields.io/badge/code%20style-black-000000.svg (line 21) ok https://codecov.io/gh/SalishSeaCast/SalishSeaCmd/branch/main/graph/badge.svg diff --git a/pyproject.toml b/pyproject.toml index 24c7af6..eb63835 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ name = "SalishSeaCmd" dynamic = [ "version" ] description = "SalishSeaCast NEMO Command Processor" readme = "README.rst" -requires-python = ">=3.10" +requires-python = ">=3.11" license = { file = "LICENSE" } authors = [ { name = "Doug Latornell", email = "dlatornell@eoas.ubc.ca" },