Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop python3.8 support #5269

Merged
merged 3 commits into from
Apr 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ jobs:
- os: "ubuntu-latest"
python-version: "3.9"
session: "tests"
- os: "ubuntu-latest"
python-version: "3.8"
session: "tests"

env:
IRIS_TEST_DATA_VERSION: "2.19"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]
session: ["wheel"]
env:
ENV_NAME: "ci-wheels"
Expand Down
32 changes: 6 additions & 26 deletions docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,6 @@ This document explains the changes made to Iris for this release
✨ Features
===========

#. `@bsherratt`_ added support for plugins - see the corresponding
:ref:`documentation page<community_plugins>` for further information.
(:pull:`5144`)

#. `@rcomer`_ enabled lazy evaluation of :obj:`~iris.analysis.RMS` calcuations
with weights. (:pull:`5017`)

#. `@schlunma`_ allowed the usage of cubes, coordinates, cell measures, or
ancillary variables as weights for cube aggregations
(:meth:`iris.cube.Cube.collapsed`, :meth:`iris.cube.Cube.aggregated_by`, and
:meth:`iris.cube.Cube.rolling_window`). This automatically adapts cube units
if necessary. (:pull:`5084`)

#. `@lbdreyer`_ and `@trexfeathers`_ (reviewer) added :func:`iris.plot.hist`
and :func:`iris.quickplot.hist`. (:pull:`5189`)

#. `@tinyendian`_ edited :func:`~iris.analysis.cartography.rotate_winds` to
enable lazy computation of rotated wind vector components (:issue:`4934`,
:pull:`4972`)

#. `@ESadek-MO`_ updated to the latest CF Standard Names Table v80
(07 February 2023). (:pull:`5244`)

trexfeathers marked this conversation as resolved.
Show resolved Hide resolved
#. `@pp-mo`_ and `@lbdreyer`_ supported delayed saving of lazy data, when writing to
the netCDF file format. See : :ref:`delayed netCDF saves <delayed_netcdf_save>`.
Also with significant input from `@fnattino`_.
Expand Down Expand Up @@ -87,7 +64,10 @@ This document explains the changes made to Iris for this release
===============

#. `@rcomer`_ and `@bjlittle`_ (reviewer) added testing support for python
3.11. (:pull:`5226`)
3.11. (:pull:`5226`)

#. `@rcomer`_ dropped support for python 3.8, in accordance with the NEP29_
recommendations (:pull:`5226`)


📚 Documentation
Expand Down Expand Up @@ -127,7 +107,6 @@ This document explains the changes made to Iris for this release
core dev names are automatically included by the common_links.inc:

.. _@fnattino: https://github.com/fnattino
.. _@tinyendian: https://github.com/tinyendian


.. comment
Expand All @@ -137,4 +116,5 @@ This document explains the changes made to Iris for this release
.. _sphinx-design: https://github.com/executablebooks/sphinx-design
.. _check-manifest: https://github.com/mgedmin/check-manifest
.. _PEP-0621: https://peps.python.org/pep-0621/
.. _pypa/build: https://pypa-build.readthedocs.io/en/stable/
.. _pypa/build: https://pypa-build.readthedocs.io/en/stable/
.. _NEP29: https://numpy.org/neps/nep-0029-deprecation_policy.html
2 changes: 1 addition & 1 deletion lib/iris/tests/test_coding_standards.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_python_versions():
updated, insisting that versions are updated EVERYWHERE in-sync.
"""
latest_supported = "3.11"
all_supported = ["3.8", "3.9", "3.10", latest_supported]
all_supported = ["3.9", "3.10", latest_supported]
trexfeathers marked this conversation as resolved.
Show resolved Hide resolved

root_dir = Path(__file__).parents[3]
workflows_dir = root_dir / ".github" / "workflows"
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
nox.options.reuse_existing_virtualenvs = True

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

#: One specific python version for docs builds
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ classifiers = [
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -51,7 +50,7 @@ keywords = [
]
license = {text = "LGPL-3.0-or-later"}
name = "scitools-iris"
requires-python = ">=3.8"
requires-python = ">=3.9"

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

[tool.black]
line-length = 79
target-version = ['py38']
target-version = ['py39']
trexfeathers marked this conversation as resolved.
Show resolved Hide resolved
include = '\.pyi?$'
extend-exclude = '''
(
Expand Down
276 changes: 0 additions & 276 deletions requirements/locks/py38-linux-64.lock

This file was deleted.

56 changes: 0 additions & 56 deletions requirements/py38.yml

This file was deleted.