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 #264

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

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

JonathonReinhart opened this issue Jan 2, 2024 · 0 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:

(Copied from JonathonReinhart/scuba#242)

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 8, 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 #264).

Fixes #266
JonathonReinhart added a commit that referenced this issue Jan 8, 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 #264).

Fixes #266
JonathonReinhart added a commit that referenced this issue Jan 8, 2024
#271)

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 #264).

Fixes #266
JonathonReinhart added a commit that referenced this issue Jan 14, 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 #264).

This instead uses importlib.resources.files() (introduced in Python 3.9)
and uses the backport importlib_resources for Python 3.7-3.8 (to be
removed in #264, #265).

This was chosen over the alternative of using the deprecated (as of
Python 3.11) function importlib.resources.open_binary() (introduced in
Python 3.7), as it seems simpler.
JonathonReinhart added a commit that referenced this issue Jan 14, 2024
pkg_resources is deprecated:
https://setuptools.pypa.io/en/latest/pkg_resources.html

This instead uses importlib.resources.files() (introduced in Python 3.9)
and uses the backport importlib_resources for Python 3.7-3.8 (to be
removed in #264, #265).

This was chosen over the alternative of using the deprecated (as of
Python 3.11) function importlib.resources.open_binary() (introduced in
Python 3.7), since we already have techdebt to remove a related
backport, which is preferable to upgrading from the deprecated API.
JonathonReinhart added a commit that referenced this issue Jan 14, 2024
pkg_resources is deprecated:
https://setuptools.pypa.io/en/latest/pkg_resources.html

This instead uses importlib.resources.files() (introduced in Python 3.9)
and uses the backport importlib_resources for Python 3.7-3.8 (to be
removed in #264, #265).

This was chosen over the alternative of using the deprecated (as of
Python 3.11) function importlib.resources.open_binary() (introduced in
Python 3.7), since we already have techdebt to remove a related
backport, which is preferable to upgrading from the deprecated API.
JonathonReinhart added a commit that referenced this issue Jan 14, 2024
…274)

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

This instead uses importlib.resources.files() (introduced in Python 3.9)
and uses the backport importlib_resources for Python 3.7-3.8 (to be
removed in #264, #265).

This was chosen over the alternative of using the deprecated (as of
Python 3.11) function importlib.resources.open_binary() (introduced in
Python 3.7), since we already have techdebt to remove a related
backport, which is preferable to upgrading from the deprecated API.
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

1 participant