|
78 | 78 | ] |
79 | 79 | UNIT_TEST_LOCAL_DEPENDENCIES: List[str] = [] |
80 | 80 | UNIT_TEST_DEPENDENCIES: List[str] = [] |
81 | | -UNIT_TEST_EXTRAS: List[str] = ["tests", "anywidget"] |
| 81 | +UNIT_TEST_EXTRAS: List[str] = ["tests"] |
82 | 82 | UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { |
83 | | - "3.12": ["tests", "polars", "scikit-learn", "anywidget"], |
| 83 | + "3.10": ["tests", "polars", "scikit-learn", "anywidget"], |
| 84 | + "3.11": ["tests", "polars", "scikit-learn", "anywidget"], |
| 85 | + # Make sure we leave some versions without "extras" so we know those |
| 86 | + # dependencies are actually optional. |
| 87 | + "3.13": ["tests", "polars", "scikit-learn", "anywidget"], |
84 | 88 | } |
85 | 89 |
|
| 90 | +# 3.11 is used by colab. |
86 | 91 | # 3.10 is needed for Windows tests as it is the only version installed in the |
87 | 92 | # bigframes-windows container image. For more information, search |
88 | 93 | # bigframes/windows-docker, internally. |
89 | | -SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.12", "3.13"] |
| 94 | +SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.13"] |
90 | 95 | SYSTEM_TEST_STANDARD_DEPENDENCIES = [ |
91 | 96 | "jinja2", |
92 | 97 | "mock", |
|
105 | 110 | ] |
106 | 111 | SYSTEM_TEST_LOCAL_DEPENDENCIES: List[str] = [] |
107 | 112 | SYSTEM_TEST_DEPENDENCIES: List[str] = [] |
108 | | -SYSTEM_TEST_EXTRAS: List[str] = [] |
| 113 | +SYSTEM_TEST_EXTRAS: List[str] = ["tests"] |
109 | 114 | SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { |
110 | | - "3.9": ["tests", "anywidget"], |
111 | | - "3.10": ["tests", "polars"], |
112 | | - "3.12": ["tests", "scikit-learn", "polars", "anywidget"], |
113 | | - "3.13": ["tests", "polars"], |
| 115 | + # Make sure we leave some versions without "extras" so we know those |
| 116 | + # dependencies are actually optional. |
| 117 | + "3.10": ["scikit-learn", "polars", "anywidget"], |
| 118 | + "3.11": ["scikit-learn", "polars", "anywidget"], |
| 119 | + "3.13": ["polars", "anywidget"], |
114 | 120 | } |
115 | 121 |
|
116 | 122 | LOGGING_NAME_ENV_VAR = "BIGFRAMES_PERFORMANCE_LOG_NAME" |
|
120 | 126 | # Sessions are executed in the order so putting the smaller sessions |
121 | 127 | # ahead to fail fast at presubmit running. |
122 | 128 | nox.options.sessions = [ |
123 | | - "system-3.9", |
124 | | - "system-3.12", |
| 129 | + "system-3.9", # No extras. |
| 130 | + "system-3.11", |
125 | 131 | "cover", |
126 | 132 | # TODO(b/401609005): remove |
127 | 133 | "cleanup", |
|
0 commit comments