Skip to content

Commit 2d3ef49

Browse files
committed
fix missing typing_extensions on python 3.10
1 parent ccd553c commit 2d3ef49

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

deeplabcut/core/config/config_mixin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from typing import Callable, Self
1+
from typing import Callable
2+
from typing_extensions import Self
23
from pathlib import Path
34
from dataclasses import asdict, fields
45

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ statsmodels>=0.11
2929
tables
3030
torch==2.7.1
3131
torchvision
32+
typing_extensions
3233
tqdm
3334

3435
# Platform-specific

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def pytorch_config_paths() -> list[str]:
8282
"h5py>=3.15.1;sys_platform=='darwin'",
8383
"omegaconf>=2.3.0",
8484
"pydantic>=2.12.3",
85+
"typing_extensions",
8586
],
8687
extras_require={
8788
"gui": [

0 commit comments

Comments
 (0)