Skip to content

Upgrade to Python 3.12 #151

@ChrisNeedham24

Description

@ChrisNeedham24
  • Jump straight from 3.10 to 3.12 - there wasn't anything in 3.11 that I thought was worth upgrading for.
  • Update documentation to reflect that 3.12 is required.
  • Consider whether there are places where we could declare custom types (e.g. type Location = Tuple[int, int])
  • Replace usages of split_list_into_chunks() in calculator.py with itertools.batched() - can remove the custom function and its test afterwards.
  • Determine whether there are any multi-line f-strings we could use.
  • Deal with any other warnings that may appear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationinfrastructureWhat makes the system tickrefactorNo new functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions