From def83a4895ceee82a15f3cfaa2394dcb540a838f Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Thu, 12 Nov 2026 10:33:52 +0100 Subject: [PATCH 1/3] fix: remove type_checking from core --- src/spikeinterface/core/time_series.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/spikeinterface/core/time_series.py b/src/spikeinterface/core/time_series.py index 2307647f27..3776602bc1 100644 --- a/src/spikeinterface/core/time_series.py +++ b/src/spikeinterface/core/time_series.py @@ -1,15 +1,13 @@ from abc import ABC, abstractmethod from bisect import bisect_right -from typing import Optional, TYPE_CHECKING, TypeAlias +from typing import Optional, TypeAlias import warnings import numpy as np +import zarr from spikeinterface.core.base import BaseExtractor, BaseSegment -if TYPE_CHECKING: - import zarr - # A recording segment's time vector: a 1-D array of per-sample times (in seconds). # The backing store depends on how the recording was created/loaded: # - np.ndarray : set_times() (writeable, in-memory) @@ -18,7 +16,7 @@ # - zarr.Array : ZarrRecordingExtractor load # -- *read-only* ; see ZarrRecordingExtractor.__init__ # Code reading `._time_vector` must not assume it is writeable (see `shift_times`). -TimeVector: TypeAlias = "np.ndarray | zarr.Array" # np.memmap is an np.ndarray subclass +TimeVector: TypeAlias = np.ndarray | zarr.Array # np.memmap is an np.ndarray subclass class TimeSeries(ABC): From 3e0cd29df6d88ae6e1c54f0c674b2b631432e6d3 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 16 Nov 2026 16:42:23 +0100 Subject: [PATCH 2/3] after release --- pyproject.toml | 2 +- src/spikeinterface/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 27e99729e7..efcb46add0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "spikeinterface" -version = "0.106.0" +version = "0.107.0" authors = [ { name="Alessio Buccino", email="alessiop.buccino@gmail.com" }, { name="Samuel Garcia", email="sam.garcia.die@gmail.com" }, diff --git a/src/spikeinterface/__init__.py b/src/spikeinterface/__init__.py index f7c43a845f..a184e9f487 100644 --- a/src/spikeinterface/__init__.py +++ b/src/spikeinterface/__init__.py @@ -27,5 +27,5 @@ # This flag must be set to False for release # This avoids using versioning that contains ".dev0" (and this is a better choice) # This is mainly useful when using run_sorter in a container and spikeinterface install -# DEV_MODE = True -DEV_MODE = False +DEV_MODE = True +# DEV_MODE = False From ef700b3c8911c929f9b68c7203a77ab171585acc Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 16 Nov 2026 16:48:29 +0100 Subject: [PATCH 3/3] after release - update git installs --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index efcb46add0..1d5ca82f1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,10 +26,10 @@ dependencies = [ "tqdm", "zarr>=3,<4", # for release we need pypi, so this needs to be commented - # "neo @ git+https://github.com/NeuralEnsemble/python-neo.git", - # "probeinterface @ git+https://github.com/SpikeInterface/probeinterface.git", - "neo>=0.14.6", - "probeinterface>=0.5.0", + "neo @ git+https://github.com/NeuralEnsemble/python-neo.git", + "probeinterface @ git+https://github.com/SpikeInterface/probeinterface.git", + # "neo>=0.14.6", + # "probeinterface>=0.5.0", "packaging", "pydantic", ]