Repository navigation
Commit a3934dc
authored
fix(ci-lint): PKG-006 release-verify matches any component of a compound wheel platform_tag (#29)
Found in zackees/template-python-rust-cmd#30 (round 5, issue #6): a
real, correctly cross-compiled manylinux_2_17 wheel was flagged
"matches no declared [platforms] entry" because maturin filed it as
`manylinux_2_17_aarch64.manylinux2014_aarch64` -- a PEP 425 compound
platform_tag (both components describe the identical floor;
manylinux2014 IS glibc 2.17). `_match_platform` matched the WHOLE
compound string against one `^...$` pattern, which can never succeed.
Splits `platform_tag` on "." and matches if any component matches,
same convention wheel filenames already use for `python_tag`/`abi_tag`
(e.g. `py2.py3`). Adds a regression test using the existing fixture.1 parent 4a6870b commit a3934dc
2 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
118 | 133 | | |
119 | | - | |
| 134 | + | |
120 | 135 | | |
121 | 136 | | |
122 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
93 | 113 | | |
94 | 114 | | |
95 | 115 | | |
| |||
0 commit comments