dlib
dlib copied to clipboard
Failure to build with py11
Expected Behavior
dlib should be able to build with python 3.11
Current Behavior
dib failed to build with newest version of python 3.11. build.log
Steps to Reproduce
Attempt to build dlib with python 3.11. Provided log above to see the failure.
- Version: 19.24
- Where did you get dlib: dlib.net via https://src.fedoraproject.org/rpms/dlib/
- Platform: Fedora Linux 36
- Compiler: gcc 12.2.1
Python 3.11 is not out yet. The latest release of python is 3.10.
I am aware that python 3.11 will get released on October 22. Fedora Project just used the unreleased python 3.11 on their build system exposing the failure. Additionally, Python 3.11 is in candidate release giving the opportunity address future changes.
In a meanwhile, is there a way to use external pybind11 as it seems the internal version in dlib failed to handle python 3.11?
You can just replace the code in dlib/external/pybind11. But yes, if there end up being API breaks in python 3.11 when it's fully released we will update pybind11. I'm fine with updating pybind11 now if you want to send a PR for it.
@luyatshimbalanga, could you try to build again from master (after #2660 or commit https://github.com/davisking/dlib/commit/65bce59a1512cf222dec01d3e0f29b612dd181f5)?
@arrufat The commit successfully built as highlighted by the build.log. Updating pybind11 solved the issue.
Warning: this issue has been inactive for 35 days and will be automatically closed on 2022-10-30 if there is no further activity.
If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.
Warning: this issue has been inactive for 35 days and will be automatically closed on 2022-12-04 if there is no further activity.
If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.
Warning: this issue has been inactive for 42 days and will be automatically closed on 2022-12-04 if there is no further activity.
If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.
Notice: this issue has been closed because it has been inactive for 45 days. You may reopen this issue if it has been closed in error.
I am getting errors with installing dlib v 19.24.1 with python3.10