From f30a0f37a995285134b4fa5e3aa4c45227dae3f3 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Tue, 6 Oct 2026 09:40:12 +0200 Subject: [PATCH] Update dependencies Bump rails/railties to 7.2.4 in gemfiles/rails_72. activesupport 7.2.4 caps connection_pool below 3 because connection_pool 3.0 switched to keyword arguments, which breaks the ActiveSupport cache stores on Rails 7.2 (rails/rails#56291). Rails fixed the stores on 8.x and pinned connection_pool below 3 on 7-2-stable (rails/rails#56620), so add the same pin and a Dependabot ignore in the Rails 7.2 Gemfile. Without it, bundle update --all keeps the stale rails 7.2.3.2 + connection_pool 3.0.2 combination instead of reaching 7.2.4. --- .github/dependabot.yml | 2 + gemfiles/rails_72/Gemfile | 2 + gemfiles/rails_72/Gemfile.lock | 111 +++++++++++++++++---------------- 3 files changed, 60 insertions(+), 55 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 073a6a36..c661a322 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -60,6 +60,8 @@ updates: - "*" multi-ecosystem-group: bundler ignore: + - dependency-name: connection_pool + versions: ">= 3" # TODO: remove when dropping Rails 7.2 (see rails/rails#56620) - dependency-name: erb versions: ">= 5" - dependency-name: parallel diff --git a/gemfiles/rails_72/Gemfile b/gemfiles/rails_72/Gemfile index 23d03388..00203398 100644 --- a/gemfiles/rails_72/Gemfile +++ b/gemfiles/rails_72/Gemfile @@ -12,6 +12,8 @@ end group :rails do gem 'rails', '~> 7.2.0' + # Rails 7.2.4 caps connection_pool below 3, whose keyword-argument API breaks cache stores + gem 'connection_pool', '< 3' # TODO: remove when dropping Rails 7.2 (see rails/rails#56620) gem 'rspec-rails' gem 'combustion' gem 'capybara' diff --git a/gemfiles/rails_72/Gemfile.lock b/gemfiles/rails_72/Gemfile.lock index 0a243f99..4f4edd46 100644 --- a/gemfiles/rails_72/Gemfile.lock +++ b/gemfiles/rails_72/Gemfile.lock @@ -7,29 +7,29 @@ PATH GEM remote: http://rubygems.org/ specs: - actioncable (7.2.3.2) - actionpack (= 7.2.3.2) - activesupport (= 7.2.3.2) + actioncable (7.2.4) + actionpack (= 7.2.4) + activesupport (= 7.2.4) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (7.2.3.2) - actionpack (= 7.2.3.2) - activejob (= 7.2.3.2) - activerecord (= 7.2.3.2) - activestorage (= 7.2.3.2) - activesupport (= 7.2.3.2) + actionmailbox (7.2.4) + actionpack (= 7.2.4) + activejob (= 7.2.4) + activerecord (= 7.2.4) + activestorage (= 7.2.4) + activesupport (= 7.2.4) mail (>= 2.8.0) - actionmailer (7.2.3.2) - actionpack (= 7.2.3.2) - actionview (= 7.2.3.2) - activejob (= 7.2.3.2) - activesupport (= 7.2.3.2) + actionmailer (7.2.4) + actionpack (= 7.2.4) + actionview (= 7.2.4) + activejob (= 7.2.4) + activesupport (= 7.2.4) mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (7.2.3.2) - actionview (= 7.2.3.2) - activesupport (= 7.2.3.2) + actionpack (7.2.4) + actionview (= 7.2.4) + activesupport (= 7.2.4) cgi nokogiri (>= 1.8.5) racc @@ -39,41 +39,41 @@ GEM rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actiontext (7.2.3.2) - actionpack (= 7.2.3.2) - activerecord (= 7.2.3.2) - activestorage (= 7.2.3.2) - activesupport (= 7.2.3.2) + actiontext (7.2.4) + actionpack (= 7.2.4) + activerecord (= 7.2.4) + activestorage (= 7.2.4) + activesupport (= 7.2.4) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.2.3.2) - activesupport (= 7.2.3.2) + actionview (7.2.4) + activesupport (= 7.2.4) builder (~> 3.1) cgi erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activejob (7.2.3.2) - activesupport (= 7.2.3.2) + activejob (7.2.4) + activesupport (= 7.2.4) globalid (>= 0.3.6) - activemodel (7.2.3.2) - activesupport (= 7.2.3.2) - activerecord (7.2.3.2) - activemodel (= 7.2.3.2) - activesupport (= 7.2.3.2) + activemodel (7.2.4) + activesupport (= 7.2.4) + activerecord (7.2.4) + activemodel (= 7.2.4) + activesupport (= 7.2.4) timeout (>= 0.4.0) - activestorage (7.2.3.2) - actionpack (= 7.2.3.2) - activejob (= 7.2.3.2) - activerecord (= 7.2.3.2) - activesupport (= 7.2.3.2) + activestorage (7.2.4) + actionpack (= 7.2.4) + activejob (= 7.2.4) + activerecord (= 7.2.4) + activesupport (= 7.2.4) marcel (~> 1.0) - activesupport (7.2.3.2) + activesupport (7.2.4) base64 benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) - connection_pool (>= 2.2.5) + connection_pool (>= 2.2.5, < 3) drb i18n (>= 1.6, < 2) logger (>= 1.4.2) @@ -102,7 +102,7 @@ GEM railties (>= 3.0.0) thor (>= 0.14.6) concurrent-ruby (1.3.8) - connection_pool (3.0.2) + connection_pool (2.5.5) crass (1.0.7) date (3.5.1) diff-lcs (1.6.2) @@ -174,20 +174,20 @@ GEM rack (>= 1.3) rackup (2.3.1) rack (>= 3) - rails (7.2.3.2) - actioncable (= 7.2.3.2) - actionmailbox (= 7.2.3.2) - actionmailer (= 7.2.3.2) - actionpack (= 7.2.3.2) - actiontext (= 7.2.3.2) - actionview (= 7.2.3.2) - activejob (= 7.2.3.2) - activemodel (= 7.2.3.2) - activerecord (= 7.2.3.2) - activestorage (= 7.2.3.2) - activesupport (= 7.2.3.2) + rails (7.2.4) + actioncable (= 7.2.4) + actionmailbox (= 7.2.4) + actionmailer (= 7.2.4) + actionpack (= 7.2.4) + actiontext (= 7.2.4) + actionview (= 7.2.4) + activejob (= 7.2.4) + activemodel (= 7.2.4) + activerecord (= 7.2.4) + activestorage (= 7.2.4) + activesupport (= 7.2.4) bundler (>= 1.15.0) - railties (= 7.2.3.2) + railties (= 7.2.4) rails-dom-testing (2.3.0) activesupport (>= 5.0.0) minitest @@ -195,9 +195,9 @@ GEM rails-html-sanitizer (1.7.1) loofah (~> 2.25, >= 2.25.2) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) - railties (7.2.3.2) - actionpack (= 7.2.3.2) - activesupport (= 7.2.3.2) + railties (7.2.4) + actionpack (= 7.2.4) + activesupport (= 7.2.4) cgi irb (~> 1.13) rackup (>= 1.0.0) @@ -270,6 +270,7 @@ DEPENDENCIES arbre! capybara combustion + connection_pool (< 3) pry rails (~> 7.2.0) rake