From fcd097901d6a7e0012927ec0a9e5b79763119afe Mon Sep 17 00:00:00 2001 From: "Hammond, Rob" <13874373+RHammond2@users.noreply.github.com> Date: Mon, 1 Dec 2025 11:12:27 -0800 Subject: [PATCH 1/5] update for args list[str] enforcement in v9 --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6a1d3c1f..0a6a84e7 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -34,9 +34,9 @@ def pytest_configure(config): # noqa: D103 regression = config.getoption("--regression") # Provide the appropriate directories - unit_tests = [el for el in (ROOT / "unit").iterdir() if el.suffix == ".py"] + unit_tests = [str(el) for el in (ROOT / "unit").iterdir() if el.suffix == ".py"] regression_tests = [ - el for el in (ROOT / "regression").iterdir() if el.suffix == ".py" + str(el) for el in (ROOT / "regression").iterdir() if el.suffix == ".py" ] # If both, run them all; if neither skip any modifications; otherwise run just the From 8ace9b56e37b5c0fee4431bc0eb574490e102c48 Mon Sep 17 00:00:00 2001 From: "Hammond, Rob" <13874373+RHammond2@users.noreply.github.com> Date: Mon, 1 Dec 2025 11:16:44 -0800 Subject: [PATCH 2/5] pin jupyter-book prior to migration --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8d5e778a..0ac8d52b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,7 @@ dev = [ "pyupgrade", ] docs = [ - "jupyter-book>=0.15", + "jupyter-book>=1,<2", "myst-nb>=0.16", "myst-parser>=0.17", "linkify-it-py>=2", From d05457b4aca9406d3323cef25c7d4d66735af1ad Mon Sep 17 00:00:00 2001 From: "Hammond, Rob" <13874373+RHammond2@users.noreply.github.com> Date: Mon, 1 Dec 2025 11:22:08 -0800 Subject: [PATCH 3/5] update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9f67c32..a261e52b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## v0.12.3 - 1 December 2025 + +- Converts `PosixPath` objects to `str` before passing to pytest's `args` during custom unit and + regression test collection. +- Pins the maximum version of Jupyter-Book to be "<2" until the documentation has been migrated. + ## v0.12.2 - 16 October 2025 - Reinstate the ability to have extra columns in the weather profile to avoid upstream conflicts, From b05d7475ccc22ea22844d247cd03512c6964b593 Mon Sep 17 00:00:00 2001 From: "Hammond, Rob" <13874373+RHammond2@users.noreply.github.com> Date: Mon, 1 Dec 2025 11:27:17 -0800 Subject: [PATCH 4/5] sort tests --- tests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 0a6a84e7..f994504d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -38,6 +38,8 @@ def pytest_configure(config): # noqa: D103 regression_tests = [ str(el) for el in (ROOT / "regression").iterdir() if el.suffix == ".py" ] + unit_tests.sort() + regression_tests.sort() # If both, run them all; if neither skip any modifications; otherwise run just the # appropriate subset From 3c46d8d0df06d39a22c75d0c4edf0eab39294423 Mon Sep 17 00:00:00 2001 From: "Hammond, Rob" <13874373+RHammond2@users.noreply.github.com> Date: Mon, 1 Dec 2025 12:26:46 -0800 Subject: [PATCH 5/5] bump version --- wombat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wombat/__init__.py b/wombat/__init__.py index 5e8b8fbf..e6f0d073 100644 --- a/wombat/__init__.py +++ b/wombat/__init__.py @@ -4,4 +4,4 @@ from wombat.core.library import create_library_structure, load_yaml -__version__ = "0.12.2" +__version__ = "0.12.3"