Python 3.10.4 (or before) has deprecated PyEval_CallMethod in favour of PyObject_CallMethod, which Boost 1.80.0 release does not seem to have picked up on.

sed -i '' 's/PyEval_CallMethod/PyObject_CallMethod/' boost_1_80_0/boost/python/call_method.hpp

James Cowlishaw @Cowlibob
Mastodon