From faa47cedc8ad10b0ed6c8e955000765ad5c08df7 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 5 Oct 2021 19:47:17 -0700 Subject: [PATCH] =?utf8?q?fix:=20upgrade=20Pytest=206.2.2=20=E2=86=92=206.?= =?utf8?q?2.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Python 3.10 was released on 2021-10-04 with what appears to be a breaking change.¹ Graphviz’ Windows CI tasks (intentionally) install an unpinned version of Python 3, so they get whatever the latest Python 3 version available on Chocolatey is. Python 3.10 became available in Chocolatey on 2021-10-05 and Windows CI tasks immediately started failing. The root cause is that 3.10 exposes a latent bug in Pytest.² This bug is reportedly fixed in Pytest 6.2.4, so upgrading should repair Windows CI. ¹ https://bugs.python.org/issue43798 ² https://github.com/pytest-dev/pytest/issues/8539 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 91b9862c0..f7ad69ce2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ pylint==2.7.1 -pytest==6.2.2 +pytest==6.2.4 -- 2.40.0