Bump various test dependencies (#11249)

This commit is contained in:
Alex Waygood
2024-01-05 22:09:02 +00:00
committed by GitHub
parent a7c5d8bc14
commit ccc81f224d
7 changed files with 25 additions and 14 deletions

View File

@@ -56,7 +56,19 @@ from typing import ( # noqa: Y022
overload,
type_check_only,
)
from typing_extensions import Concatenate, Literal, LiteralString, ParamSpec, Self, TypeAlias, TypeGuard, TypeVarTuple, deprecated
# we can't import `Literal` from typing or mypy crashes: see #11247
from typing_extensions import ( # noqa: Y023
Concatenate,
Literal,
LiteralString,
ParamSpec,
Self,
TypeAlias,
TypeGuard,
TypeVarTuple,
deprecated,
)
if sys.version_info >= (3, 9):
from types import GenericAlias