Skip to content
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

Drop support for Python 3.7 after 2024-06-30 #242

Open
JonathonReinhart opened this issue Jan 2, 2024 · 2 comments
Open

Drop support for Python 3.7 after 2024-06-30 #242

JonathonReinhart opened this issue Jan 2, 2024 · 2 comments

Comments

@JonathonReinhart
Copy link
Owner

JonathonReinhart commented Jan 2, 2024

Python 3.7 reached end-of-life on 2023-06-06 1 2 3.

However, Debian 10 "buster" ships with Python 3.7 4 5, and Debian 10 is under long-term support (LTS) until 2024-06-30 6 7.

Drop support for Python 3.7 after this date:

  • Remove from CI
  • Allow use of language and standard library features from Python >= 3.8

Footnotes

  1. https://en.wikipedia.org/wiki/History_of_Python#Table_of_versions

  2. https://www.python.org/downloads/release/python-3717/

  3. https://peps.python.org/pep-0537/

  4. https://www.debian.org/News/2019/20190706

  5. https://distrowatch.com/table.php?distribution=debian

  6. https://www.debian.org/releases/buster/

  7. https://en.wikipedia.org/wiki/Debian_version_history

JonathonReinhart added a commit that referenced this issue Jan 3, 2024
The output format is not particularly important; it is a diagnostic
facility. Switch from complex custom formatting to pprint.pformat().

Note that we would like to use sort_dicts=False, but that was introduced
in Python 3.8, and our current minimum is Python 3.7. See #242.
JonathonReinhart added a commit that referenced this issue Jan 3, 2024
pkg_resources is deprecated:
https://setuptools.pypa.io/en/latest/pkg_resources.html

This prefers importlib.metadata (introduced in Python 3.8) and uses the
backport importlib_metadata for Python 3.7 (to be removed in #242).

Fixes #245
JonathonReinhart added a commit that referenced this issue Jan 3, 2024
The output format is not particularly important; it is a diagnostic
facility. Switch from complex custom formatting to pprint.pformat().

Note that we would like to use sort_dicts=False, but that was introduced
in Python 3.8, and our current minimum is Python 3.7. See #242.
JonathonReinhart added a commit that referenced this issue Jan 3, 2024
pkg_resources is deprecated:
https://setuptools.pypa.io/en/latest/pkg_resources.html

This prefers importlib.metadata (introduced in Python 3.8) and uses the
backport importlib_metadata for Python 3.7 (to be removed in #242).

Fixes #245
JonathonReinhart added a commit that referenced this issue Jan 3, 2024
pkg_resources is deprecated:
https://setuptools.pypa.io/en/latest/pkg_resources.html

This prefers importlib.metadata (introduced in Python 3.8) and uses the
backport importlib_metadata for Python 3.7 (to be removed in #242).

Fixes #245
JonathonReinhart added a commit that referenced this issue Jan 3, 2024
…247)

pkg_resources is deprecated:
https://setuptools.pypa.io/en/latest/pkg_resources.html

This prefers importlib.metadata (introduced in Python 3.8) and uses the
backport importlib_metadata for Python 3.7 (to be removed in #242).

Fixes #245
@JonathonReinhart
Copy link
Owner Author

FYI @haboustak

@haboustak
Copy link
Contributor

FYI @haboustak

I'm good on this. Debian 11 should be our oldest end-user environment. I'm currently preparing VM templates for Debian 12.

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

No branches or pull requests

2 participants