Skip to content

Commit ad42408

Browse files
committed
chore: Drop Python 3.9 support
1 parent fa0032f commit ad42408

File tree

3 files changed

+50
-12
lines changed

3 files changed

+50
-12
lines changed

.github/workflows/tox.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,17 @@ jobs:
9494
runs-on: ubuntu-latest
9595
strategy:
9696
matrix:
97-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
97+
python-version: ["3.10", "3.11", "3.12", "3.13"]
9898
dependencies: [latest, pre]
9999
include:
100-
- python-version: "3.9"
100+
- python-version: "3.10"
101101
dependencies: min
102102
exclude:
103103
# Do not test pre-releases for versions out of SPEC0
104-
- python-version: "3.9"
105-
dependencies: pre
106104
- python-version: "3.10"
107105
dependencies: pre
106+
- python-version: "3.11"
107+
dependencies: pre
108108

109109
env:
110110
DEPENDS: ${{ matrix.dependencies }}

pyproject.toml

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ description = "NeuroImaging Workflows provides processing tools for magnetic res
99
readme = "README.rst"
1010
license = "Apache-2.0"
1111
license-files = ["LICENSE"]
12-
requires-python = ">= 3.9"
12+
requires-python = ">= 3.10"
1313
authors = [
1414
{ name = "The NiPreps Developers", email = "[email protected]" },
1515
]
1616
classifiers = [
1717
"Development Status :: 4 - Beta",
1818
"Intended Audience :: Science/Research",
19-
"Programming Language :: Python :: 3.9",
2019
"Programming Language :: Python :: 3.10",
2120
"Programming Language :: Python :: 3.11",
2221
"Programming Language :: Python :: 3.12",
@@ -226,3 +225,45 @@ source = [
226225
[tool.codespell]
227226
skip = "*/data/*,*/docs/_build/*,./examples/viz-report.*"
228227
ignore-words-list = "objekt,nd"
228+
229+
[tool.pixi.workspace]
230+
channels = ["https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public", "conda-forge"]
231+
platforms = ["linux-64"]
232+
233+
[tool.pixi.feature.niworkflows.activation.env]
234+
FSLDIR = "$CONDA_PREFIX"
235+
236+
[tool.pixi.pypi-dependencies]
237+
niworkflows = { path = ".", editable = true }
238+
239+
[tool.pixi.environments]
240+
default = { features = ["editable"], solve-group = "default" }
241+
test = { features = ["editable", "tests"], solve-group = "default" }
242+
niworkflows = { features = ["production"], solve-group = "production" }
243+
244+
[tool.pixi.feature.editable.pypi-dependencies]
245+
niworkflows = { path = ".", editable = true }
246+
[tool.pixi.feature.production.pypi-dependencies]
247+
niworkflows = { path = ".", editable = false }
248+
249+
[tool.pixi.tasks]
250+
251+
[tool.pixi.dependencies]
252+
python = "3.12.*"
253+
mkl = "2024.2.2.*"
254+
mkl-service = "2.4.2.*"
255+
numpy = "1.26.*"
256+
scipy = "1.15.*"
257+
matplotlib = "3.9.*"
258+
pandas = "2.2.*"
259+
h5py = "3.13.*"
260+
scikit-image = "0.25.*"
261+
scikit-learn = "1.6.*"
262+
graphviz = "11.0.*"
263+
ants = "2.5.*"
264+
libitk = "5.4.0.*"
265+
fsl-bet2 = "2111.8.*"
266+
fsl-flirt = "2111.2.*"
267+
fsl-fast4 = "2111.3.*"
268+
fsl-mcflirt = "2111.0.*"
269+
fsl-miscmaths = "2203.2.*"

tox.ini

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@
22
requires =
33
tox>=4
44
envlist =
5-
py3{9,10,11,12,13}-latest
6-
py39-min
7-
py3{10,11,12,13}-pre
5+
py3{10,11,12,13,14}-{latest,pre}
6+
py310-min
87
skip_missing_interpreters = true
98

109
# Configuration that allows us to split tests across GitHub runners effectively
1110
[gh-actions]
1211
python =
13-
3.9: py39
1412
3.10: py310
1513
3.11: py311
1614
3.12: py312
1715
3.13: py313
16+
3.14: py314
1817

1918
[gh-actions:env]
2019
DEPENDS =
@@ -54,8 +53,6 @@ pass_env =
5453
CLICOLOR
5554
CLICOLOR_FORCE
5655
PYTHON_GIL
57-
deps =
58-
py313: traits @ git+https://github.com/enthought/traits.git@10954eb
5956
extras = tests
6057
setenv =
6158
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple

0 commit comments

Comments
 (0)