From 1c5fa3720d3d6da1b5188072c24bac095082903b Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 25 Feb 2024 06:07:56 -0600 Subject: [PATCH] Enforce pytest 7 (#393) Pytest 8 is still unstable --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9a224e6..f717b3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ Tracker = "https://github.com/jupyter/jupyter_core/issues" test = [ "ipykernel", "pre-commit", - "pytest", + "pytest<8", "pytest-cov", "pytest-timeout" ] @@ -110,7 +110,7 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] warn_unreachable = true [tool.pytest.ini_options] -minversion = "6.0" +minversion = "7.0" xfail_strict = true log_cli_level = "info" addopts = [