- marked as trivial
ccs-python test broken by removal of distutils module in Python 3.12
Issue #624
new
Recent automated regressions testing has begun to fail to compile the ccs-python
test on some of our macOS systems where Homebrew has updated Python 3.12.
The failure output includes
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'distutils'
A quick Google search reveals that distutils
was deprecated in Python 3.10 and 3.11, and removed in 3.12. See PEP 632
Comments (1)
-
reporter - Log in to comment
The impacted macOS systems are now using Python 3.11 to avoid this issue, though use of Apple's
/usr/bin/python3
would also have been sufficient. Since this issue only impacts a maintainer-mode test, this work-around is not needed in general.