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

Fixups and Python 3.11 Environment #1658

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

m-ildefons
Copy link
Contributor

Fixups:

  • Remove debug output
  • Cleanup format strings in ClusterManager class

Tox:

  • Add Python 3.11 environment
  • Drop Python 3.6 environment

Revert change to two assignment expressions. Without the need to further support Python 3.6 assignment expressions can be used in conditionals, i.e. if (cs := data.get(...)):.

Which issue(s) this PR fixes:

This PR addresses suggestions on a previous PR.

What this PR does / why we need it:

Following the suggestions on PR1628 that were made after that PR had already been merged, this PR is a simple clean up.

Special notes for your reviewer:

There are no new tests, no removed tests and no changes to functionality. However support for Python 3.6 has been dropped and as replacement support for Python 3.11 has been added to the tox config.

Fixups:
 - Remove debug output
 - Cleanup format strings in ClusterManager class

Tox:
 - Add Python 3.11 environment
 - Drop Python 3.6 environment

Revert change to two assignment expressions. Without the need to further
support Python 3.6 assignment expressions can be used in conditionals,
i.e. `if (cs := data.get(...)):`.

Signed-off-by: Moritz Röhrich <moritz.rohrich@suse.com>
@m-ildefons m-ildefons requested a review from lanfon72 November 8, 2024 09:49
@m-ildefons m-ildefons self-assigned this Nov 8, 2024
@lanfon72 lanfon72 requested a review from a team November 13, 2024 08:14
Copy link
Member

@lanfon72 lanfon72 left a comment

Choose a reason for hiding this comment

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

LGTM

@m-ildefons m-ildefons requested a review from albinsun November 13, 2024 08:36
Copy link
Contributor

@albinsun albinsun left a comment

Choose a reason for hiding this comment

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

LGTM

@khushboo-rancher khushboo-rancher merged commit 5038deb into harvester:main Nov 13, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

4 participants