Commit 562dace
committed
BUG: Bound the ITK dependency pin and repair the cleanup globs
The rewritten pin had no upper bound, so a wheel compiled against ITK 6
was satisfiable by ITK 7 or 8 with an incompatible ABI. Emit
"itk >= 6.0, < 7" instead, and leave a module's pins alone when the ITK
version is not MAJOR.MINOR, since no valid specifier can be built from a
branch name.
post_build_cleanup interpolated the whole package_env_config dict into
two globs and searched the source checkout, so it matched nothing and
silently removed neither the ITK build tree nor the caches. Point them at
<build-dir-root>/build and <build-dir-root>/dist.
Correct two docstrings that described the behaviour before it changed:
delocate now repairs every wheel on both architectures, and a module
dependency builds against the ITK tree already in use rather than
re-extracting the cache.1 parent 613223d commit 562dace
2 files changed
Lines changed: 22 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
588 | 590 | | |
589 | | - | |
| 591 | + | |
590 | 592 | | |
591 | 593 | | |
592 | 594 | | |
593 | | - | |
| 595 | + | |
594 | 596 | | |
595 | 597 | | |
596 | 598 | | |
| |||
792 | 794 | | |
793 | 795 | | |
794 | 796 | | |
| 797 | + | |
| 798 | + | |
795 | 799 | | |
796 | 800 | | |
797 | 801 | | |
| 802 | + | |
798 | 803 | | |
799 | | - | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
800 | 811 | | |
801 | 812 | | |
802 | 813 | | |
803 | 814 | | |
804 | 815 | | |
805 | 816 | | |
806 | 817 | | |
807 | | - | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
808 | 821 | | |
809 | 822 | | |
810 | 823 | | |
| |||
1079 | 1092 | | |
1080 | 1093 | | |
1081 | 1094 | | |
1082 | | - | |
| 1095 | + | |
1083 | 1096 | | |
1084 | 1097 | | |
| 1098 | + | |
1085 | 1099 | | |
1086 | 1100 | | |
1087 | 1101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments