Skip to content

Commit 9b686fa

Browse files
committed
Add missing pyproject_hooks to DEBUNDLED preload list
Otherwise, tests fail to load: ``` ImportError while loading conftest '/tmp/portage/dev-python/pip-24.1-r1/work/pip-24.1/tests/conftest.py'. tests/conftest.py:49: in <module> from pip._internal.utils.temp_dir import global_tempdir_manager ../pip-24.1-python3_13/install/usr/lib/python3.13/site-packages/pip/_internal/utils/temp_dir.py:20: in <module> from pip._internal.utils.misc import enum, rmtree ../pip-24.1-python3_13/install/usr/lib/python3.13/site-packages/pip/_internal/utils/misc.py:38: in <module> from pip._vendor.pyproject_hooks import BuildBackendHookCaller E ModuleNotFoundError: No module named 'pip._vendor.pyproject_hooks' ```
1 parent 2753c77 commit 9b686fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pip/_vendor/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def vendored(modulename):
6969
vendored("pkg_resources")
7070
vendored("platformdirs")
7171
vendored("progress")
72+
vendored("pyproject_hooks")
7273
vendored("requests")
7374
vendored("requests.exceptions")
7475
vendored("requests.packages")

0 commit comments

Comments
 (0)