summaryrefslogtreecommitdiff
path: root/src/pip/_internal/network/lazy_wheel.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pip/_internal/network/lazy_wheel.py')
-rw-r--r--src/pip/_internal/network/lazy_wheel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pip/_internal/network/lazy_wheel.py b/src/pip/_internal/network/lazy_wheel.py
index c5176a4bb..fd7ab7f03 100644
--- a/src/pip/_internal/network/lazy_wheel.py
+++ b/src/pip/_internal/network/lazy_wheel.py
@@ -5,15 +5,15 @@ __all__ = ['HTTPRangeRequestUnsupported', 'dist_from_wheel_url']
from bisect import bisect_left, bisect_right
from contextlib import contextmanager
from tempfile import NamedTemporaryFile
+from typing import TYPE_CHECKING
from zipfile import BadZipfile, ZipFile
from pip._vendor.requests.models import CONTENT_CHUNK_SIZE
from pip._internal.network.utils import HEADERS, raise_for_status, response_chunks
-from pip._internal.utils.typing import MYPY_CHECK_RUNNING
from pip._internal.utils.wheel import pkg_resources_distribution_for_wheel
-if MYPY_CHECK_RUNNING:
+if TYPE_CHECKING:
from typing import Any, Dict, Iterator, List, Optional, Tuple
from pip._vendor.pkg_resources import Distribution