Skip to content

Commit

Permalink
Drop support for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
douglatornell committed Nov 29, 2023
1 parent 04dd9d0 commit 93b904b
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest-with-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions docs/breaking_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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``.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]" },
Expand Down

0 comments on commit 93b904b

Please sign in to comment.