distutils
is deprecated and removed in Python 3.12
#1659
Labels
needs repro
Issue has not been reproduced yet
distutils
is deprecated and removed in Python 3.12
#1659
setup.py
currently falls back todistutils
if versioneer does not provide the required"build"
command:debugpy/setup.py
Lines 62 to 65 in fb6158a
But
distutils
no longer exists in Python 3.12, so this code needs to be updated: either versioneer always provides this, in which case thetry
/except
is unnecessary, or it doesn't, in which case thedistutils
call needs to be replaced.There are also calls to
distutils
in several places in the vendored pydevd, some of which may be important to fix; anrgrep
gives these occurrences:The text was updated successfully, but these errors were encountered: