|
77 | 77 | UNIT_TEST_LOCAL_DEPENDENCIES: List[str] = []
|
78 | 78 | UNIT_TEST_DEPENDENCIES: List[str] = []
|
79 | 79 | UNIT_TEST_EXTRAS: List[str] = ["tests"]
|
80 |
| -UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { |
81 |
| - "3.12": ["polars", "scikit-learn"], |
82 |
| -} |
| 80 | +UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} |
83 | 81 |
|
84 | 82 | # 3.10 is needed for Windows tests as it is the only version installed in the
|
85 | 83 | # bigframes-windows container image. For more information, search
|
|
103 | 101 | ]
|
104 | 102 | SYSTEM_TEST_LOCAL_DEPENDENCIES: List[str] = []
|
105 | 103 | SYSTEM_TEST_DEPENDENCIES: List[str] = []
|
106 |
| -SYSTEM_TEST_EXTRAS: List[str] = [] |
107 |
| -SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { |
108 |
| - "3.9": ["tests"], |
109 |
| - "3.10": ["tests"], |
110 |
| - "3.12": ["tests", "scikit-learn"], |
111 |
| - "3.13": ["tests"], |
112 |
| -} |
| 104 | +SYSTEM_TEST_EXTRAS: List[str] = ["tests"] |
| 105 | +SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} |
113 | 106 |
|
114 | 107 | LOGGING_NAME_ENV_VAR = "BIGFRAMES_PERFORMANCE_LOG_NAME"
|
115 | 108 |
|
@@ -312,7 +305,7 @@ def install_systemtest_dependencies(session, install_test_extra, *constraints):
|
312 | 305 |
|
313 | 306 | if install_test_extra and SYSTEM_TEST_EXTRAS_BY_PYTHON:
|
314 | 307 | extras = SYSTEM_TEST_EXTRAS_BY_PYTHON.get(session.python, [])
|
315 |
| - elif install_test_extra and SYSTEM_TEST_EXTRAS: |
| 308 | + if install_test_extra and SYSTEM_TEST_EXTRAS: |
316 | 309 | extras = SYSTEM_TEST_EXTRAS
|
317 | 310 | else:
|
318 | 311 | extras = []
|
@@ -489,7 +482,7 @@ def cover(session):
|
489 | 482 | @nox.session(python=DEFAULT_PYTHON_VERSION)
|
490 | 483 | def docs(session):
|
491 | 484 | """Build the docs for this library."""
|
492 |
| - session.install("-e", ".[scikit-learn]") |
| 485 | + session.install("-e", ".[tests]") |
493 | 486 | session.install(
|
494 | 487 | # We need to pin to specific versions of the `sphinxcontrib-*` packages
|
495 | 488 | # which still support sphinx 4.x.
|
@@ -530,7 +523,7 @@ def docs(session):
|
530 | 523 | def docfx(session):
|
531 | 524 | """Build the docfx yaml files for this library."""
|
532 | 525 |
|
533 |
| - session.install("-e", ".[scikit-learn]") |
| 526 | + session.install("-e", ".[tests]") |
534 | 527 | session.install(
|
535 | 528 | # We need to pin to specific versions of the `sphinxcontrib-*` packages
|
536 | 529 | # which still support sphinx 4.x.
|
|
0 commit comments