From a1b718382d16e79ebfcb10f4b70efa3cc570295b Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 25 Feb 2024 06:00:01 -0600 Subject: [PATCH] Enforce pytest 7 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 = [