[Bug 288758] sysutils/iocage: Error when using iocage with python 3.12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Aug 2025 18:09:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288758
Bug ID: 288758
Summary: sysutils/iocage: Error when using iocage with python
3.12
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: grembo@FreeBSD.org
Reporter: matthew@wener.org
Assignee: grembo@FreeBSD.org
Flags: maintainer-feedback?(grembo@FreeBSD.org)
Error:
File "/usr/local/lib/python3.12/site-packages/iocage_lib/ioc_plugin.py", line
29, in <module>
import distutils.dir_util
ModuleNotFoundError: No module named 'distutils'
I think this can be solved one of two ways. Adding py-setuptools as a run
depend will fix this, but I think the correct thing to do would be replace
distutils.dir_util with shutil.copytree upstream since its deprecated?
--
You are receiving this mail because:
You are the assignee for the bug.