-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[V2] Add Python 3.12 Support #8897
Conversation
In reply to the only failing check, it is due to a failed assertion on the version of urllib3. For some reason, the the regenerated portable-exe-win-lock.txt file expects 1.26.19, but our lockfile has 1.26.20 pinned. Both satisfy our pyproject.toml requirement of |
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 fine, had questions on some changes being made. Let's also remember to add a new change entry.
requirements-build.txt
Outdated
@@ -1,4 +1,5 @@ | |||
# Requirements we need to run our build jobs for the installers. | |||
# We create the separation for cases where we're doing installation | |||
# from a local dependency directory instead of requirements.txt. | |||
PyInstaller==5.12.0 | |||
PyInstaller==5.13.2 | |||
pip==24.0 |
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.
Why are we pinning pip
?
with warnings.catch_warnings(record=True) as caught_warnings: | ||
response = method(**kwargs) | ||
err_msg = f"Warnings were emitted during smoke test: {caught_warnings}" | ||
assert len(caught_warnings) == 0, err_msg | ||
assert 'Errors' not in response |
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.
Why do we need to do this? The PR description doesn't go into what this is fixing. It just looks like we're getting less coverage. It looks like botocore never removed the warnings assertion here. We should avoid drifting if it's not necessary.
de25dce
to
40e8220
Compare
Issue #, if available:
Description of changes:
This PR adds changes needed to support Python version 3.12. A highlight of the changes are:
pyproject.toml
.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.