Skip to content

Drop Python 3.10 support #604

Description

@maxrake

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

  • Python 3.10 support is removed
  • Documentation is updated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    low priorityThis should be addressed as time permitstaskTask/chore unrelated to a bug or feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions