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.10 support is no longer required.
Additional Details
- This issue could be completed to coincide with supporting Python 3.14, to stick with the "latest plus three previous releases" paradigm
- Consider using pyupgrade to automatically upgrade to 3.11+ 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
requires-python key value in the [project] config in pyproject.toml
- Update the
python_version key value in the [tool.refurb] config in pyproject.toml
- Ensure any packages that are only required for Python 3.10 are removed
- Update idioms used for Python 3.10 support only
- Update the testing environments
- in
tox, GitHub workflows, etc.
- Update the
test_python_version test in tests/unit/test_package_metadata.py
- This might also be a good time to switch from
black to ruff for formatting, if that change is desired
Acceptance Criteria
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.10 support is no longer required.
Additional Details
target-versionkey for the[tool.ruff]config inpyproject.tomlpyupgradeorruff check --fixdirectly to make the changes to the filesrequires-pythonkey value in the[project]config inpyproject.tomlpython_versionkey value in the[tool.refurb]config inpyproject.tomlTODO:comments with this issue referencedtox, GitHub workflows, etc.test_python_versiontest intests/unit/test_package_metadata.pyblacktorufffor formatting, if that change is desiredAcceptance Criteria