Skip to content

Commit

Permalink
Use python3.9 in fractal_tasks_mock_venv fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
tcompa committed Jul 15, 2024
1 parent f26412b commit b983cb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/fixtures_tasks_v2.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json
import shlex
import subprocess
import sys
from pathlib import Path

import pytest
Expand Down Expand Up @@ -43,7 +42,7 @@ def fractal_tasks_mock_venv(tmpdir_factory, testdata_path) -> Path:
).as_posix()

if not venv_dir.exists():
run_cmd(f"{sys.executable} -m venv {venv_dir}")
run_cmd(f"python3.9 -m venv {venv_dir}")
run_cmd(f"{venv_python} -m pip install {whl}")

return venv_python
Expand Down

0 comments on commit b983cb1

Please sign in to comment.