From a37185d950533623d77c08159ab23bbd99a465c1 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 19 Jun 2024 13:46:47 -0400 Subject: [PATCH] Pin to pytest<8.1. Closes pypa/distutils#259 Ref pytest-dev/pytest#12490 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index cda381ab..30bfd7d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,9 @@ test = [ "docutils", "pyfakefs", "more_itertools", + + # workaround for pytest-dev/pytest#12490 + "pytest < 8.1; python_version < '3.12'", ] doc = [ # upstream