From 5a4e0d41210f99981edbb0bb856f65a1b3bb9d0a 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 a6eceb865..40f0c1171 100644 --- a/install.py +++ b/install.py @@ -9952,11 +9952,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."""