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

Fixes for python detection: #43

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

Conversation

cnweaver
Copy link
Collaborator

@cnweaver cnweaver commented Feb 7, 2024

Avoid depending on distutils, which is removed in python 3.12. Fixes #42 .

Tested with:

  • Apple system python 2.7
  • Apple dev tools python 3.7
  • Apple dev tools python 3.8
  • Python 3.12 built from source on Mac OS
  • venv based on Apple dev tools python 3.7
  • venv based on Apple dev tools python 3.8
  • venv based on python 3.12 built from source on Mac OS
  • Python 3.9 from DNF on Alma Linux 8.5
  • venv based on python 3.9 from DNF on Alma Linux 8.5

Other tests which should be done:

  • Homebrew python
  • System python on a recent Ubuntu

Avoid depending on distutils, which is removed in python 3.12.
Protect against the path to the python executable containing spaces.
@cnweaver cnweaver added the bug label Feb 7, 2024
@cnweaver cnweaver self-assigned this Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Distutils removed in Python3.12
1 participant