Commit c3aafba
Assert the abi3 module by absence of a version tag, not a ".abi3." infix
The Windows legs of test_abi3_matrix failed on all five Python versions while
the wheel builds and the Linux/macOS legs passed. The wheel was fine: the
install step succeeded and only the assertion step failed.
".abi3." is a POSIX naming convention. On Windows a limited-API extension is
just `blosc2_ext.pyd`, against `blosc2_ext.cp314-win_amd64.pyd` for a
version-specific build -- there is no abi3 infix to look for.
Check the portable invariant instead: importlib's EXTENSION_SUFFIXES[0] is the
version-tagged suffix on every platform, so an abi3 module is exactly the one
whose filename does not end with it. Verified locally against both a normal
and an abi3 build.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 872ae39 commit c3aafba
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
259 | 265 | | |
260 | 266 | | |
261 | 267 | | |
262 | 268 | | |
| 269 | + | |
263 | 270 | | |
264 | | - | |
265 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
266 | 276 | | |
267 | 277 | | |
268 | 278 | | |
| |||
0 commit comments