From e457a141ab7a74fe9f6fdab00dddc8cfea247754 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 12 Nov 2025 16:33:47 -0500 Subject: [PATCH 1/2] adapt pytest config to work with pytest 9.0 --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 00ff4460aa..406551680d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,7 +99,9 @@ pvlib = ["data/*"] [tool.pytest] junit_family = "xunit2" -testpaths = "tests" +testpaths = [ + "tests" +] # warning messages to suppress from pytest output. useful in cases # where a dependency hasn't addressed a deprecation yet, and there's # nothing we can do to fix it ourselves. From d43d699db0a9c5b13f86c97285e58d3727633a98 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 12 Nov 2025 16:34:59 -0500 Subject: [PATCH 2/2] whatsnew --- docs/sphinx/source/whatsnew/v0.13.2.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sphinx/source/whatsnew/v0.13.2.rst b/docs/sphinx/source/whatsnew/v0.13.2.rst index 3f9827ad2d..754350d741 100644 --- a/docs/sphinx/source/whatsnew/v0.13.2.rst +++ b/docs/sphinx/source/whatsnew/v0.13.2.rst @@ -53,6 +53,8 @@ Documentation Testing ~~~~~~~ +* Update pytest configuration in ``pyproject.toml`` to work with pytest 9.0. + (:pull:`2596`) Benchmarking