diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 917b385..555d226 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,8 +13,6 @@ jobs: os: ubuntu-22.04 - ruby: 3.1 os: ubuntu-20.04 - - ruby: "3.0" - os: ubuntu-20.04 env: LIBTORCH_VERSION: 2.3.0 steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cdd5e3..80b2a62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Updated LibTorch to 2.3.0 - Added `ELU` and `GELU` classes +- Dropped support for Ruby < 3.1 ## 0.15.0 (2024-02-28) diff --git a/torch-rb.gemspec b/torch-rb.gemspec index a7c8cf7..143dab6 100644 --- a/torch-rb.gemspec +++ b/torch-rb.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.require_path = "lib" spec.extensions = ["ext/torch/extconf.rb"] - spec.required_ruby_version = ">= 3" + spec.required_ruby_version = ">= 3.1" spec.add_dependency "rice", ">= 4.1.0" end