From 6079bc03157aa5f01927ea81a9a78ffff66a2efe Mon Sep 17 00:00:00 2001 From: willhuang1997 Date: Mon, 29 Apr 2024 08:31:40 -0400 Subject: [PATCH] Fix broken python github actions (#8580) ## Describe your changes - Looks like pytest 8.2 breaks with tornado - As a result, we should likely pin 8.1 pytest - https://github.com/pytest-dev/pytest/issues/12263 ## GitHub Issue Link (if applicable) ## Testing Plan - Explanation of why no additional tests are needed - Unit Tests (JS and/or Python) - E2E Tests - Any manual testing needed? --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license. --- lib/test-requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/test-requirements.txt b/lib/test-requirements.txt index 6b6377c6b1c1..e0d7fc9e1dfb 100644 --- a/lib/test-requirements.txt +++ b/lib/test-requirements.txt @@ -16,7 +16,9 @@ urllib3>=1.9 # Testing infrastructure dependencies: hypothesis>=6.17.4 parameterized -pytest +# Pinned for now because AsyncTest doesn't work with pytest 8.2.0 +# https://github.com/pytest-dev/pytest/issues/12263 +pytest<8.2.0 pytest-cov requests-mock testfixtures