From 878cd2916ed2a43d1733f1ba42cf40076a3a19e3 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Fri, 14 Nov 2025 09:17:14 -0500 Subject: [PATCH] Bump ruby deps for typecheck --- gemfiles/typecheck/Gemfile | 2 +- gemfiles/typecheck/Gemfile.lock | 28 ++++++++++++++-------------- rakelib/typecheck.rake | 14 -------------- 3 files changed, 15 insertions(+), 29 deletions(-) diff --git a/gemfiles/typecheck/Gemfile b/gemfiles/typecheck/Gemfile index 906239ced5..b535d28729 100644 --- a/gemfiles/typecheck/Gemfile +++ b/gemfiles/typecheck/Gemfile @@ -8,7 +8,7 @@ gem "rake-compiler" gem "rake" gem "rbs" gem "ruby_parser" -gem "sorbet" +gem "sorbet", "<= 0.6.12666" # until tapioca is bumped gem "steep", ">= 1.7.0.dev.1" gem "tapioca" gem "test-unit" diff --git a/gemfiles/typecheck/Gemfile.lock b/gemfiles/typecheck/Gemfile.lock index 5eea68d70d..7968ff0b2b 100644 --- a/gemfiles/typecheck/Gemfile.lock +++ b/gemfiles/typecheck/Gemfile.lock @@ -1,14 +1,14 @@ GEM remote: https://rubygems.org/ specs: - activesupport (8.0.3) + activesupport (8.1.1) base64 - benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + json logger (>= 1.4.2) minitest (>= 5.1) securerandom (>= 0.3) @@ -16,8 +16,8 @@ GEM uri (>= 0.13.1) ast (2.4.3) base64 (0.3.0) - benchmark (0.4.1) - bigdecimal (3.3.0) + benchmark (0.5.0) + bigdecimal (3.3.1) concurrent-ruby (1.3.5) connection_pool (2.5.4) csv (3.3.5) @@ -25,33 +25,33 @@ GEM erubi (1.13.1) ffi (1.17.2-arm64-darwin) ffi (1.17.2-x86_64-linux-gnu) - fileutils (1.7.3) + fileutils (1.8.0) i18n (1.14.7) concurrent-ruby (~> 1.0) - json (2.15.1) + json (2.16.0) language_server-protocol (3.17.0.5) listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) logger (1.7.0) - minitest (5.26.0) + minitest (5.26.1) mutex_m (0.3.0) netrc (0.11.0) parallel (1.27.0) parser (3.3.10.0) ast (~> 2.4.1) racc - power_assert (2.0.5) - prism (1.5.1) + power_assert (3.0.1) + prism (1.6.0) racc (1.8.1) rainbow (3.1.1) - rake (13.3.0) + rake (13.3.1) rake-compiler (1.3.0) rake rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rbi (0.3.6) + rbi (0.3.7) prism (~> 1.0) rbs (>= 3.4.4) rbs (3.9.5) @@ -107,7 +107,7 @@ GEM yard-sorbet terminal-table (4.0.0) unicode-display_width (>= 1.1.1, < 4) - test-unit (3.7.0) + test-unit (3.7.1) power_assert thor (1.4.0) tzinfo (2.0.6) @@ -115,7 +115,7 @@ GEM unicode-display_width (3.2.0) unicode-emoji (~> 4.1) unicode-emoji (4.1.0) - uri (1.0.4) + uri (1.1.1) yard (0.9.37) yard-sorbet (0.9.0) sorbet-runtime @@ -132,7 +132,7 @@ DEPENDENCIES rake-compiler rbs ruby_parser - sorbet + sorbet (<= 0.6.12666) steep (>= 1.7.0.dev.1) tapioca test-unit diff --git a/rakelib/typecheck.rake b/rakelib/typecheck.rake index 497282d6f0..4f3fb1684e 100644 --- a/rakelib/typecheck.rake +++ b/rakelib/typecheck.rake @@ -4,20 +4,6 @@ namespace :typecheck do task tapioca: :templates do Rake::Task["compile:prism"].invoke - # Yard crashes parsing steep, which is all run because of tapioca. So to - # avoid this, we're going to monkey patch yard to ignore these kinds of - # crashes so tapioca can keep running. - require "yard" - YARD.singleton_class.prepend( - Module.new do - def parse(*args, **kwargs) - super - rescue RangeError - [] - end - end - ) - require "tapioca/internal" Tapioca::Cli.start(["configure"]) Tapioca::Cli.start(["gems", "--exclude", "prism"])