Skip to content

Commit a0aeba3

Browse files
committed
debug
1 parent 52bbb73 commit a0aeba3

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.evergreen/run-tests.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ if [ -f "./secrets-export.sh" ]; then
3131
fi
3232

3333
# List the packages.
34-
uv run ${UV_ARGS} pip list
35-
exit 1
34+
uv sync ${UV_ARGS}
35+
uv pip list
36+
37+
# Ensure we go back to base environment after the test.
38+
trap "uv sync" EXIT HUP
3639

3740
# Start the test runner.
3841
uv run .evergreen/scripts/run_tests.py "$@"

.evergreen/scripts/setup_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def handle_test_env() -> None:
128128
TEST_ARGS = ""
129129

130130
# Start compiling the args we'll pass to uv.
131-
UV_ARGS = ["--extra test --group pip"]
131+
UV_ARGS = ["--extra test --no-group dev"]
132132

133133
test_title = test_name
134134
if sub_test_name:

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ Tracker = "https://jira.mongodb.org/projects/PYTHON/issues"
4949
dev = [
5050
"pre-commit>=4.0"
5151
]
52-
pip = ["pip"]
5352
gevent = ["gevent"]
5453
eventlet = ["eventlet"]
5554
coverage = [
@@ -66,8 +65,7 @@ perf = ["simplejson"]
6665
typing = [
6766
"mypy==1.14.1",
6867
"pyright==1.1.392.post0",
69-
"typing_extensions",
70-
"pip"
68+
"typing_extensions"
7169
]
7270

7371
# Used to call hatch_build.py

requirements/test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pytest>=8.2
22
pytest-asyncio>=0.24.0
3+
pip

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)