-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Build
-
Fully Compatible
-
ALL
-
v8.0
Start a new virtual workstation and try to install the poetry dependencies or run the Evergreen host configure command:
./evergreen host configure --project mongodb-mongo-master ... Installing zope-interface (5.0.0) ChefBuildError Backend subprocess exited when trying to invoke get_requires_for_build_wheel Traceback (most recent call last): File "/home/ubuntu/mongo/python3-venv/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() File "/home/ubuntu/mongo/python3-venv/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/ubuntu/mongo/python3-venv/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 112, in get_requires_for_build_wheel backend = _build_backend() File "/home/ubuntu/mongo/python3-venv/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 74, in _build_backend ep = os.environ['PEP517_BUILD_BACKEND'] File "/opt/mongodbtoolchain/revisions/69f4f0673ffcb290ce2307560a4883ecf2ad138c/stow/python3-v4.CBC/lib/python3.10/os.py", line 679, in __getitem__ raise KeyError(key) from None KeyError: 'PEP517_BUILD_BACKEND' at python3-venv/lib/python3.10/site-packages/poetry/installation/chef.py:147 in _prepare 143│ 144│ error = ChefBuildError("\n\n".join(message_parts)) 145│ 146│ if error is not None: → 147│ raise error from None 148│ 149│ return path 150│ 151│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path: Note: This error originates from the build backend, and is likely not a problem with poetry but with zope-interface (5.0.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "zope-interface (==5.0.0)"'
- is depended on by
-
SERVER-91670 Platform Support: bump Amazon2023 to 2023.3 (x86 and arm64)
- Closed
-
WT-12911 Poetry fails at installing packages in many-collection-test
- Closed
- is related to
-
SERVER-84684 some pip modules do not define correct requirements
- Closed