Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
import shutil
import subprocess
import sys
import venv
from bisect import bisect_left as bisect
from contextlib import contextmanager, suppress
from pathlib import Path
Expand Down Expand Up @@ -690,7 +691,7 @@
requirements.append("matplotlib>=3")

venv_path = self.build_root / ("venv-" + self.version.name)
run([sys.executable, "-m", "venv", venv_path])
venv.create(venv_path, symlinks=os.name != "nt", with_pip=True)

Check warning on line 694 in build_docs.py

View check run for this annotation

Codecov / codecov/patch

build_docs.py#L694

Added line #L694 was not covered by tests
run(
[venv_path / "bin" / "python", "-m", "pip", "install", "--upgrade"]
+ ["--upgrade-strategy=eager"]
Expand Down