-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
I followed the instructions for compiling the server here: https://github.com/mongodb/mongo/blob/master/docs/building.md
And ran
python3 -m pip install -r etc/pip/compile-requirements.txt
Followed by
python3 buildscripts/scons.py install-mongod
And I get the following error:
scons: Reading SConscript files ... scons: running with /usr/bin/python buildscripts/scons.py install-mongod Failed import while loading options for tool: build_metrics No module named 'jsonschema'
From a quick glance it seems like SERVER-67044 may have added a dependency that's only defined in toolchain-requirements.txt (via build_metrics.req) and not installed as part of compile-requirements.txt. I am also a bit curious how this hasn't broken any tests yet, perhaps we aren't testing just compile-requirements in isolation?
- related to
-
SERVER-70767 improve warning message from tool options failing to load
- Closed