Skip to content

chore(comments): remove comment in annotations import#378

Merged
tybulewicz merged 1 commit into
masterfrom
ttybulew/remove_imports_from_future
Aug 22, 2025
Merged

chore(comments): remove comment in annotations import#378
tybulewicz merged 1 commit into
masterfrom
ttybulew/remove_imports_from_future

Conversation

@tybulewicz

Copy link
Copy Markdown
Contributor

What does this PR do?

Our code includes from __future__ import annotations statements, some of those were marked as to be removed when moved to Python 3.10 - it was believed at that time that such imports will not be needed anymore.

annotations are still needed - as mentined in https://docs.python.org/3/library/__future__.html#id2 inclusion of that behavior was not included in Python 3.10 or 3.11, and finally posponed indefinitely.

In effect comments advising removal of imports were removed.

Fixes #363

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

@tybulewicz tybulewicz requested a review from a team as a code owner August 22, 2025 09:30
@github-actions github-actions Bot added the python python related changes label Aug 22, 2025
@tybulewicz tybulewicz changed the title chore(comments): Remove inorrect comment in annotations import chore(comments): remove comment in annotations import Aug 22, 2025
@tybulewicz tybulewicz requested a review from mgumowsk August 22, 2025 09:31
@tybulewicz tybulewicz added this pull request to the merge queue Aug 22, 2025
Merged via the queue into master with commit 1e40981 Aug 22, 2025
16 checks passed
@tybulewicz tybulewicz deleted the ttybulew/remove_imports_from_future branch August 22, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python python related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cleanup code from old artifacts

2 participants