-
Notifications
You must be signed in to change notification settings - Fork 3.6k
AAP-59874: Update to Python 3.12 #16208
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
Conversation
from awx-operator check. |
datetime.UTC is an alias of datetime.timezone.utc. if we're doing the double import for datetime it's more straightforward to just import timezone as well and get it directly
1e6a157 to
acee18a
Compare
datetime.UTC is an alias of datetime.timezone.utc. if we're doing the double import for datetime it's more straightforward to just import timezone as well and get it directly
21e09a6 to
cd8fa63
Compare
|
I checked a reference PR and saw in the operator check, for the build But your PR appears to see |
A true version isn't required here and version-for-buildyml is failing to return a version
tvo318
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
| - name: Check Python version | ||
| working-directory: awx | ||
| run: | | ||
| make print-PYTHON && $(make print-PYTHON) tools/scripts/scm_version.py | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove debug code before merging
.github/workflows/ci.yml
Outdated
|
|
||
| - name: Setup python, referencing action at awx relative path | ||
| uses: ./awx/.github/actions/setup-python | ||
| uses: actions/setup-python@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pin to SHA when using external action
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't do that in other cases
|




SUMMARY
This PR updates the Python version to 3.12.
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION