File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ jobs:
428428 if command -v apt-get &> /dev/null; then
429429 echo "installing python & pip with apt-get..."
430430 apt-get update
431- apt-get install -y --no-install-recommends python3 python3-pip
431+ apt-get install -y --no-install-recommends python3 python3-pip python3-venv
432432 else
433433 echo "installing python & pip with apk..."
434434 apk update
@@ -439,7 +439,9 @@ jobs:
439439 # this is required so that pytest uses the installed pydantic-core package
440440 rm -r pydantic_core
441441 # typing-extensions isn't automatically installed because of `--no-index --no-deps`
442- python3 -m pip install typing-extensions
442+ python3 -m venv venv
443+ source venv/bin/activate
444+ python3 -m pip install -U pip typing-extensions
443445 python3 -m pip install -r tests/requirements.txt
444446 python3 -m pip install pydantic-core --no-index --no-deps --find-links dist --force-reinstall
445447 python3 -m pytest --ignore=tests/test_docstrings.py
You can’t perform that action at this time.
0 commit comments