-
Notifications
You must be signed in to change notification settings - Fork 14.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
chore: python version to 3.11 (while supporting 3.10) #31503
Conversation
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.
I've completed my review and didn't find any issues... but I did find this bear.
/ \.-"""-./ \
\ - - /
| o o |
\ .-'''-. /
'-\__Y__/-'
`---`
Need a new review? Comment
/korbit-review
on this PR and I'll review your latest changes.Korbit Guide: Usage and Customization
Interacting with Korbit
- You can manually ask Korbit to review your PR using the
/korbit-review
command in a comment at the root of your PR.- You can ask Korbit to generate a new PR description using the
/korbit-generate-pr-description
command in any comment on your PR.- Too many Korbit comments? I can resolve all my comment threads if you use the
/korbit-resolve
command in any comment on your PR.- Chat with Korbit on issues we post by tagging @korbit-ai in your reply.
- Help train Korbit to improve your reviews by giving a 👍 or 👎 on the comments Korbit posts.
Customizing Korbit
- Check out our docs on how you can make Korbit work best for you and your team.
- Customize Korbit for your organization through the Korbit Console.
Current Korbit Configuration
General Settings
Setting Value Review Schedule Automatic excluding drafts Max Issue Count 10 Automatic PR Descriptions ❌ Issue Categories
Category Enabled Naming ✅ Database Operations ✅ Documentation ✅ Logging ✅ Error Handling ✅ Systems and Environment ✅ Objects and Data Structures ✅ Readability and Maintainability ✅ Asynchronous Processing ✅ Design Patterns ✅ Third-Party Libraries ✅ Performance ✅ Security ✅ Functionality ✅ Feedback and Support
7919f49
to
a180a01
Compare
Should we first merge #31313 before proceeding with this? Also, should we not wait until 3.12 is supported before moving the window of supported versions forward? |
@mistercrunch There's a 5.0 proposal to drop support for 3.9. We should wait for the breaking window unless you remove the 3.9 deprecation of this PR's scope. |
@michael-s-molina yup I'm taking this on as part of the 5.0 effort.
@villebro yes, that will help sorting things out. I'll push on that one to go first (pre 5.0)
I don't think that's required, my take is we should support |
a180a01
to
42a7030
Compare
Here -> #31740 |
Mmmmh, yeah goes back to 2019 so my hopes aren't up on this one, I couldn't find a decent workaround.Maybe it's a good think to make optional as in #31740 though? |
Few options:
|
@mistercrunch what was missing for 3.12 support? Numpy wheels? Let's give it one more go, and if it just doesn't work out let's settle for one of the compromises listed above.. |
Ok, added a commit bringing in 3.12 in the mix, let's see what fails. |
e1193f5
to
5dfc5d6
Compare
Ok I pushed by bumping a bunch of libraries here, and ultimately got to a place where Certainly a good thing to unpin and push through, but might require some work or waiting for newer version of libs to move forward. |
The new pandas Seems the issue is with |
46362fe
to
d3654cb
Compare
@mistercrunch after letting this simmer for a while longer, would the following work:
I don't necessarily see any reason to have |
Yes I think that's effectively what it is in current PR, except for next being failing on 3.12 now. Maybe I just remove next from the matrixes for now and we turn it back on when we're ready to start working on supporting 3.12 |
Ok I didn't want to loose the work I did on supporting 3.12 so started this placeholder PR here. I'll rollback 3.12 support work from this PR as it's breaking things, and remove |
d3654cb
to
fea3210
Compare
@mistercrunch Could you please add the changes made in this PR to |
Done! I think this might be ready for merging |
@villebro @michael-s-molina anything else needed to get this merged? |
@mistercrunch I didn't see a change in |
Oops, I forgot to |
@mistercrunch I left a comment about the integration tests in the committers channel. |
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, but before merging, would you be able to add a note about the strict=False
bit in the description? I assume we're mostly ok with not being strict about those zips, but In general it's probably usually better to be more strict than not..
I think something changed in 3.11 or 3.12 about this particular method, and |
95063d4
to
ced81d5
Compare
Bumping python to 3.11 as the default version, supporting 3.10, and deprecating 3.9 support
Currently in this PR I'm setting
next
to3.11
andcurrent
to3.11.11
. This means when 3.11.12 shows up CI will run on two different versions within 3.11. Eventually we can makenext
point to 3.12 as lib support grows.about 3.12
Seems 3.12 is not easy at the moment, hit some issues that pointed to upgrading dependencies, but hit some conflicting diamond dependencies as I was doing so. #31313 would help sort this out at a faster pace, without the bugs and slowness of
pip-compile-multi
Closes #31516