Skip to content
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] change cargo update to do a dry-run only #2388

Merged
merged 1 commit into from
Dec 2, 2022
Merged

Conversation

ctb
Copy link
Contributor

@ctb ctb commented Dec 2, 2022

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.)

Screen Shot 2022-12-02 at 7 15 52 AM

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!

@codecov
Copy link

codecov bot commented Dec 2, 2022

Codecov Report

Merging #2388 (df1dc33) into latest (281ad98) will increase coverage by 8.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           latest    #2388      +/-   ##
==========================================
+ Coverage   84.08%   92.11%   +8.02%     
==========================================
  Files         130      101      -29     
  Lines       15070    11522    -3548     
  Branches     2212     2206       -6     
==========================================
- Hits        12671    10613    -2058     
+ Misses       2103      614    -1489     
+ Partials      296      295       -1     
Flag Coverage Δ
python 92.11% <ø> (-0.09%) ⬇️
rust ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/sourmash/sbt_storage.py 85.81% <0.00%> (-3.38%) ⬇️
src/sourmash/commands.py 90.82% <0.00%> (ø)
src/core/src/ffi/storage.rs
src/core/src/cmd.rs
src/core/src/ffi/nodegraph.rs
src/core/src/ffi/index/mod.rs
src/core/src/sketch/hyperloglog/mod.rs
src/core/src/ffi/minhash.rs
src/core/src/ffi/index/revindex.rs
src/core/src/sketch/hyperloglog/estimators.rs
... and 21 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ctb ctb marked this pull request as ready for review December 2, 2022 15:50
@ctb ctb changed the title [WIP] change cargo update to do a dry-run only [MRG] change cargo update to do a dry-run only Dec 2, 2022
@ctb
Copy link
Contributor Author

ctb commented Dec 2, 2022

is working! let's try it out on an RC...

@ctb
Copy link
Contributor Author

ctb commented Dec 2, 2022

It's aliiiiive! My hypothesis appears to be correct - --dry-run on cargo update is needed to properly do the release candidates w/o a dev tag showing up in the wheel names.

Screen Shot 2022-12-02 at 7 58 22 AM

@ctb ctb merged commit fe7e417 into latest Dec 2, 2022
@ctb ctb deleted the fix/cibuildwheel_again branch December 2, 2022 16:02
@ctb
Copy link
Contributor Author

ctb commented Dec 2, 2022

yessssss!!!

Screen Shot 2022-12-02 at 8 20 39 AM

ctb added a commit that referenced this pull request Dec 3, 2022
Fixes leftover config from testing
#2388
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant