Unable to build on python 3.12
C version of reader, parser and emitter for ruamel.yaml
Brought to you by:
anthon
ruamel.yaml.clib is not compatbile with python 3.12.
Building fails with:
_ruamel_yaml.c:29276:47: error: no member named 'ob_digit' in 'struct _longobject'
const digit* digits = ((PyLongObject*)b)->ob_digit;
~~~~~~~~~~~~~~~~~~ ^
135 warnings and 10 errors generated.
Python 3.12 had breaking changes wrt the output of Cython, not sure if that is a bug in Python or in Cython.
Work around this bug in version 0.2.8