|
17 | 17 | # Generated by synthtool. DO NOT EDIT!
|
18 | 18 |
|
19 | 19 | from __future__ import absolute_import
|
| 20 | + |
20 | 21 | import os
|
21 | 22 | import pathlib
|
22 | 23 | import re
|
23 | 24 | import re
|
24 | 25 | import shutil
|
| 26 | +from typing import Dict, List |
25 | 27 | import warnings
|
26 | 28 |
|
27 | 29 | import nox
|
28 | 30 |
|
29 | 31 | FLAKE8_VERSION = "flake8==6.1.0"
|
30 |
| -BLACK_VERSION = "black==22.3.0" |
31 |
| -ISORT_VERSION = "isort==5.10.1" |
| 32 | +BLACK_VERSION = "black[jupyter]==23.7.0" |
| 33 | +ISORT_VERSION = "isort==5.11.0" |
32 | 34 | LINT_PATHS = ["docs", "db_dtypes", "tests", "noxfile.py", "setup.py"]
|
33 | 35 |
|
34 | 36 | DEFAULT_PYTHON_VERSION = "3.8"
|
35 | 37 |
|
36 |
| -UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 38 | +UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"] |
37 | 39 | UNIT_TEST_STANDARD_DEPENDENCIES = [
|
38 | 40 | "mock",
|
39 | 41 | "asyncmock",
|
40 | 42 | "pytest",
|
41 | 43 | "pytest-cov",
|
42 | 44 | "pytest-asyncio",
|
43 | 45 | ]
|
44 |
| -UNIT_TEST_EXTERNAL_DEPENDENCIES = [] |
45 |
| -UNIT_TEST_LOCAL_DEPENDENCIES = [] |
46 |
| -UNIT_TEST_DEPENDENCIES = [] |
47 |
| -UNIT_TEST_EXTRAS = [] |
48 |
| -UNIT_TEST_EXTRAS_BY_PYTHON = {} |
49 |
| - |
50 |
| -SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"] |
51 |
| -SYSTEM_TEST_STANDARD_DEPENDENCIES = [ |
| 46 | +UNIT_TEST_EXTERNAL_DEPENDENCIES: List[str] = [] |
| 47 | +UNIT_TEST_LOCAL_DEPENDENCIES: List[str] = [] |
| 48 | +UNIT_TEST_DEPENDENCIES: List[str] = [] |
| 49 | +UNIT_TEST_EXTRAS: List[str] = [] |
| 50 | +UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} |
| 51 | + |
| 52 | +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"] |
| 53 | +SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ |
52 | 54 | "mock",
|
53 | 55 | "pytest",
|
54 | 56 | "google-cloud-testutils",
|
55 | 57 | ]
|
56 |
| -SYSTEM_TEST_EXTERNAL_DEPENDENCIES = [] |
57 |
| -SYSTEM_TEST_LOCAL_DEPENDENCIES = [] |
58 |
| -SYSTEM_TEST_DEPENDENCIES = [] |
59 |
| -SYSTEM_TEST_EXTRAS = [] |
60 |
| -SYSTEM_TEST_EXTRAS_BY_PYTHON = {} |
| 58 | +SYSTEM_TEST_EXTERNAL_DEPENDENCIES: List[str] = [] |
| 59 | +SYSTEM_TEST_LOCAL_DEPENDENCIES: List[str] = [] |
| 60 | +SYSTEM_TEST_DEPENDENCIES: List[str] = [] |
| 61 | +SYSTEM_TEST_EXTRAS: List[str] = [] |
| 62 | +SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} |
61 | 63 |
|
62 | 64 | CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
|
63 | 65 |
|
|
72 | 74 | "lint_setup_py",
|
73 | 75 | "blacken",
|
74 | 76 | "docs",
|
| 77 | + "format", |
75 | 78 | ]
|
76 | 79 |
|
77 | 80 | # Error if a python version is missing
|
@@ -284,7 +287,6 @@ def unit_prerelease(session):
|
284 | 287 |
|
285 | 288 |
|
286 | 289 | def install_systemtest_dependencies(session, *constraints):
|
287 |
| - |
288 | 290 | # Use pre-release gRPC for system tests.
|
289 | 291 | # Exclude version 1.52.0rc1 which has a known issue.
|
290 | 292 | # See https://github.com/grpc/grpc/issues/32163
|
|
0 commit comments