From ee1755d7a4451f60ad9cde2279cbd73fac7e53ee Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 17 Nov 2026 07:55:15 +0100 Subject: [PATCH] refactor: read IO from the typing import line --- install.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/install.py b/install.py index 764ec47dd..c1657f4b8 100644 --- a/install.py +++ b/install.py @@ -9953,11 +9953,6 @@ def _archive_validator(headers: http.client.HTTPMessage | Mapping[str, str] | No return etag if etag and not etag.startswith("W/") else headers.get("Last-Modified", "") or "" -TYPE_CHECKING = False -if TYPE_CHECKING: - from typing import IO - - class _ArchiveCount: """The bytes one attempt at an archive drew on the progress."""