diff --git a/noxfile.py b/noxfile.py index b52a45e..50e6a17 100644 --- a/noxfile.py +++ b/noxfile.py @@ -82,10 +82,10 @@ def prepare_docs(session: nox.Session) -> None: ) -@nox.session(name="build-docs") +@nox.session(name="build-docs", venv_backend="conda") def build_docs(session: nox.Session) -> None: """Build the docs.""" - session.install("-r", "docs/requirements.txt") + session.conda_install("--file", "docs/requirements.txt") session.install("-e", ".") prepare_docs(session)