Commit 15899db
committed
Fix transitive dependencies and vLLM version detection
PROBLEM 1: Missing Transitive Dependencies
- User got error: 'Could not find a version that satisfies the requirement anyio<5,>=3.5.0 (from anthropic)'
- Download script used --no-deps flag, so only direct dependencies were downloaded
- Transitive deps like anyio (required by anthropic) were missing from PyPI index
FIX 1: Remove --no-deps flag
- Removed --no-deps from download_dependency_wheels.py line 138
- Now pip downloads ALL transitive dependencies automatically
- Updated validation threshold from 40 to 150 wheels (transitive deps add ~100-200 wheels)
- Added 'anyio' to critical packages validation list
PROBLEM 2: Wrong vLLM Version
- Built wheel shows version 0.1.dev instead of expected 0.11.0dev
- GitHub Actions checkout@v4 uses shallow clone by default (no history, no tags)
- setuptools-scm runs 'git describe' but can't find v0.11.x tags
- Falls back to oldest reachable tag (v0.1.x)
FIX 2: Fetch full git history in all checkout steps
- Added 'fetch-depth: 0' to all 4 checkout actions in workflow
- This fetches full git history and all tags
- setuptools-scm can now correctly detect version from git describe
- vLLM wheel will now have correct version (0.11.x)
EXPECTED RESULTS:
- PyPI index will have 200-300 wheels (up from ~100)
- All transitive dependencies present (anyio, etc.)
- Users can install without --extra-index-url fallback
- vLLM wheel version will be correct (0.11.x instead of 0.1.dev)
Tested locally: download script now gets 104 direct deps + transitive deps1 parent 3735664 commit 15899db
File tree
2 files changed
+16
-7
lines changed- .github
- scripts
- workflows
2 files changed
+16
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | | - | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| 104 | + | |
| 105 | + | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
| |||
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
130 | | - | |
131 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
135 | 140 | | |
136 | | - | |
137 | | - | |
| 141 | + | |
| 142 | + | |
138 | 143 | | |
139 | 144 | | |
140 | 145 | | |
| |||
166 | 171 | | |
167 | 172 | | |
168 | 173 | | |
| 174 | + | |
| 175 | + | |
169 | 176 | | |
170 | 177 | | |
171 | 178 | | |
| |||
222 | 229 | | |
223 | 230 | | |
224 | 231 | | |
| 232 | + | |
| 233 | + | |
225 | 234 | | |
226 | 235 | | |
227 | 236 | | |
| |||
0 commit comments