Skip to content

Commit fd6f5b0

Browse files
authored
Drop python3.8 support (SciTools#5269)
* Drop python3.8 support * whatsnew
1 parent ac0c2b7 commit fd6f5b0

File tree

8 files changed

+11
-367
lines changed

8 files changed

+11
-367
lines changed

.github/workflows/ci-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ jobs:
4848
- os: "ubuntu-latest"
4949
python-version: "3.9"
5050
session: "tests"
51-
- os: "ubuntu-latest"
52-
python-version: "3.8"
53-
session: "tests"
5451

5552
env:
5653
IRIS_TEST_DATA_VERSION: "2.19"

.github/workflows/ci-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
fail-fast: false
5454
matrix:
55-
python-version: ["3.8", "3.9", "3.10", "3.11"]
55+
python-version: ["3.9", "3.10", "3.11"]
5656
session: ["wheel"]
5757
env:
5858
ENV_NAME: "ci-wheels"

docs/src/whatsnew/latest.rst

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,6 @@ This document explains the changes made to Iris for this release
3030
✨ Features
3131
===========
3232

33-
#. `@bsherratt`_ added support for plugins - see the corresponding
34-
:ref:`documentation page<community_plugins>` for further information.
35-
(:pull:`5144`)
36-
37-
#. `@rcomer`_ enabled lazy evaluation of :obj:`~iris.analysis.RMS` calcuations
38-
with weights. (:pull:`5017`)
39-
40-
#. `@schlunma`_ allowed the usage of cubes, coordinates, cell measures, or
41-
ancillary variables as weights for cube aggregations
42-
(:meth:`iris.cube.Cube.collapsed`, :meth:`iris.cube.Cube.aggregated_by`, and
43-
:meth:`iris.cube.Cube.rolling_window`). This automatically adapts cube units
44-
if necessary. (:pull:`5084`)
45-
46-
#. `@lbdreyer`_ and `@trexfeathers`_ (reviewer) added :func:`iris.plot.hist`
47-
and :func:`iris.quickplot.hist`. (:pull:`5189`)
48-
49-
#. `@tinyendian`_ edited :func:`~iris.analysis.cartography.rotate_winds` to
50-
enable lazy computation of rotated wind vector components (:issue:`4934`,
51-
:pull:`4972`)
52-
53-
#. `@ESadek-MO`_ updated to the latest CF Standard Names Table v80
54-
(07 February 2023). (:pull:`5244`)
55-
5633
#. `@pp-mo`_ and `@lbdreyer`_ supported delayed saving of lazy data, when writing to
5734
the netCDF file format. See : :ref:`delayed netCDF saves <delayed_netcdf_save>`.
5835
Also with significant input from `@fnattino`_.
@@ -87,7 +64,10 @@ This document explains the changes made to Iris for this release
8764
===============
8865

8966
#. `@rcomer`_ and `@bjlittle`_ (reviewer) added testing support for python
90-
3.11. (:pull:`5226`)
67+
3.11. (:pull:`5226`)
68+
69+
#. `@rcomer`_ dropped support for python 3.8, in accordance with the NEP29_
70+
recommendations (:pull:`5226`)
9171

9272

9373
📚 Documentation
@@ -127,7 +107,6 @@ This document explains the changes made to Iris for this release
127107
core dev names are automatically included by the common_links.inc:
128108
129109
.. _@fnattino: https://github.com/fnattino
130-
.. _@tinyendian: https://github.com/tinyendian
131110

132111

133112
.. comment
@@ -137,4 +116,5 @@ This document explains the changes made to Iris for this release
137116
.. _sphinx-design: https://github.com/executablebooks/sphinx-design
138117
.. _check-manifest: https://github.com/mgedmin/check-manifest
139118
.. _PEP-0621: https://peps.python.org/pep-0621/
140-
.. _pypa/build: https://pypa-build.readthedocs.io/en/stable/
119+
.. _pypa/build: https://pypa-build.readthedocs.io/en/stable/
120+
.. _NEP29: https://numpy.org/neps/nep-0029-deprecation_policy.html

lib/iris/tests/test_coding_standards.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_python_versions():
7272
updated, insisting that versions are updated EVERYWHERE in-sync.
7373
"""
7474
latest_supported = "3.11"
75-
all_supported = ["3.8", "3.9", "3.10", latest_supported]
75+
all_supported = ["3.9", "3.10", latest_supported]
7676

7777
root_dir = Path(__file__).parents[3]
7878
workflows_dir = root_dir / ".github" / "workflows"

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
nox.options.reuse_existing_virtualenvs = True
1717

1818
#: Python versions we can run sessions under
19-
_PY_VERSIONS_ALL = ["3.8", "3.9", "3.10", "3.11"]
19+
_PY_VERSIONS_ALL = ["3.9", "3.10", "3.11"]
2020
_PY_VERSION_LATEST = _PY_VERSIONS_ALL[-1]
2121

2222
#: One specific python version for docs builds

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ classifiers = [
2222
"Operating System :: Unix",
2323
"Programming Language :: Python",
2424
"Programming Language :: Python :: 3 :: Only",
25-
"Programming Language :: Python :: 3.8",
2625
"Programming Language :: Python :: 3.9",
2726
"Programming Language :: Python :: 3.10",
2827
"Programming Language :: Python :: 3.11",
@@ -51,7 +50,7 @@ keywords = [
5150
]
5251
license = {text = "LGPL-3.0-or-later"}
5352
name = "scitools-iris"
54-
requires-python = ">=3.8"
53+
requires-python = ">=3.9"
5554

5655
[project.urls]
5756
Code = "https://github.com/SciTools/iris"
@@ -78,7 +77,7 @@ version_scheme = "release-branch-semver"
7877

7978
[tool.black]
8079
line-length = 79
81-
target-version = ['py38']
80+
target-version = ['py39']
8281
include = '\.pyi?$'
8382
extend-exclude = '''
8483
(

requirements/locks/py38-linux-64.lock

Lines changed: 0 additions & 276 deletions
This file was deleted.

requirements/py38.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)