Skip to content

Commit

Permalink
Drop Python 3.9 support, require 3.10+ (#353)
Browse files Browse the repository at this point in the history
Following SPEC 0 Python 3.9 support is dropped for future minor and major releases, and will require Python 3.10+ from version 3.0 onwards.

The main benefit of requiring Python 3.10 is that we can implement type hinting more elegant in the workbench.

The 2.5.x branch will keep supporting Python 3.9.
  • Loading branch information
EwoutH authored May 24, 2024
1 parent 759edb6 commit 5b33698
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
test-mpi: true
- os: ubuntu-latest
python-version: "3.10"
- os: ubuntu-latest
python-version: "3.9"
- os: ubuntu-latest
python-version: "3.12"
pip-pre: "--pre" # Installs pre-release versions of pip dependencies
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
rev: v3.15.2
hooks:
- id: pyupgrade
args: [--py39-plus]
args: [--py310-plus]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 # Use the ref you want to point at
hooks:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = [
description = "Exploratory modelling in Python"
readme = "README.md"
license = { file="LICENSE.md" }
requires-python = ">=3.9"
requires-python = ">=3.10"
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
Expand Down

0 comments on commit 5b33698

Please sign in to comment.