You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a placeholder issue to reference in source control. It is meant to capture all the changes that are needed when Python 3.9 support is no longer required.
Additional Details
This issue could be completed to coincide with supporting Python 3.13, to stick with the "latest plus three previous releases" paradigm
Consider using pyupgrade to automatically upgrade to 3.10+ syntax
Update the target-version key for the [tool.ruff] config in pyproject.toml
Use pyupgrade or ruff check --fix directly to make the changes to the files
Update the python_version key value in the [tool.refurb] config in pyproject.toml
Ensure any packages that are only required for Python 3.9 are removed
Update idioms used for Python 3.9 support only
Look for TODO: comments with this issue referenced
Type annotations can use the pipe operator for unions (or X | None instead of Optional[X])
Parenthesized context managers
These started working in py3.9a6 but are not officially supported until py3.10
Description
This is a placeholder issue to reference in source control. It is meant to capture all the changes that are needed when Python 3.9 support is no longer required.
Additional Details
target-version
key for the[tool.ruff]
config inpyproject.toml
pyupgrade
orruff check --fix
directly to make the changes to the filespython_version
key value in the[tool.refurb]
config inpyproject.toml
TODO:
comments with this issue referencedX | None
instead ofOptional[X]
)tox
, GitHub workflows, etc.test_python_version
test intests/unit/test_package_metadata.py
black
toruff
for formatting, if that change is desiredAcceptance Criteria
The text was updated successfully, but these errors were encountered: