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

Compiling mod_python3 fails with python3.11 due to deprecated distutils module. #2689

Open
a0gr opened this issue Jan 5, 2025 · 0 comments · May be fixed by #2690
Open

Compiling mod_python3 fails with python3.11 due to deprecated distutils module. #2689

a0gr opened this issue Jan 5, 2025 · 0 comments · May be fixed by #2690
Labels
bug Something isn't working

Comments

@a0gr
Copy link

a0gr commented Jan 5, 2025

Describe the bug
Compiling mod_python3 fails with python3.11 due to deprecated distutils module.

To Reproduce
Steps to reproduce the behavior:

  1. Install python3.11
  2. Try to compile the freeswitch project with ./configure --with-python3.

Alternatively, this error appears as missing <Python.h> header file when with_python3 = "try" in the configure.ac file.

Expected behavior
Compilation would be successful.

Package version or git hash

  • 1.10

Compilation Logs

checking python3 version... 3.11.2
checking for python3 distutils... no
configure: error: Could not find or use python3 distutils module: <string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives```
@a0gr a0gr added the bug Something isn't working label Jan 5, 2025
@a0gr a0gr linked a pull request Jan 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant