Commit d6fc893
committed
feat: Add sterile subprocess verification with dependency bubble awareness
Major improvements to package verification and installation:
VERIFICATION STRATEGY (verification_strategy.py):
- CRITICAL FIX V2: Use sterile subprocess isolation to prevent ABI conflicts
- Pass existing dependency bubbles to verification so keras can find tensorflow
- Include setuptools in subprocess path for compatibility
- Replace in-process imports with subprocess-based testing
- Increase timeout from 30s to 300s for complex verifications
- Remove sys.path manipulation in favor of clean subprocess environment
CORE BUBBLE MANAGER (core.py):
- Add _find_dependency_bubbles() to locate related package bubbles
- Pass existing_bubble_paths to verification strategy
- Enable verification groups to access their dependencies during testing
- Improve verification logging with bubble discovery feedback
VERIFICATION GROUPS (verification_groups.py):
- Add 'triton' to PyTorch verification group packages
- Update test order to verify triton before torch
PACKAGE INDEX REGISTRY (package_index_registry.py):
- Return ecosystem URLs as EXTRA index instead of primary
- Allow pip to find dependencies (like triton) on PyPI while using custom indices
WORKER DAEMON (worker_daemon.py):
- Increase DaemonClient timeout from 30s to 300s
- Remove extraneous blank lines
TRANSLATIONS (zh_CN/omnipkg.po):
- Update Chinese translations with 2089 line changes
- Improve translation coverage from previous state
These changes fix critical verification issues where packages like keras
couldn't find tensorflow during import testing, and prevent ABI conflicts
from polluted Python environments.1 parent 6aec447 commit d6fc893
6 files changed
Lines changed: 1880 additions & 614 deletions
File tree
- src/omnipkg
- installation
- isolation
- locale/zh_CN/LC_MESSAGES
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3207 | 3207 | | |
3208 | 3208 | | |
3209 | 3209 | | |
3210 | | - | |
3211 | | - | |
3212 | | - | |
3213 | | - | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
3214 | 3215 | | |
3215 | 3216 | | |
3216 | 3217 | | |
3217 | | - | |
| 3218 | + | |
3218 | 3219 | | |
3219 | 3220 | | |
3220 | 3221 | | |
3221 | | - | |
| 3222 | + | |
3222 | 3223 | | |
3223 | 3224 | | |
3224 | 3225 | | |
| |||
3227 | 3228 | | |
3228 | 3229 | | |
3229 | 3230 | | |
| 3231 | + | |
3230 | 3232 | | |
3231 | 3233 | | |
3232 | 3234 | | |
3233 | | - | |
3234 | | - | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
| 3238 | + | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
3235 | 3248 | | |
3236 | | - | |
3237 | 3249 | | |
3238 | | - | |
3239 | 3250 | | |
3240 | 3251 | | |
3241 | 3252 | | |
3242 | 3253 | | |
3243 | 3254 | | |
3244 | 3255 | | |
3245 | 3256 | | |
3246 | | - | |
| 3257 | + | |
3247 | 3258 | | |
3248 | 3259 | | |
3249 | 3260 | | |
3250 | 3261 | | |
3251 | 3262 | | |
3252 | | - | |
| 3263 | + | |
3253 | 3264 | | |
3254 | 3265 | | |
3255 | 3266 | | |
3256 | 3267 | | |
3257 | 3268 | | |
3258 | 3269 | | |
3259 | | - | |
3260 | | - | |
| 3270 | + | |
| 3271 | + | |
3261 | 3272 | | |
3262 | | - | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
3263 | 3279 | | |
3264 | | - | |
| 3280 | + | |
3265 | 3281 | | |
3266 | 3282 | | |
| 3283 | + | |
3267 | 3284 | | |
3268 | | - | |
3269 | | - | |
| 3285 | + | |
| 3286 | + | |
3270 | 3287 | | |
3271 | 3288 | | |
| 3289 | + | |
3272 | 3290 | | |
3273 | 3291 | | |
3274 | 3292 | | |
3275 | 3293 | | |
3276 | | - | |
| 3294 | + | |
3277 | 3295 | | |
3278 | 3296 | | |
3279 | 3297 | | |
| 3298 | + | |
3280 | 3299 | | |
3281 | 3300 | | |
3282 | 3301 | | |
3283 | 3302 | | |
3284 | 3303 | | |
3285 | 3304 | | |
3286 | 3305 | | |
3287 | | - | |
| 3306 | + | |
3288 | 3307 | | |
3289 | 3308 | | |
| 3309 | + | |
| 3310 | + | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
| 3323 | + | |
| 3324 | + | |
| 3325 | + | |
| 3326 | + | |
| 3327 | + | |
| 3328 | + | |
| 3329 | + | |
| 3330 | + | |
| 3331 | + | |
| 3332 | + | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
3290 | 3359 | | |
3291 | 3360 | | |
3292 | 3361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 91 | | |
96 | | - | |
| 92 | + | |
97 | 93 | | |
98 | 94 | | |
99 | 95 | | |
100 | 96 | | |
101 | 97 | | |
102 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
103 | 129 | | |
104 | 130 | | |
105 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments