From 731e47b9489caf022e6383466c982973193040c1 Mon Sep 17 00:00:00 2001 From: Daniel Sanche Date: Fri, 10 May 2024 12:09:11 -0700 Subject: [PATCH] moved constraint into SYSTEM_TEST_EXTERNAL_DEPENDENCIES --- noxfile.py | 2 +- owlbot.py | 2 +- testing/constraints-3.8.txt | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/noxfile.py b/noxfile.py index daf730a9a..f175c66da 100644 --- a/noxfile.py +++ b/noxfile.py @@ -55,7 +55,7 @@ "google-cloud-testutils", ] SYSTEM_TEST_EXTERNAL_DEPENDENCIES: List[str] = [ - "pytest-asyncio", + "pytest-asyncio==0.21.2", ] SYSTEM_TEST_LOCAL_DEPENDENCIES: List[str] = [] SYSTEM_TEST_DEPENDENCIES: List[str] = [] diff --git a/owlbot.py b/owlbot.py index ebc9c5ab5..cde9fce64 100644 --- a/owlbot.py +++ b/owlbot.py @@ -91,7 +91,7 @@ def get_staging_dirs( microgenerator=True, cov_level=99, system_test_external_dependencies=[ - "pytest-asyncio", + "pytest-asyncio==0.21.2", ], ) diff --git a/testing/constraints-3.8.txt b/testing/constraints-3.8.txt index c285b3365..d96846bb5 100644 --- a/testing/constraints-3.8.txt +++ b/testing/constraints-3.8.txt @@ -11,8 +11,3 @@ grpc-google-iam-v1==0.12.4 proto-plus==1.22.0 libcst==0.2.5 protobuf==3.19.5 - -# pin pytest-asyncio to give control over event loop -# https://pytest-asyncio.readthedocs.io/en/latest/reference/changelog.html#known-issues -pytest-asyncio==0.21.2 -pytest==8.1.2