Menu

#23 Unable to build on python 3.12

closed
nobody
None
trivial
enhancement
2023-10-03
2023-10-03
No

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.

Discussion

  • Anthon van der Neut

    • status: open --> closed
    • priority: major --> trivial
    • kind: bug --> enhancement
     
  • Anthon van der Neut

    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

     

Log in to post a comment.