Skip to content

Commit a273adc

Browse files
committed
chore: add more constraints to fix pip resolution-too-deep
Add lower bounds for coverage, huggingface_hub, transformers, fsspec, and tokenizers to prevent pip from backtracking through many versions during dependency resolution.
1 parent c1da5f2 commit a273adc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

constraints.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,11 @@ cryptography>=39.0.0
66
numpy<2
77
# Pin smolagents to avoid resolution issues
88
smolagents>=1.0.0,<2.0.0
9+
# Pin coverage to avoid backtracking through versions
10+
coverage>=7.4.0
11+
# Pin other common backtracking dependencies
12+
huggingface_hub>=0.20.0
13+
transformers>=4.37.0
14+
fsspec>=2023.5.0
15+
tokenizers>=0.15.0
916

0 commit comments

Comments
 (0)