-
Notifications
You must be signed in to change notification settings - Fork 3k
Upgrade to Python 3.12 #2072
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
Merged
Merged
Upgrade to Python 3.12 #2072
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
8f3dce1
Upgrade to 3.12
max-muoto e4b6dad
Upgrade Pandas
max-muoto 51a4943
Merge branch 'main' into python-3.12
mathbunnyru 4a9db95
Merge branch 'main' into python-3.12
mathbunnyru 18ee4ad
Merge branch 'main' into python-3.12
mathbunnyru 6c4f7cb
Merge branch 'main' into python-3.12
mathbunnyru 2be2759
Merge branch 'main' into python-3.12
mathbunnyru 70769d9
Merge branch 'main' into python-3.12
mathbunnyru 122eccc
Merge branch 'main' into python-3.12
mathbunnyru 70b2ba6
Update Dockerfile
mathbunnyru 72c166e
Merge branch 'main' into python-3.12
mathbunnyru 7eb512a
Update unit_pandas_version.py
mathbunnyru d49922f
Merge branch 'main' into python-3.12
mathbunnyru 5a449cd
Merge branch 'main' into python-3.12
mathbunnyru d86c6d6
Merge branch 'main' into python-3.12
mathbunnyru 392dbe8
Merge branch 'main' into python-3.12
mathbunnyru 779aa11
Merge branch 'main' into python-3.12
mathbunnyru 9abaf2a
Update CHANGELOG.md
mathbunnyru 0f5e3ce
Update CHANGELOG.md
mathbunnyru f3bfbe0
Merge branch 'main' into python-3.12
mathbunnyru 9d6073a
Update CHANGELOG.md
mathbunnyru a18bad4
Merge branch 'main' into python-3.12
mathbunnyru 56ff72e
Update README.md
mathbunnyru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Have you checked the comment above to make sure you’re using the proper version?
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.
They have
pandas<=2.2.1
so we should be good here.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.
https://github.com/apache/spark/blob/master/dev/infra/Dockerfile
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.
You need to check the latest stable tag, not the current main branch.
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.
Ah sorry there. Looks like we'll need for their next release, as this commit isn't included in the latest stable tag: ericm-db/spark@98ca3ea
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 think we'll need to wait on this as well, since we need at least Pandas 2.1.1 to ensure compatibility with 3.12.
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.
@bjornjorgensen could you please tell us when the Spark release will include this commit? (at least approximately)
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.
hmm.. well we are waiting for hadoop 3.4.0 and a new hive release. We haven't started any RC release yet. I build and test my own jupyterlab https://github.com/bjornjorgensen/jupyter-spark-master-docker and I did try python 3.12 but it breake so match so I'm using python 3.11 as debian testing are using.
And Spark 3.5.1 don't support python 3.12 have a look at apache/spark#43922
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.
Could we just revert this particular change rather than waiting for the next release of Spark? This seems like an incredibly self-imposed blocker.
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.
They have pinned version 2.2.2 apache/spark@7c639a1