Skip to content

Conversation

@tiran
Copy link
Collaborator

@tiran tiran commented Sep 22, 2024

Move imports of context and build_environment modules to if typing.TYPE_CHECKING blocks and introduce from __future__ import annotations. Most modules need these modules just for type annotations. This avoids import cycles in the future.

Move imports of `context` and `build_environment modules to `if
typing.TYPE_CHECKING` blocks and introduce `from __future__ import
annotations`. Most modules need these modules just for type annotations.
This avoids import cycles in the future.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
@mergify mergify bot merged commit 5c4dbd1 into python-wheel-build:main Sep 23, 2024
@tiran tiran deleted the future-annotations branch October 6, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants