tenseleyflow/sway / b98dd70

Browse files

pyproject: pytest-timeout + tenacity in dev deps (F03)

Authored by espadonne
SHA
b98dd70bab55bb40ac8b3de3d5f26996a601ab5d
Parents
e79f3d7
Tree
1c78ea4

1 changed file

StatusFile+-
M pyproject.toml 11 0
pyproject.tomlmodified
@@ -142,6 +142,17 @@ dev = [
142142
     # S19: the pre-commit-hook integration test spawns ``pre-commit``
143143
     # as a subprocess. Keeps the tool out of the user's runtime deps.
144144
     "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",
145156
 ]
146157
 
147158
 [build-system]