Skip to content
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

replace distutils for python 3.12 #1404

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

branchvincent
Copy link

Python 3.12 has removed distutils: https://docs.python.org/3.12/whatsnew/3.12.html#removed

@oeuftete
Copy link

oeuftete commented Nov 2, 2023

FWIW, this fixes #1246, and is the same fix as #1247. Be nice to see one of them accepted soon!

@antgel
Copy link

antgel commented Jun 24, 2024

FWIW, this fixes #1246, and is the same fix as #1247. Be nice to see one of them accepted soon!

It would be nice to see anything accepted soon!

@mmierzwa
Copy link

mmierzwa commented Jul 5, 2024

Any chance to merge this?

@KapJI
Copy link

KapJI commented Sep 29, 2024

@scorphus can you please take a look at this?

This is probably the biggest issue thefuck has today making it difficult to install it on modern systems (also given that distutils can be also missing even on python3.11: https://bugs.launchpad.net/ubuntu/+source/thefuck/+bug/1875178). Python 3.12 is default on many systems today: Ubuntu 24.04, Debian Sid, homebrew.

And it can be solved with just 2 lines of code.

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.

6 participants