Displaying 1 result from an estimated 1 matches for "setuptoolsdeprecationwarning".
2024 Jan 31
4
Bug#1062048: xen: FTBFS with Python 3.12 as default
...low.
I was able to work around this by:
-PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS)
+PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS) -Wno-error=declaration-after-statement
in tools/python/Makefile and tools/pygrub/Makefile.
Regards
Graham
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66:
SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle...