-
Notifications
You must be signed in to change notification settings - Fork 20
Widen the channels dependency to allow for the final 1.0.0 release #909
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
Conversation
The channels repository is now a release candidate for 1.0.0, so no more breaking changes are expected. We can now widen the dependency to allow for the final 1.0.0 release. Signed-off-by: Leandro Lucarella <[email protected]>
|
Setting auto-merge. |
|
Why not do it after 1.0 is released, then we don't have to have rc1 as a minimum requirement. |
I don't see an issue with having the rc as a minimum requirement, and this approach means we don't block downstream users from upgrading to 1.0.0 final or even newer releases. Please have in mind we have long dependency chains, so maybe having this with In libraries I think we should specify dependencies as wide as possible to avoid blocking projects from using the version they need and end up in dependency hell, which already happened (for example with api-common). |
I don't get this argument. There's no channel 1.0 to upgrade to yet, so the SDK is not blocking anyone from upgrading to channel 1.0. As soon as channel is released, which could even be today, we can take in a PR that widens the requirement to 1.0 to 2.0, without the Rc. I don't see the benefit in doing this first. |
|
Not all project will upgrade to 1.0.0 final right away, so we'll force projects that are in 1.0.0rc1 to get a PR to be able to work with the SDK. Maybe it is true that for the SDK might not be that relevant because the current state of breaking rc's that force downstream project to use I'm widening the dependency for all projects I see with Besides that, in general, there is no reason why we shouldn't include all the range of dependencies that are supported in libraries, so I will reverse the question, why do you want to have |
|
In case it is not clear, let's say peak shaving is pinned the current SDK version and channels 1.0.0-rc1, channels 1.0.1 is released with a critical security fix. Now dependabot creates a PR to upgrade, but the PR fails because it will also need a bump to the SDK (as the SDK is using |
|
Well, the SDK hasn't had a release since the upgrade to rc1, and nobody is using anything close to the latest release in production. I'd rather we go to 1.0.0 before people do start relying on rc1, so that what you say doesn't actually happen, and then it the sdk keeps having to say rc1, but if you must, then sure. |
|
I prefer to keep the policy of having supported dependency ranges as wide as possible, because even if you might be right that with the current state of the SDK this scenario is very unlikely, I've been surprised by unexpected dependency conflicts too many times, so I see no reason why not go for the safe bet. And I still don't see any issues in keeping the RC as the minimum supported version if it is really the minimum version that works. Doing anything else is just introducing unnecessary potential dependency conflicts. |
|
It is only solving the problems of imaginary users IMO, but you're right that it is not exactly an issue for the SDK. |
The channels repository is now a release candidate for 1.0.0, so no more breaking changes are expected. We can now widen the dependency to allow for the final 1.0.0 release.