-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Build
-
ALL
mongodb 7.0.5 does not build with python 3.12.1 on macOS 14.2.1.
% tar xzf mongodb-src-r7.0.5.tar.gz % cd mongodb-src-r7.0.5 % python3.12 -m venv venv % venv/bin/python3.12 -m pip install -r etc/pip/compile-requirements.txt ... % venv/bin/python3.12 buildscripts/scons.py install-mongod Traceback (most recent call last): File "/Users/me/mongodb-src-r7.0.5/buildscripts/scons.py", line 25, in <module> verify_requirements('etc/pip/compile-requirements.txt') File "/Users/me/mongodb-src-r7.0.5/site_scons/mongo/pip_requirements.py", line 37, in verify_requirements import requirements File "/Users/me/mongodb-src-r7.0.5/venv/lib/python3.12/site-packages/requirements/__init__.py", line 1, in <module> from .parser import parse File "/Users/me/mongodb-src-r7.0.5/venv/lib/python3.12/site-packages/requirements/parser.py", line 4, in <module> from .requirement import Requirement File "/Users/me/mongodb-src-r7.0.5/venv/lib/python3.12/site-packages/requirements/requirement.py", line 3, in <module> from pkg_resources import Requirement as Req File "/Users/me/mongodb-src-r7.0.5/venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2163, in <module> register_finder(pkgutil.ImpImporter, find_on_path) ^^^^^^^^^^^^^^^^^^^ AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? %
This problem doesn't happen with python 3.11.7 on the same system.