Skip to content

Commit 885719d

Browse files
committed
tests: upgrade pip in venv
1 parent 4f9c987 commit 885719d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ def isolated_python_env(tmp_path):
5252
python_exe = venv_path / "bin" / "python"
5353
pip_exe = venv_path / "bin" / "pip"
5454

55+
# Upgrade pip in the virtual environment
56+
subprocess.run([str(python_exe), "-m", "pip", "install", "--upgrade", "pip"], check=True)
57+
5558
yield {
5659
"venv_path": venv_path,
5760
"python": str(python_exe),

0 commit comments

Comments
 (0)