File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ trap "cleanup_tests" SIGINT ERR
3838
3939# Start the test runner.
4040echo " Running tests with UV_PYTHON=${UV_PYTHON:- } ..."
41+ echo " UV_ARGS=${UV_ARGS} "
4142uv run ${UV_ARGS} --reinstall-package pymongo .evergreen/scripts/run_tests.py " $@ "
4243echo " Running tests with UV_PYTHON=${UV_PYTHON:- } ... done."
4344
Original file line number Diff line number Diff line change @@ -466,6 +466,9 @@ def handle_test_env() -> None:
466466 if opts .green_framework :
467467 framework = opts .green_framework or os .environ ["GREEN_FRAMEWORK" ]
468468 UV_ARGS .append (f"--group { framework } " )
469+ if framework == "gevent" and opts .test_min_deps :
470+ # PYTHON-5729. This can be removed when the min supported gevent is moved to 25.9.1.
471+ UV_ARGS .append ('--with "setuptools==81.0"' )
469472
470473 else :
471474 TEST_ARGS = f"-v --durations=5 { TEST_ARGS } "
You can’t perform that action at this time.
0 commit comments