piccolo-orm/piccolo

Drop Python 3.7 support

dantownsend opened this issue · 4 comments

Python 3.7 is now end of life - https://devguide.python.org/versions/#unsupported-versions

We should do the following:

  • Update release.yaml to use a more modern Python version
    python-version: 3.7
  • Update our CI scripts
    • Remove 3.7 from python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
    • Update if: matrix.python-version == '3.7' to if: matrix.python-version == '3.11'.
  • Update setup.py
  • Wherever we use from typing_extensions import Literal or from typing_extensions import Protocol we can now import them directly from the typing module instead. typing_extensions can then be moved from requirements.txt to test-requirements.txt.

The reason for dropping older versions is it makes our CI run faster, and we can adopt newer Python features without having to worry about backwards compatibility.

@dantownsend hey i would like to work on this issue
can you assign me thiss

@KekmaTime Cool, thanks!

@dantownsend i have done all the tasks mentioned in the tasklist. Let me know if there are any fixes i need to make.
Here is the link to the PR- #855

Resolved by #855