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

Redefine sidekiq requirement to not install beta version #88

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

brucebolt
Copy link
Member

Currently, bundler will install version 7.0.0.beta1 of sidekiq as it considers this to be less than 7. We do not want this to happen.

In #84, we changed the requirement from ">= 6.5.12", "< 7" to "~> 6.5". This has a side effect of some of our applications ending up on an earlier version of sidekiq than 6.5.12 (there was a security fix in 6.5.10).

Therefore in #85 we changed the requirement to be "> 6.5.10", "< 7", however this once again resulted in bundler installing 7.0.0.beta.

Updating the requirements again to be even more explicit, so we always install a version newer than 6.5.12 but never a version that isn't 6.5.x.

This repo is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.

Currently, bundler will install version `7.0.0.beta1` of sidekiq as it
considers this to be less than `7`. We do not want this to happen.

In #84, we changed the
requirement from `">= 6.5.12", "< 7"` to `"~> 6.5"`. This has a side
effect of some of our applications ending up on an earlier version of
sidekiq than `6.5.12` (there was a security fix in `6.5.10`).

Therefore in #85 we
changed the requirement to be `"> 6.5.10", "< 7"`, however this once
again resulted in bundler installing `7.0.0.beta`.

Updating the requirements again to be even more explicit, so we always
install a version newer than `6.5.12` but never a version that isn't
`6.5.x`.
@brucebolt brucebolt merged commit d3a45a5 into main Nov 29, 2023
10 checks passed
@brucebolt brucebolt deleted the redefine-sidekiq-version branch November 29, 2023 08:19
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