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

Remove Python 3.10 support for the controller #83221

Draft
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

mkrizek
Copy link
Contributor

@mkrizek mkrizek commented May 9, 2024

SUMMARY

Fixes #83094

ISSUE TYPE
  • Feature Pull Request

@ansibot ansibot added feature This issue/PR relates to a feature request. needs_triage Needs a first human triage before being processed. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. has_issue labels May 9, 2024
@@ -32,27 +32,8 @@ def import_module(name): # type: ignore[misc]
__import__(name)
return sys.modules[name]

try:
Copy link
Member

Choose a reason for hiding this comment

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

This Python module needs to support target Python versions, not just controller Python versions. So the Python 2.7 support can be dropped, but not Python 3.8.

Copy link
Member

Choose a reason for hiding this comment

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

On a related note, there is more Python 2.7 code that can be removed, such as the use of ansible.module_utils.six.

@webknjaz webknjaz added the ci_verified Changes made in this PR are causing tests to fail. label May 9, 2024
@ansibot ansibot removed the ci_verified Changes made in this PR are causing tests to fail. label May 10, 2024
@webknjaz webknjaz added the ci_verified Changes made in this PR are causing tests to fail. label May 10, 2024
@mattclay
Copy link
Member

This PR is blocked on completion of #83093

@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label May 14, 2024
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci_verified Changes made in this PR are causing tests to fail. feature This issue/PR relates to a feature request. has_issue needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop support for Python 3.10 on the controller
4 participants