-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Unfortunately, the newly released Python 3.12 removed distutils
after it being deprecated since since Python 3.10.
- See PEP 632 Deprecate
distutils
module and gh-92584 for more details about its removal.
With Python 3.12, the use of distutils
in merger.py creates an error:
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/mkdocs_monorepo_plugin/merger.py", line 16, in <module>
from distutils.dir_util import copy_tree
ModuleNotFoundError: No module named 'distutils'
We found that including the setuptools
module, which now includes distutils
to be a simple workaround for the issue.
bboyho
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working