From c02f58ee58a6848a020e3ca07cec0e2c0d0c195b Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Wed, 27 Mar 2024 13:59:20 -0600 Subject: [PATCH] Use a conda backend; install requirements with conda --- noxfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)