From 392b52c5d44569aca2a32e3fab38527d180a697e Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Tue, 14 Apr 2026 16:24:57 -0400 Subject: [PATCH 1/2] fix(deps): allow openssl 4.x for compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Widen the openssl dependency from ~> 3.3.1 (which caps at < 3.4.0) to >= 3.3.1, < 5.0. The SDK does not use any openssl APIs directly — the dependency exists only to ensure the macOS CRL verification bugfix from 3.3.1+ is present. The previous constraint blocked users on openssl 4.0. Fixes #144 --- Gemfile.lock | 2 +- braintrust.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 82c6de9..b74a707 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,7 +3,7 @@ PATH specs: braintrust (0.3.1) logger (>= 1.0) - openssl (~> 3.3.1) + openssl (>= 3.3.1, < 5.0) opentelemetry-exporter-otlp (~> 0.28) opentelemetry-sdk (~> 1.3) diff --git a/braintrust.gemspec b/braintrust.gemspec index 49eec91..7000eb0 100644 --- a/braintrust.gemspec +++ b/braintrust.gemspec @@ -38,5 +38,5 @@ Gem::Specification.new do |spec| # that occur with OpenSSL 3.6 + Ruby (certificate verify failed: unable to get certificate CRL). # See: https://github.com/ruby/openssl/issues/949 # This dependency may be removable in future Ruby versions once the fix is widely available. - spec.add_runtime_dependency "openssl", "~> 3.3.1" + spec.add_runtime_dependency "openssl", ">= 3.3.1", "< 5.0" end From 89f3ce2cbed6d0da325127e62e60033162ad6724 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Tue, 14 Apr 2026 16:27:57 -0400 Subject: [PATCH 2/2] chore: bump version to 0.3.2 --- Gemfile.lock | 2 +- lib/braintrust/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b74a707..777949e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - braintrust (0.3.1) + braintrust (0.3.2) logger (>= 1.0) openssl (>= 3.3.1, < 5.0) opentelemetry-exporter-otlp (~> 0.28) diff --git a/lib/braintrust/version.rb b/lib/braintrust/version.rb index 91eca89..8885811 100644 --- a/lib/braintrust/version.rb +++ b/lib/braintrust/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Braintrust - VERSION = "0.3.1" + VERSION = "0.3.2" end