Skip to content

Drop support for Python 3.7 #578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
soxofaan opened this issue Jun 18, 2024 · 4 comments
Closed

Drop support for Python 3.7 #578

soxofaan opened this issue Jun 18, 2024 · 4 comments

Comments

@soxofaan
Copy link
Member

Python 3.7 reached end-of-life almost a year ago (2023-06-27)

This ticket is to collect reasons for dropping support for it.

@soxofaan
Copy link
Member Author

PR #577 includes a sniff to skip STAC functionality on Python 3.7 and 3.8 (because it depends on pystac features that are not available there)

soxofaan added a commit that referenced this issue Jul 19, 2024
soxofaan added a commit that referenced this issue Sep 4, 2024
no support for `shift` on `time_machine` fixture below python 3.8

refs #590, #596, #578
soxofaan added a commit that referenced this issue Sep 5, 2024
no support for `shift` on `time_machine` fixture below python 3.8

refs #590, #596, #578
@soxofaan
Copy link
Member Author

Python 3.8 officially reached end-of-life this month (https://devguide.python.org/versions/#unsupported-versions). I don't think we have to keep supporting two EOL'ed versions at this point

@soxofaan
Copy link
Member Author

soxofaan commented Oct 30, 2024

What dropping 3.7 will bring:

from https://nedbatchelder.com/text/which-py.html#h_38_october_14_2019_eol_october_2024:

  • assignment expressions (walrus operator := )
  • f-string “=” specifier
  • positional-only parameters
  • typing additions: TypedDict, Literal, Final, and Protocol
  • new module: importlib.metadata

Full list of 3.8 changes.

Quite some interesting features (f-string “=” specifier, typing.Protocol and importlib.metadata) that could streamline development and maintenance

@soxofaan
Copy link
Member Author

soxofaan commented Oct 31, 2024

a silly unit test failure, only on python 3.7, for #652 fix was the last drop: removed python 3.7 from the github actions unittest workflow with 10d1b14

Still various todo's and cleanups left over, marked with #578, e.g. see 26bc871

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

No branches or pull requests

1 participant