pyproject: pytest-timeout + tenacity in dev deps (F03)
- SHA
b98dd70bab55bb40ac8b3de3d5f26996a601ab5d- Parents
-
e79f3d7 - Tree
1c78ea4
b98dd70
b98dd70bab55bb40ac8b3de3d5f26996a601ab5de79f3d7
1c78ea4| Status | File | + | - |
|---|---|---|---|
| M |
pyproject.toml
|
11 | 0 |
pyproject.tomlmodified@@ -142,6 +142,17 @@ dev = [ | ||
| 142 | 142 | # S19: the pre-commit-hook integration test spawns ``pre-commit`` |
| 143 | 143 | # as a subprocess. Keeps the tool out of the user's runtime deps. |
| 144 | 144 | "pre-commit>=3.8", |
| 145 | + # S21 / F03: pytest-timeout wraps slow+online tests so a | |
| 146 | + # silent network hang surfaces as a failed test rather than a | |
| 147 | + # job-level timeout (macOS CI observed 20m hang on Sprint 19 | |
| 148 | + # merge run 24747915467). | |
| 149 | + "pytest-timeout>=2.3", | |
| 150 | + # S21 / F03: tenacity's retry helpers wrap | |
| 151 | + # ``huggingface_hub.snapshot_download`` in the tiny_model | |
| 152 | + # fixture. Already in the ``[api]`` extra; duplicated here so | |
| 153 | + # slow-lane CI jobs don't need to install ``[api]`` just to | |
| 154 | + # get the fixture retry. | |
| 155 | + "tenacity>=9.0", | |
| 145 | 156 | ] |
| 146 | 157 | |
| 147 | 158 | [build-system] |