Commit d00098b
pypi: fix cibuildwheel — drop macos-13, bundle quant.h before container build
Three failures from the first publish run:
1. macos-13 runner is no longer supported by GitHub Actions
("configuration 'macos-13-us-default' is not supported"). Drop it;
ship arm64 wheels via macos-14 only. Intel macOS users can install
from sdist (which still works on Intel via local compile).
2. Linux + Windows wheel builds failed in cibuildwheel's before-build:
the python one-liner we used for header copy was awkward AND the
more fundamental issue is that cibuildwheel mounts only package-dir
into the manylinux container, so '../../quant.h' is unreachable
from inside the build. Fix: stage quant.h into bindings/python/
quantcpp/_quant.h via a regular GitHub Actions step BEFORE invoking
cibuildwheel. The before-build hook now just verifies the file is
present (clear error if not).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent dd467f9 commit d00098b
2 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments