diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 8044fa1d..d6ef066c 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -161,7 +161,10 @@ def setup_setuptools_cross_compile( # interpreter, and has no logic to construct it. Currently, CPython's # extensions follow our identifiers, but if they ever diverge in the # future, we will need to store new data - log.info("Setting SETUPTOOLS_EXT_SUFFIX=.%s.pyd for cross-compilation", python_configuration.identifier) + log.info( + "Setting SETUPTOOLS_EXT_SUFFIX=.%s.pyd for cross-compilation", + python_configuration.identifier, + ) env["SETUPTOOLS_EXT_SUFFIX"] = f".{python_configuration.identifier}.pyd" # Cross-compilation requires fixes that only exist in setuptools's copy of @@ -197,7 +200,7 @@ def setup_rust_cross_compile( else: log.warning( "Unable to configure Rust cross-compilation for architecture '%s'", - python_configuration.arch + python_configuration.arch, ) diff --git a/test/test_windows.py b/test/test_windows.py index 0d1231b7..836c38c4 100644 --- a/test/test_windows.py +++ b/test/test_windows.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import textwrap import pytest