We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fb21ae8 + fdedaec commit 277d88eCopy full SHA for 277d88e
pyproject.toml
@@ -23,6 +23,7 @@ dependencies = [
23
"PyQt6",
24
"darkdetect",
25
"typer>=0.16.0",
26
+ "typing_extensions>=3.7.4; python_version<'3.9'",
27
]
28
classifiers = [
29
"Operating System :: POSIX :: Linux",
src/labelle/cli/cli.py
@@ -13,7 +13,11 @@
13
import typer
14
from rich.console import Console
15
from rich.table import Table
16
-from typing_extensions import Annotated
+
17
+if sys.version_info >= (3, 9):
18
+ from typing import Annotated
19
+else:
20
+ from typing_extensions import Annotated
21
22
from labelle import __version__
from labelle.lib.constants import (
0 commit comments