chore: remove remaining future annotations (#2799)

This commit is contained in:
Henry Schreiner
2026-03-24 23:52:02 -04:00
committed by GitHub
parent 6df84da3e7
commit a257a3f789
3 changed files with 13 additions and 25 deletions
+6 -11
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
import dataclasses
import os
import platform
@@ -8,15 +6,20 @@ import shutil
import subprocess
import sys
import textwrap
from collections.abc import Sequence, Set
from pathlib import Path
from typing import TYPE_CHECKING, assert_never
from typing import assert_never
from filelock import FileLock
from cibuildwheel import errors
from cibuildwheel.architecture import Architecture
from cibuildwheel.environment import ParsedEnvironment
from cibuildwheel.frontend import BuildFrontendName, get_build_frontend_extra_flags
from cibuildwheel.logger import log
from cibuildwheel.options import Options
from cibuildwheel.platforms.macos import install_cpython as install_build_cpython
from cibuildwheel.selector import BuildSelector
from cibuildwheel.util import resources
from cibuildwheel.util.cmd import call, shell, split_command
from cibuildwheel.util.file import CIBW_CACHE_PATH, copy_test_sources, download, move_file
@@ -24,14 +27,6 @@ from cibuildwheel.util.helpers import prepare_command, unwrap_preserving_paragra
from cibuildwheel.util.packaging import find_compatible_wheel
from cibuildwheel.venv import constraint_flags, virtualenv
if TYPE_CHECKING:
from collections.abc import Sequence, Set
from cibuildwheel.architecture import Architecture
from cibuildwheel.environment import ParsedEnvironment
from cibuildwheel.options import Options
from cibuildwheel.selector import BuildSelector
@dataclasses.dataclass(frozen=True, kw_only=True)
class PythonConfiguration: