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 Python 3.7 #5855

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Conversation

clebergnu
Copy link
Contributor

Given that, after the release of 103.0 LTS, we're now on track for bigger chances, let's start by dropping Python 3.7 support.

There are a number of features that are available on Python 3.8 and later only. One example is the availibility of importlib.metadata stardand library, which we intend to use to replace pkg_resources (and then setuptools as a whole).

As for Avocado users and important platforms, we're on a good position such as QEMU already requiring Python 3.8, and CentOS Stream 9 shipping Python 3.9.18.

Reference: #5754

@clebergnu clebergnu added this to the #104 - Codename TBD milestone Jan 16, 2024
@clebergnu clebergnu self-assigned this Jan 16, 2024
Copy link
Contributor

@richtja richtja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @clebergnu overall it LGTM, but I just find a compatibility test for 3.7 in LXC spawner testing which IMO we don't need any more. Can you please update that as well? Thank you.

@clebergnu
Copy link
Contributor Author

Hi @clebergnu overall it LGTM, but I just find a compatibility test for 3.7 in LXC spawner testing which IMO we don't need any more. Can you please update that as well? Thank you.

Good catch. Sent an updated version. Thanks!

Given that, after the release of 103.0 LTS, we're now on track for
bigger chances, let's start by dropping Python 3.7 support.

There are a number of features that are available on Python 3.8 and
later only. One example is the availibility of importlib.metadata
stardand library, which we intend to use to replace pkg_resources (and
then setuptools as a whole).

As for Avocado users and important platforms, we're on a good position
such as QEMU already requiring Python 3.8, and CentOS Stream 9
shipping Python 3.9.18.

For RPM builds, EL8 (in all its forms) are not going to be built
anymore on CI.  This may change if the SPEC file is updated to support
a conditional build using Python 3.8 for EL8, but that depends on the
existence of all dependencies on that build, including
python3-aexpect, which is not currently available.

Reference: avocado-framework#5754
Signed-off-by: Cleber Rosa <[email protected]>
@richtja richtja merged commit 3732a67 into avocado-framework:master Jan 23, 2024
57 checks passed
luckyh added a commit to luckyh/avocado-vt that referenced this pull request Jan 26, 2024
Since Python 3.7 has been EOL'd and recently the support has also
been dropped by the latest Avocado.

Reference: avocado-framework/avocado#5855
Signed-off-by: Xu Han <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants