Skip to content

Commit 6030a2b

Browse files
committed
Ensure typing-extensions is installed when building docs.
1 parent dcf55f4 commit 6030a2b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

doc-source/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ sphinx-tabs>=1.1.13
1515
sphinx-toolbox>=2.13.0b3
1616
sphinxemoji>=0.1.6
1717
toctree-plus>=0.5.0
18+
typing-extensions>=3.10.0.0

pypi_json/typehints.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
if typing.TYPE_CHECKING:
3838
# 3rd party
3939
from typing_extensions import TypedDict
40-
elif hasattr(typing, "TypedDict"): # pragma: no cover (<py38)
41-
TypedDict = typing.TypedDict # noqa: TYP006
4240
else: # pragma: no cover
4341
try:
4442
# 3rd party

0 commit comments

Comments
 (0)