|
46 | 46 | "3.11", |
47 | 47 | ] |
48 | 48 |
|
49 | | -# pytest-retry is not yet compatible with pytest 8.x. |
50 | | -# https://github.com/str0zzapreti/pytest-retry/issues/32 |
51 | | -PYTEST_VERSION = "pytest<8.0.0dev" |
| 49 | +PYTEST_VERSION = "pytest==8.4.2" |
52 | 50 | SPHINX_VERSION = "sphinx==4.5.0" |
53 | 51 | LINT_PATHS = [ |
54 | 52 | "docs", |
|
91 | 89 | # 3.10 is needed for Windows tests as it is the only version installed in the |
92 | 90 | # bigframes-windows container image. For more information, search |
93 | 91 | # bigframes/windows-docker, internally. |
94 | | -SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.13"] |
| 92 | +SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"] |
95 | 93 | SYSTEM_TEST_STANDARD_DEPENDENCIES = [ |
96 | 94 | "jinja2", |
97 | 95 | "mock", |
|
115 | 113 | # Make sure we leave some versions without "extras" so we know those |
116 | 114 | # dependencies are actually optional. |
117 | 115 | "3.10": ["tests", "scikit-learn", "anywidget"], |
118 | | - "3.11": ["tests", "scikit-learn", "polars", "anywidget"], |
| 116 | + LATEST_FULLY_SUPPORTED_PYTHON: ["tests", "scikit-learn", "polars", "anywidget"], |
119 | 117 | "3.13": ["tests", "polars", "anywidget"], |
120 | 118 | } |
121 | 119 |
|
|
126 | 124 | # Sessions are executed in the order so putting the smaller sessions |
127 | 125 | # ahead to fail fast at presubmit running. |
128 | 126 | nox.options.sessions = [ |
| 127 | + # Include unit_noextras to ensure at least some unit tests contribute to |
| 128 | + # coverage. |
| 129 | + # TODO(tswast): Consider removing this when unit_noextras and cover is run |
| 130 | + # from GitHub actions. |
| 131 | + "unit_noextras", |
129 | 132 | "system-3.9", # No extras. |
130 | | - "system-3.11", |
| 133 | + f"system-{LATEST_FULLY_SUPPORTED_PYTHON}", # All extras. |
131 | 134 | "cover", |
132 | 135 | # TODO(b/401609005): remove |
133 | 136 | "cleanup", |
|
0 commit comments