Skip to content

Commit 227434d

Browse files
authored
Require Python >=3.12, drop 3.11 (#743)
1 parent 293d41c commit 227434d

3 files changed

Lines changed: 10 additions & 11 deletions

File tree

.mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.10
2+
python_version = 3.12
33

44
ignore_errors = False
55
warn_redundant_casts = True

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For more information on the `spatialdata-plot` library, please refer to the [doc
3636

3737
## Installation
3838

39-
You need to have Python 3.10 or newer installed on your system. If you don't have
39+
You need to have Python 3.12 or newer installed on your system. If you don't have
4040
Python installed, we recommend installing [Mambaforge](https://github.com/conda-forge/miniforge#mambaforge).
4141

4242
There are several alternative options to install spatialdata-plot:

pyproject.toml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ maintainers = [
1313
authors = [
1414
{ name = "scverse" },
1515
]
16-
requires-python = ">=3.11"
16+
requires-python = ">=3.12"
1717
classifiers = [
1818
"Programming Language :: Python :: 3 :: Only",
19-
"Programming Language :: Python :: 3.11",
2019
"Programming Language :: Python :: 3.12",
2120
"Programming Language :: Python :: 3.13",
2221
"Programming Language :: Python :: 3.14",
@@ -82,7 +81,7 @@ envs.docs.scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
8281
envs.docs.scripts.clean = "git clean -fdX -- {args:docs}"
8382
envs.hatch-test.dependency-groups = [ "test" ]
8483
envs.hatch-test.matrix = [
85-
{ deps = [ "stable" ], python = [ "3.11", "3.14" ] },
84+
{ deps = [ "stable" ], python = [ "3.12", "3.14" ] },
8685
{ deps = [ "pre" ], python = [ "3.14" ] }
8786
]
8887
envs.hatch-test.overrides.matrix.deps.env-vars = [
@@ -100,7 +99,7 @@ channels = [ "conda-forge" ]
10099
platforms = [ "linux-64", "osx-arm64" ]
101100

102101
[tool.pixi.dependencies]
103-
python = ">=3.11"
102+
python = ">=3.12"
104103

105104
[tool.pixi.pypi-dependencies]
106105
spatialdata-plot = { path = ".", editable = true }
@@ -122,20 +121,20 @@ pre-commit-run = "pre-commit run --all-files"
122121
test = "pytest -v --color=yes --tb=short --durations=10"
123122

124123
# for gh-actions
125-
[tool.pixi.feature.py311.dependencies]
126-
python = "3.11.*"
124+
[tool.pixi.feature.py312.dependencies]
125+
python = "3.12.*"
127126

128127
[tool.pixi.feature.py313.dependencies]
129128
python = "3.13.*"
130129

131130
[tool.pixi.environments]
132131
# 3.13 lane
133132
default = { features = [ "py313" ], solve-group = "py313" }
134-
# 3.11 lane (for gh-actions)
135-
dev-py311 = { features = [ "dev", "test", "py311" ], solve-group = "py311" }
133+
# 3.12 lane (for gh-actions)
134+
dev-py312 = { features = [ "dev", "test", "py312" ], solve-group = "py312" }
136135
dev-py313 = { features = [ "dev", "test", "py313" ], solve-group = "py313" }
137136
dev-interactive-py313 = { features = [ "dev", "test", "interactive", "py313" ], solve-group = "py313" }
138-
docs-py311 = { features = [ "doc", "py311" ], solve-group = "py311" }
137+
docs-py312 = { features = [ "doc", "py312" ], solve-group = "py312" }
139138
docs-py313 = { features = [ "doc", "py313" ], solve-group = "py313" }
140139
test-py313 = { features = [ "test", "py313" ], solve-group = "py313" }
141140

0 commit comments

Comments
 (0)