You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
yiding
changed the title
sapling/cext/mpatch.c compilation errors w/ python 3.13 due to removal of PyObject_AsCharBuffer
sapling cli build issues with python 3.13
Nov 8, 2024
PyObject_AsCharBuffer has been deprecated in python 3 and removed as of python 3.13 in favor of PyObject_GetBuffer + PyBuffer_Release.
Currently mpatch.c is the only file that uses this old API.
sapling/eden/scm/sapling/cext/mpatch.c
Line 66 in 31c0099
pipes
,uu
modules has been removed in 3.13, which is referenced inhttps://github.com/facebook/sapling/blob/main/eden/scm/lib/python-modules/codegen/src/pycompile.py#L232
The text was updated successfully, but these errors were encountered: