Repository navigation
v1.3.14 - Fix Makefile Python headers detection
🔧 Makefile Build System Fix
This release fixes Python headers detection issues in cibuildwheel environment.
Changes
-
🔧 Fixed Python headers detection
- Added fallback to sysconfig for Python headers and extension suffix when python-config fails
- Removed duplicate Python headers from CXXFLAGS to prevent compilation conflicts
- Fixed empty -I flag issue that was causing compilation errors
-
🐛 Enhanced debugging
- Added verbose output for compilation commands to help diagnose issues
- Added Python headers output to build logs
- Added set -x for command tracing in pybind11 target
Technical Details
- Resolves compilation errors in cibuildwheel Linux environment
- Uses sysconfig as fallback when python-config command is not available or fails
- Ensures proper include paths for both local and CI builds
This release should compile successfully in all supported environments.