Skip to content

Commit d5c751c

Browse files
authored
Merge pull request #159 from effigies/py314
chore: Drop Python 3.9 support, test on 3.14
2 parents 64e3693 + 7649a0a commit d5c751c

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ jobs:
6363
needs: build
6464
strategy:
6565
matrix:
66-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
66+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
6767
mode: ['wheel']
6868
include:
69-
- {python-version: '3.11', mode: 'repo'}
70-
- {python-version: '3.11', mode: 'sdist'}
71-
- {python-version: '3.11', mode: 'editable'}
69+
- {python-version: '3.13', mode: 'repo'}
70+
- {python-version: '3.13', mode: 'sdist'}
71+
- {python-version: '3.13', mode: 'editable'}
7272

7373
env:
7474
TEMPLATEFLOW_HOME: /tmp/home

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ classifiers = [
1212
"Intended Audience :: Science/Research",
1313
"Topic :: Scientific/Engineering :: Image Recognition",
1414
"License :: OSI Approved :: Apache Software License",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
]
2121
license = {file = "LICENSE"}
22-
requires-python = ">=3.9"
22+
requires-python = ">=3.10"
2323
dependencies = [
2424
"acres >= 0.5.0",
2525
"platformdirs >= 4.0",
@@ -140,6 +140,9 @@ exclude_lines = [
140140

141141
[tool.ruff]
142142
line-length = 99
143+
extend-exclude = [
144+
"docs/notebooks",
145+
]
143146

144147
[tool.ruff.lint]
145148
extend-select = [

templateflow/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class TemplateFlowClient:
7676
A pre-configured TemplateFlowCache instance. If provided, `root` and other
7777
configuration keyword arguments cannot be used.
7878
"""
79+
7980
def __init__(
8081
self,
8182
root: os.PathLike[str] | str | None = None,

templateflow/conf/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
# https://www.nipreps.org/community/licensing/
2222
#
2323
import os
24+
from collections.abc import Callable
2425
from functools import partial
2526
from pathlib import Path
26-
from typing import Callable
2727

2828
from platformdirs import user_cache_dir
2929

0 commit comments

Comments
 (0)