Skip to content

Commit 20d859b

Browse files
committed
set min python version to 3.11
1 parent 186dfcb commit 20d859b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
fail-fast: false
4242
matrix:
43-
python-version: ["3.9", "3.13"]
43+
python-version: ["3.11", "3.12", "3.13"]
4444
runs-on: [ubuntu-latest, windows-latest, macos-14]
4545

4646
include:

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
]
1111
description = "Python package extending the Magpylib library by providing magnetic field analysis for soft materials and demagnetization of hard magnets."
1212
readme = "README.md"
13-
requires-python = ">=3.9"
13+
requires-python = ">=3.11"
1414
classifiers = [
1515
"Development Status :: 1 - Planning",
1616
"Intended Audience :: Science/Research",
@@ -20,8 +20,6 @@ classifiers = [
2020
"Programming Language :: Python",
2121
"Programming Language :: Python :: 3",
2222
"Programming Language :: Python :: 3 :: Only",
23-
"Programming Language :: Python :: 3.9",
24-
"Programming Language :: Python :: 3.10",
2523
"Programming Language :: Python :: 3.11",
2624
"Programming Language :: Python :: 3.12",
2725
"Programming Language :: Python :: 3.13",
@@ -97,7 +95,7 @@ report.exclude_also = [
9795

9896
[tool.mypy]
9997
files = ["src", "tests"]
100-
python_version = "3.9"
98+
python_version = "3.11"
10199
warn_unused_configs = true
102100
strict = true
103101
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
@@ -151,7 +149,7 @@ isort.required-imports = ["from __future__ import annotations"]
151149

152150

153151
[tool.pylint]
154-
py-version = "3.9"
152+
py-version = "3.11"
155153
ignore-paths = [".*/_version.py"]
156154
reports.output-format = "colorized"
157155
similarities.ignore-imports = "yes"

0 commit comments

Comments
 (0)