Skip to content

Commit 7aa092a

Browse files
authored
chore: Deprecate python==3.9, officially support python==3.13 (#255)
1 parent 99f4957 commit 7aa092a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/type-checking.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: '3.12'
20+
python-version: '3.13'
2121
cache: 'pip'
2222

2323
- name: Install dependencies

doc/release-notes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Upcoming Version
66

77
* Update Marktstammdatenregister data for Germany from `open-MaStR (February 25, 2025) <https://zenodo.org/records/14783581>`__.
88

9+
* Drop support for Python 3.9, add support for Python 3.13. Minimum required Python version is now 3.10.
10+
11+
912
`v0.7.1 <https://github.com/PyPSA/powerplantmatching/releases/tag/v0.7.1>`__ (30th January 2024)
1013
=================================================================================================
1114

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ authors = [{ name = "Fabian Hofmann (FIAS)", email = "fabianmarikhofmann@gmail.c
1212
{ name = "Fabian Gotzens (FZ Jülich)" }]
1313
license = { file = "LICENSE" }
1414
classifiers=[
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
1919
"Environment :: Console",
2020
"Intended Audience :: Science/Research",
2121
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
2222
"Natural Language :: English",
2323
"Operating System :: OS Independent",
2424
]
2525

26-
requires-python = ">=3.9"
26+
requires-python = ">=3.10"
2727

2828
dependencies = [
2929
"numpy",
@@ -110,7 +110,7 @@ select = [
110110

111111
# Add basic mypy configuration
112112
[tool.mypy]
113-
python_version = "3.9"
113+
python_version = "3.13"
114114
warn_unused_configs = true
115115
disallow_untyped_defs = false
116116
disallow_incomplete_defs = false

0 commit comments

Comments
 (0)