From 754543b6506c3d7ebb9bf4f91e2d540d26d3a8a2 Mon Sep 17 00:00:00 2001 From: Santhosh Sundaram Date: Sun, 8 Sep 2024 19:43:01 +0530 Subject: [PATCH] added uv backend to noxfile --- .github/workflows/build_wheels.yml | 0 noxfile.py | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 .github/workflows/build_wheels.yml diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml deleted file mode 100644 index e69de29..0000000 diff --git a/noxfile.py b/noxfile.py index 729f755..56d62a2 100644 --- a/noxfile.py +++ b/noxfile.py @@ -7,10 +7,10 @@ # Options to modify nox behaviour -nox.options.default_venv_backend = "virtualenv" +nox.options.default_venv_backend = "uv|virtualenv" nox.options.reuse_existing_virtualenvs = True if sys.platform != "win32": - nox.options.sessions = ["pre-commit", "pybamm-requires", "unit"] + nox.options.sessions = ["pre-commit", "idaklu-requires", "unit"] else: nox.options.sessions = ["pre-commit", "unit"] @@ -83,7 +83,7 @@ def set_environment_variables(env_dict, session): session.env[key] = value -@nox.session(name="pybamm-requires") +@nox.session(name="idaklu-requires") def run_pybamm_requires(session): """Download, compile, and install the build-time requirements for Linux and macOS. Supports --install-dir for custom installation paths and --force to force installation.""" set_environment_variables(PYBAMM_ENV, session=session) @@ -128,7 +128,7 @@ def run_pybamm_requires(session): external=True, ) else: - session.error("nox -s pybamm-requires is only available on Linux & macOS.") + session.error("nox -s idaklu-requires is only available on Linux & macOS.") @nox.session(name="unit") def run_unit(session):