Skip to content

Commit

Permalink
trying for 3.9 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzoic committed Mar 14, 2024
1 parent a401628 commit 45c3f35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions countess/utils/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from multiprocessing import Process, Queue, Value
from os import cpu_count, getpid
from queue import Empty
from typing import Callable, Concatenate, Iterable, TypeVar
from typing import Callable, Iterable
try:
from typing import ParamSpec
from typing import Concatenate, ParamSpec, TypeVar
except ImportError:
# for Python 3.9 compatibility
from typing_extensions import ParamSpec # type: ignore
from typing_extensions import Concatenate, ParamSpec, TypeVar # type: ignore

import psutil

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies = [
'psutil~=5.9.5',
'rapidfuzz~=2.15.1',
'ttkthemes~=3.2.2',
'typing_extensions~=4.8.0',
]

[project.optional-dependencies]
Expand Down

0 comments on commit 45c3f35

Please sign in to comment.