From 53df226de487d23868d44edfc14afca84b0430db Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 9 Jul 2024 13:19:01 -0400 Subject: [PATCH] use python 3.10 for docs build --- noxfile.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 52590f36..a8c12aa1 100644 --- a/noxfile.py +++ b/noxfile.py @@ -78,6 +78,9 @@ CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() +# Error if a python version is missing +nox.options.error_on_missing_interpreters = True + def _calculate_duration(func): """This decorator prints the execution time for the decorated function.""" @@ -420,7 +423,7 @@ def cover(session): session.run("coverage", "erase") -@nox.session(python="3.9") +@nox.session(python="3.10") @_calculate_duration def docs(session): """Build the docs for this library."""