-
Notifications
You must be signed in to change notification settings - Fork 287
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
Release 0.22 build from cargo fails after the release of 0.23 #211
Comments
That's unfortunate. Perhaps we need to be using strict version requirements in
Alternatively perhaps we need to be bumping the major version of rdkafka-sys whenever we release a new version, since most versions involve semver breaking changes—but then we'd lose the parity with upstream's versioning. @fede1024 do you have thoughts? |
@benesch Why don't you use tilde requirements to specify rust-rdkafka's dependency on rdkafka-sys? This way you should be able to prevent minor version upgrades. |
@benesch thanks that works! Nevertheless, if this could be handled in rdkafka's dependencies it could potentially help at least new rustaceans like me in the future =). |
I'm worried that's not sufficient! I'm not sure rdkafka upstream adheres to semver. |
Yes, absolutely! Thanks for raising the issue. I'll leave this open until it's sorted out on our end. |
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue #211.
Ok, I think the solution here is to allow rdkafka and rdkafka-sys to be selected independently. If we make rdkafka-sys properly follow semver, then rdkafka just needs to express the minimum version of rdkafka-sys that it is compatible with, and we should be good to go. #234 starts us down that road. |
Once #234 is released, would it be possible to release |
Yeah, that's not a bad idea. Ideally we'd yank 0.22.0, but that might be unnecessarily disruptive. |
Agreed, since there might be repositories with lockfiles checked in that still work (like ours). |
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
Also allow rdkafka and rdkafka-sys to be versioned independently by making rdkafka-sys follow SemVer. This will fix future scenarios like the one described in issue fede1024#211.
As I understand it, yanking doesn't prevent existing lockfiles from downloading that crate! It just prevents future folks from picking up the version via |
Ok, thanks to @fede1024, there's a release of 0.22.1 that pins to rdkafka-sys 1.2.2. Thanks for reporting, and sorry about the breakage. Going forward, the new versioning scheme introduced in #240 ensures both rdkafka and rdkafka-sys follow semver and will allow mixing and matching versions of rdkafka/rdkafka-sys, semver permitting. |
add rdkafka-sys = "=1.2.2" as dependencie cause newer versions dont provide primitive_to_rd_kafka_resp_err_t fede1024/rust-rdkafka#211
I'm having problems building my project that is using release 0.22.
It seems that problems started after the release of rust-rdkafka 0.23 and rdkafka-sys 1.3.1.
Release 0.22 is fetching rdkafka-sys 1.3.1 from which the function primitive_to_rd_kafka_resp_err_t has been removed.
The text was updated successfully, but these errors were encountered: