-
Notifications
You must be signed in to change notification settings - Fork 120
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
SNOW-1878542: Enable python 3.12 #2852
Conversation
Thank you for handling this! Here's some changes you might need too: #2641 |
6117933
to
9c275df
Compare
df = session.create_dataframe( | ||
[["xyz", int("1" * 19)] for _ in range(200000)], schema=["a1", "b1"] | ||
) | ||
else: |
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.
This create statement was causing timeouts in live-mode tests. When running in live it will generate the data server side instead which seems more stable.
t0 = time() | ||
async_job = session.sql("select system$wait(3)").collect_nowait() |
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.
3.12 was about a tenth of a second faster which broke the assert in this test. moving the start time to before the collect is start fixes this issue.
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.
LGTM. Thanks!
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-1878542
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
This PR adds python 3.12 to our support matrix. The 3.12 test suite has been enabled for all OSs and CSPs in order to fully check compatibility. Once we've cut a release with 3.12 we should narrow the test matrix and enable the udf tests for 3.12.