Skip to content

PySpark lacks Python 3.12 support, blocking sub-interpreter use #306

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

Open
shehabgamin opened this issue Nov 21, 2024 · 0 comments
Open

PySpark lacks Python 3.12 support, blocking sub-interpreter use #306

shehabgamin opened this issue Nov 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@shehabgamin
Copy link
Contributor

shehabgamin commented Nov 21, 2024

PySpark's lack of Python 3.12 support prevents us from utilizing the new sub-interpreter functionality, which would significantly improve Python UDF performance in distributed deployments.

Implementing a workaround to enable Python 3.12 with PySpark should be straightforward, but we likely need to wait for PyO3 0.24 to be released since the GILPool has been deprecated.

@shehabgamin shehabgamin added the enhancement New feature or request label Nov 21, 2024
@shehabgamin shehabgamin pinned this issue Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant