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

CI: Convert Python2 testing scripts to Python3 #10290

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Alexey-Rivkin
Copy link
Collaborator

What?

Convert Python2 testing scripts to Python3.

Why?

We missed the Python2 EOL date a bit (Jan 1, 2020).

@Alexey-Rivkin Alexey-Rivkin added the WIP-DNM Work in progress / Do not review label Nov 11, 2024

Choose a reason for hiding this comment

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

Do we want to also fix the shebang to python3 and not be dependent on default python settings?

if options.verbose:
print "return code " + str(status)
print output
print("return code " + str(status))
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe use f-string instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

Choose a reason for hiding this comment

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

python3?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP-DNM Work in progress / Do not review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants