10000 Don't load distutils in the Python standard library by rth · Pull Request #234 · pyscript/pyscript · GitHub
[go: up one dir, main page]

Skip to content

Don't load distutils in the Python standard library #234

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 1 commit into from
May 6, 2022

Conversation

rth
Copy link
Contributor
@rth rth commented May 5, 2022

distutils is a deprecated and quite large (around to 1MB) stdlib module that would be removed in Python 3.12 .

image

Most users likely don't need it, and if they do, they can add it explicitly as a dependency in py-env.
This PR disables loading it by default. Though maybe it would be good to wait until examples are tested #152 before merging this, just in case.

@rth rth force-pushed the dont-load-distutils branch from 8c51746 to aa68008 Compare May 5, 2022 17:47
Copy link
Contributor
@philippjfr philippjfr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rth! Really appreciate all the guidance you can give us. Sad to miss the meeting later but it's a bit late on my end.

Copy link
Contributor
@fpliger fpliger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@fpliger fpliger merged commit 8490b88 into pyscript:main May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0