You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from typing import TYPE_CHECKING
if TYPE_CHECKING:
if sys.version_info >= (3, 8): # pragma: no cover (py38+)
from typing import Literal
else: # pragma: no cover (py38+)
from typing_extensions import Literal
Alternatively, typing_extensions should be added as a dependency
The text was updated successfully, but these errors were encountered:
If you import platformdirs on python < 3.8, it now fails with release 2.6.1 unless you have the typing-extensions package already installed.
I think the issue is this change in release 2.6.1: 2.6.0...2.6.1#diff-e6813e0402941ad4943c8261f1ecfe5e1f9ccd55cb009b996fd785f3637fc7c2
I would suggest it should be:
Alternatively, typing_extensions should be added as a dependency
The text was updated successfully, but these errors were encountered: