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

Update to 4.1.2 #154

Closed
wants to merge 2 commits into from
Closed

Conversation

Dr-Emann
Copy link
Member

@Dr-Emann Dr-Emann commented Sep 5, 2024

No description provided.

@@ -25,7 +25,7 @@ roaring = "0.10"
criterion = { version = "0.5", features = ["html_reports"] }

[dependencies]
ffi = { package = "croaring-sys", path = "../croaring-sys", version = "~4.1.1" }
ffi = { package = "croaring-sys", path = "../croaring-sys", version = "~4.1.2" }
Copy link
Member

@saulius saulius Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see CI failed because of this dependency bump. Perhaps we shouldn't increase versions in the PRs, what do you think? Basically we can merge any amount of changes to main branch and then do a release commit like this. Before release commit gets pushed to github you'd need to publish croaring-sys and then croaring crates of new versions. After release commit gets pushed you can do a Github release of a new version. That was the action sequence I always used. How does that sound?

Copy link
Member Author

@Dr-Emann Dr-Emann Sep 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. I'm realizing with the changes from #149 to actually test croaring-rs against the real minimal versions, that test will always fail if we both update croaring-sys and croaring-rs to use the new functions at the same time: If we don't bump the versions, it'll still error because the new functions don't exist in the croaring-sys crate as published.

Not sure what the best way forward is: could always split into two PRs, croaring-sys only, then push a new version of it, and then a PR to use the new functions after the sys crate is published. That seems a bit of overhead though.

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.

2 participants