Actions
Bug #56466
closedpacific: boost 1.73.0 is incompatible with python 3.10
% Done:
0%
Description
Ceph pacific includes boost 1.73.0, which uses the _Py_fopen()
function, which is no longer available in python 3.10. This means it's not possible to build ceph pacific RPMs against python 3.10. Builds will fail with:
[ 182s] libs/python/src/exec.cpp: In function 'boost::python::api::object boost::python::exec_file(const char*, api::object, api::object)': [ 182s] libs/python/src/exec.cpp:109:14: error: '_Py_fopen' was not declared in this scope; did you mean '_Py_wfopen'? [ 182s] 109 | FILE *fs = _Py_fopen(f, "r"); [ 182s] | ^~~~~~~~~ [ 182s] | _Py_wfopen
This is not a problem with quincy or newer, as those use boost 1.75.0, which includes a patch to switches to using fopen() for python versions >= 3.1.
Updated by Tim Serong almost 2 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 46963
Updated by Tim Serong almost 2 years ago
- Status changed from Fix Under Review to Resolved
- Pull request ID changed from 46963 to 47027
Fix merged, closing.
Updated by Ilya Dryomov almost 2 years ago
- Target version changed from v16.2.10 to v16.2.11
Actions