-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
4.2: Limit concurrent-ruby to < 1.3.5
#6077
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
b34611e to
2bfd23e
Compare
concurrent-ruby to < 1.3.5
| s.add_dependency 'awesome_nested_set', '~> 3.3' | ||
| s.add_dependency 'cancancan', ['>= 2.2', '< 4.0'] | ||
| s.add_dependency 'carmen', '~> 1.1.0' | ||
| s.add_dependency 'concurrent-ruby', '< 1.3.5' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a comment to the Rails issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v4.2 #6077 +/- ##
=======================================
Coverage 88.86% 88.86%
=======================================
Files 607 607
Lines 14752 14752
=======================================
Hits 13109 13109
Misses 1643 1643 ☔ View full report in Codecov by Sentry. |
The `concurrent-ruby` gem drops a dependency on the `logger` gem, which Rails 7.0 implicitly depends on. Rails 7.0 is out of bugfix maintenance, so we won't see another release that has this bug fixed, so for Solidus 4.2 and 4.1 let's just limit `concurrent-ruby` to versions that *do* depend on `logger`.
2bfd23e to
62d5c3d
Compare
DanielePalombo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
This restriction is already in the respective solidus branches. See: 4.2: solidusio/solidus#6077 4.1: solidusio/solidus#6087
The
concurrent-rubygem drops a dependency on theloggergem, whichRails 7.0 implicitly depends on. Rails 7.0 is out of bugfix maintenance,
so we won't see another release that has this bug fixed, so for Solidus
4.2 and 4.1 let's just limit
concurrent-rubyto versions that dodepend on
logger.See rails/rails#54264
This approach has the advantage that we don't have to change the spec setup for every extension, because Solidus 4.2's dependencies take care of the problem.