Commit 168c0ce
prebuilt: address PR #92 council review (python_requires note + 4 clarity/robustness)
- python_requires>=3.10 (blocking): add a setup.py comment (both packages) that the
floor mirrors the internal minimum (<3.10 dropped internally); no 3.10-only
construct in the code — _parse_build_system_requires has tomllib/tomli/regex.
- Pass B shared overlay: _overlay_install now warns when a build dep is re-staged
at a DIFFERENT version (surfaces the documented shared-overlay conflict instead
of a silent miscompilation).
- deferred_sdists: comment that "url" is the guaranteed source (is_downloadable_url
filter) and "filename" is only a best-effort hint (harmless if None).
- _gather_embedded_wheels Case D/E: comment that p.url is a placeholder
(is_real_url=False + cached wheel => p.url is never fetched).
- Pass B overlay cleanup: comment that the on-failure rmtree + the finally rmtree
double-remove is intentional and safe (ignore_errors=True).
No functional change to validated paths (comments + one diagnostic warning).
77 prebuilt unit tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 87f7c2b commit 168c0ce
4 files changed
Lines changed: 34 additions & 1 deletion
File tree
- metaflow-netflixext
- metaflow-prebuilt
- metaflow_extensions/prebuilt/plugins/conda
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
312 | 314 | | |
313 | 315 | | |
314 | 316 | | |
| |||
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
324 | 343 | | |
325 | 344 | | |
326 | 345 | | |
| |||
349 | 368 | | |
350 | 369 | | |
351 | 370 | | |
| 371 | + | |
| 372 | + | |
352 | 373 | | |
353 | 374 | | |
354 | 375 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
507 | 512 | | |
508 | 513 | | |
509 | 514 | | |
| |||
720 | 725 | | |
721 | 726 | | |
722 | 727 | | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
723 | 731 | | |
724 | 732 | | |
725 | 733 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments