-
Type:
Build Failure
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: Tests
-
None
-
Python Drivers
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
ModuleNotFoundError: No module named 'pkg_resources'
Link to task:
Context of when and why the failure occurred:
Gevent used to depend on pkg_resources, which they removed in later versions.
https://github.com/gevent/gevent/issues/1964
pkg_resources is not longer shipped with setuptools 82.0.0.
We may have to pin the version of setuptools used when MIN_DEPS and gevent are used.
Stack trace:
[2026/02/09 14:54:16.812] Traceback (most recent call last): [2026/02/09 14:54:16.812] File "/data/mci/01c17ce02c28779ff39b36b58b6f7676/src/.evergreen/scripts/run_tests.py", line 216, in <module> [2026/02/09 14:54:16.812] run() [2026/02/09 14:54:16.812] File "/data/mci/01c17ce02c28779ff39b36b58b6f7676/src/.evergreen/scripts/run_tests.py", line 145, in run [2026/02/09 14:54:16.812] handle_green_framework() [2026/02/09 14:54:16.812] File "/data/mci/01c17ce02c28779ff39b36b58b6f7676/src/.evergreen/scripts/run_tests.py", line 74, in handle_green_framework [2026/02/09 14:54:16.812] monkey.patch_all() [2026/02/09 14:54:16.812] File "/data/mci/01c17ce02c28779ff39b36b58b6f7676/src/.venv/lib/python3.10/site-packages/gevent/monkey.py", line 1253, in patch_all [2026/02/09 14:54:16.812] from gevent import events [2026/02/09 14:54:16.812] File "/data/mci/01c17ce02c28779ff39b36b58b6f7676/src/.venv/lib/python3.10/site-packages/gevent/events.py", line 74, in <module> [2026/02/09 14:54:16.812] from pkg_resources import iter_entry_points [2026/02/09 14:54:16.812] ModuleNotFoundError: No module named 'pkg_resources' [2026/02/09 14:54:16.852] error: Recipe `run-tests` failed on line 68 with exit code 1