Repository navigation
Require Ruby 3.2 or later - #139
Merged
Merged
Conversation
CI tests Ruby 3.2 to 4.0 and nothing older. Ruby 3.1 fails the GC compaction spec, since GC.verify_compaction_references(expand_heap:) needs 3.2, and the development dependencies no longer install on 3.0. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2 tasks done
Watson1978
added a commit
that referenced
this pull request
Oct 25, 2026
Ruby 3.2 or later is required since #139. rb_io_descriptor, rb_thread_call_without_gvl, ruby/io.h and ruby/thread.h always exist there, so the extconf checks for them, for rb_thread_blocking_region, rb_thread_alone, rb_str_set_len, rb_io_t and libc, and the matching #ifdef branches go away. The unused RUBY_VERSION_CODE define and the Ruby 1.8 branch of FPTR_TO_FD, which produced -Wundef warnings for RUBY_VERSION_MAJOR, go with them. The Windows native spec fixture now builds the same GVL releasing poll as the extension, since that code no longer depends on defines from extconf.rb. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The gemspec did not state a minimum Ruby version. CI tests Ruby 3.2 to 4.0 and nothing older, so this declares
required_ruby_version = ">= 3.2". On a Mac with rbenv, Ruby 3.1.6 builds but fails the GC compaction spec, becauseGC.verify_compaction_references(expand_heap:)needs 3.2, and on Ruby 3.0.7 the development dependencies no longer install. Fluentd, the main user, already requires Ruby 3.3.Types of Changes
Contribution
🤖 Generated with Claude Code