From 95fe750feab1d56ee1199577955be33de2903696 Mon Sep 17 00:00:00 2001 From: Martin Reuter Date: Thu, 26 Feb 2026 11:12:33 +0100 Subject: [PATCH 1/3] update license string, python version and bump to dev --- pyproject.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a9630d6..e8af54d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,11 +4,12 @@ build-backend = 'setuptools.build_meta' [project] name = 'whippersnappy' -version = '2.0.0' +version = '2.1.0-dev' description = 'A package to plot and capture FastSurfer and FreeSurfer-style surface overlays.' readme = 'README.md' -license = {file = 'LICENSE'} -requires-python = '>=3.9' +license = 'MIT' +license-files = ['LICENSE'] +requires-python = '>=3.10' authors = [ {name = 'Martin Reuter', email = 'martin.reuter@dzne.de'}, ] From 4c270e148d6d776b5e3a4e0f5f1f18ef89b8c3a8 Mon Sep 17 00:00:00 2001 From: Martin Reuter Date: Thu, 26 Feb 2026 11:16:59 +0100 Subject: [PATCH 2/3] remove old osi licence string --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e8af54d..43219b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,6 @@ classifiers = [ 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', 'Natural Language :: English', - 'License :: OSI Approved :: MIT License', 'Intended Audience :: Science/Research', ] dependencies = [ From fb76ad16ee2c2b1c1e65a0f9770d4fec6eef025a Mon Sep 17 00:00:00 2001 From: Martin Reuter Date: Thu, 26 Feb 2026 11:21:46 +0100 Subject: [PATCH 3/3] fix ruff --- whippersnappy/_config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/whippersnappy/_config.py b/whippersnappy/_config.py index 6617445..1437dab 100644 --- a/whippersnappy/_config.py +++ b/whippersnappy/_config.py @@ -3,14 +3,15 @@ import platform import re import sys +from collections.abc import Callable from functools import partial from importlib.metadata import requires, version -from typing import IO, Callable, Optional +from typing import IO import psutil -def sys_info(fid: Optional[IO] = None, developer: bool = False): +def sys_info(fid: IO | None = None, developer: bool = False): """Print the system information for debugging. Parameters