@@ -392,9 +392,9 @@ def showcase(
392392 """Run the Showcase test suite."""
393393
394394 with showcase_library (session , templates = templates , other_opts = other_opts ):
395- # Exclude pytest-asyncio== 1.0.0 while we investigate the recent failure described in
395+ # Use pytest-asyncio< 1.0.0 while we investigate the recent failure described in
396396 # https://github.com/googleapis/gapic-generator-python/issues/2399
397- session .install ("pytest" , "pytest-asyncio!= 1.0.0" )
397+ session .install ("pytest" , "pytest-asyncio< 1.0.0" )
398398 test_directory = Path ("tests" , "system" )
399399 ignore_file = env .get ("IGNORE_FILE" )
400400 pytest_command = [
@@ -424,9 +424,9 @@ def showcase_w_rest_async(
424424 with showcase_library (
425425 session , templates = templates , other_opts = other_opts , rest_async_io_enabled = True
426426 ):
427- # Exclude pytest-asyncio== 1.0.0 while we investigate the recent failure described in
427+ # Use pytest-asyncio< 1.0.0 while we investigate the recent failure described in
428428 # https://github.com/googleapis/gapic-generator-python/issues/2399
429- session .install ("pytest" , "pytest-asyncio!= 1.0.0" )
429+ session .install ("pytest" , "pytest-asyncio< 1.0.0" )
430430 test_directory = Path ("tests" , "system" )
431431 ignore_file = env .get ("IGNORE_FILE" )
432432 pytest_command = [
@@ -589,7 +589,8 @@ def showcase_mypy(
589589 """Perform typecheck analysis on the generated Showcase library."""
590590
591591 session .install (
592- "mypy" ,
592+ # TODO(https://github.com/googleapis/gapic-generator-python/issues/2410): Use the latest version of mypy
593+ "mypy<1.16.0" ,
593594 "types-setuptools" ,
594595 "types-protobuf" ,
595596 "types-requests" ,
0 commit comments