Skip to content

upgrade pyupgrade to start using 3.10+#604

Open
Vizonex wants to merge 7 commits into
aio-libs:masterfrom
Vizonex:pyupgrade-310
Open

upgrade pyupgrade to start using 3.10+#604
Vizonex wants to merge 7 commits into
aio-libs:masterfrom
Vizonex:pyupgrade-310

Conversation

@Vizonex
Copy link
Copy Markdown
Member

@Vizonex Vizonex commented Jun 2, 2026

What do these changes do?

This Pull request bumps pyupgrade to use 3.10+ code instead of 3.8. The PR Aims to have pre-commit run and change code as well as aid in helping to maintain readability with the code.

  • To retain backwards compatability with 3.9 I'll use the from __future__ import annotations system.

Are there changes in behavior for the user?

Unions and Option typehints should be replaced and items labeled as deprecated in the typing module should be properly moved to the collections.abc module.

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

Comment thread tests/conftest.py Fixed
Comment thread tests/test_scheduler.py Fixed
Comment thread tests/conftest.py Fixed
Comment thread tests/test_scheduler.py Fixed
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