-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRG] fixing cross-platform cibuildwheel action for release #2384
Conversation
Codecov Report
@@ Coverage Diff @@
## latest #2384 +/- ##
==========================================
+ Coverage 84.08% 92.19% +8.11%
==========================================
Files 130 101 -29
Lines 15070 11522 -3548
Branches 2212 2212
==========================================
- Hits 12671 10623 -2048
+ Misses 2103 603 -1500
Partials 296 296
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
AH-HAH! 9367075 induces the failure,
and this eventually led me to THIS: https://users.rust-lang.org/t/cargo-uses-too-much-memory-being-run-in-qemu/76531 which seems to be the same problem we're facing!!! Now to see if their solution works... |
aaaaand this issue too - rust-lang/cargo#10583 |
it worked! firing for effect... |
Merging into latest to check that it works there, too. |
This PR continues the cibuildwheel exploration that started with a fix for building the wheels (#2384 and #2385). The saga continues like so: When building the release candidates, we don't get "clean" rcN wheels. I think this is because when I run `cargo update` in the cibuildwheel action it's actually updating the Rust packages and we're getting a version bump from that. Yay? (See screenshot of releases page with 'dev' yada in wheel names.) <img width="1025" alt="Screen Shot 2022-12-02 at 7 15 52 AM" src="https://user-images.githubusercontent.com/51016/205325234-9ec0c6c2-7cbc-42c7-9727-fd700ef59320.png"> This PR changes `cargo update` to `cargo update --dry-run` which should update the crates.io index without actually changing `Cargo.lock` and pushing a version bump. We Shall See!
The QEMU/cibuildwheel based wheel-builds were exiting on
cargo update
:which seems to have been caused by an out-of-memory error; see https://users.rust-lang.org/t/cargo-uses-too-much-memory-being-run-in-qemu/76531 for what looks like the same problem.
This PR fixes the problem using the same fix as in https://users.rust-lang.org/t/cargo-uses-too-much-memory-being-run-in-qemu/76531.