Drop Python 3.7 support
dantownsend opened this issue · 4 comments
dantownsend commented
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
piccolo/.github/workflows/release.yaml
Line 17 in 36e80f5
- 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'
toif: matrix.python-version == '3.11'
.
- Remove 3.7 from
- Update
setup.py
- Wherever we use
from typing_extensions import Literal
orfrom typing_extensions import Protocol
we can now import them directly from thetyping
module instead.typing_extensions
can then be moved fromrequirements.txt
totest-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.
KekmaTime commented
@dantownsend hey i would like to work on this issue
can you assign me thiss
dantownsend commented
@KekmaTime Cool, thanks!
KekmaTime commented
@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
dantownsend commented
Resolved by #855