From 1c72640644747a20b86285d2811f1a7cd8c4d436 Mon Sep 17 00:00:00 2001 From: joeloskarsson Date: Fri, 6 Dec 2024 14:27:04 +0100 Subject: [PATCH 1/2] Change wandb env var to properly disable at start of testing --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6f579621..5d799c73 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -17,7 +17,7 @@ # Disable weights and biases to avoid unnecessary logging # and to avoid having to deal with authentication -os.environ["WANDB_DISABLED"] = "true" +os.environ["WANDB_MODE"] = "disabled" DATASTORE_EXAMPLES_ROOT_PATH = Path("tests/datastore_examples") From e736b3e11c622f239f3a126af61344a9a6b0b406 Mon Sep 17 00:00:00 2001 From: joeloskarsson Date: Fri, 6 Dec 2024 15:04:45 +0100 Subject: [PATCH 2/2] Add changelog entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01d4cac9..32961b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fix wandb environment variable disabling wandb during tests. Now correctly uses WANDB_MODE=disabled. [\#94](https://github.com/mllam/neural-lam/pull/94) @joeloskarsson + - Fix bugs introduced with datastores functionality relating visualation plots [\#91](https://github.com/mllam/neural-lam/pull/91) @leifdenby ## [v0.2.0](https://github.com/joeloskarsson/neural-lam/releases/tag/v0.2.0)