Skip to content

Commit 960c7d8

Browse files
authored
bump rb-sys dependencies (#1830)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Bump `rb-sys` and `rb-sys-env` dependencies and update GitHub Actions workflow for Ruby build. > > - **Dependencies**: > - Bump `rb-sys` to `0.9.111` in `Cargo.lock`, `Gemfile`, and `Cargo.toml`. > - Bump `rb-sys-env` to `0.2.2` in `Cargo.lock` and `Cargo.toml`. > - **GitHub Actions**: > - Change branch from `aaron-fix` to `bump-ruby` in `build-ruby-release.reusable.yaml`. > - Remove `x86-64_linux-setup.sh` script and related comments in `build-ruby-release.reusable.yaml`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 3160ef9. You can [customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this summary. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
1 parent d27e729 commit 960c7d8

File tree

6 files changed

+22
-34
lines changed

6 files changed

+22
-34
lines changed

.github/workflows/build-ruby-release.reusable.yaml

+2-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: BAML Release - Build Ruby
33
on:
44
workflow_call: {}
55
push:
6-
branches: [aaron-fix]
6+
branches: [bump-ruby]
77

88
permissions:
99
contents: read
@@ -20,15 +20,8 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
_:
23+
# Note needs glibc 2.29 https://github.com/rake-compiler/rake-compiler-dock/issues/122
2324
- platform: x86_64-linux
24-
# This is necessary because rb-sys-dock depends on manylinux2014,
25-
# which is based on CentOS 7 which is EOL as of July 2024 Once
26-
# rake-compiler-dock switches to manylinux_2_28 and rb-sys-dock
27-
# picks that up, we can pick their updates up and then drop this.
28-
# See https://github.com/oxidize-rb/rb-sys/issues/402 and
29-
# https://github.com/rake-compiler/rake-compiler-dock/issues/122
30-
# for more details.
31-
rb-sys-dock-setup: ./x86-64_linux-setup.sh
3225
- platform: x86_64-linux-musl
3326
- platform: aarch64-linux
3427
- platform: aarch64-linux-musl

engine/Cargo.lock

+12-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/language_client_ruby/Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gemspec
88
gem "rake", "~> 13.0"
99
gem "rake-compiler", "~> 1.2"
1010
# Must be kept in sync with Cargo.toml
11-
gem "rb_sys", "=0.9.98"
11+
gem "rb_sys", "=0.9.111"
1212

1313
group :test do
1414
gem "async"

engine/language_client_ruby/Gemfile.lock

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
baml (0.84.3)
4+
baml (0.84.4)
55

66
GEM
77
remote: https://rubygems.org/
@@ -32,7 +32,9 @@ GEM
3232
rake (13.2.1)
3333
rake-compiler (1.2.7)
3434
rake
35-
rb_sys (0.9.98)
35+
rake-compiler-dock (1.9.1)
36+
rb_sys (0.9.111)
37+
rake-compiler-dock (= 1.9.1)
3638
ruby-progressbar (1.13.0)
3739
safe_type (1.1.1)
3840
sorbet-coerce (0.7.0)
@@ -53,7 +55,7 @@ DEPENDENCIES
5355
minitest-reporters
5456
rake (~> 13.0)
5557
rake-compiler (~> 1.2)
56-
rb_sys (= 0.9.98)
58+
rb_sys (= 0.9.111)
5759
sorbet-coerce
5860
sorbet-runtime
5961
sorbet-struct-comparable

engine/language_client_ruby/ext/ruby_ffi/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jsonish = { path = "../../../baml-lib/jsonish" }
2222
log.workspace = true
2323
magnus = { version = "0.7.1", features = ["rb-sys"] }
2424
# Must be kept in sync with ../../Gemfile
25-
rb-sys = { version = "0.9.99", features = [
25+
rb-sys = { version = "0.9.111", features = [
2626
"global-allocator",
2727
"bindgen-rbimpls",
2828
"bindgen-deprecated-types",
@@ -44,4 +44,4 @@ version = "0.7.1"
4444
features = ["rb-sys", "embed"]
4545

4646
[build-dependencies]
47-
rb-sys-env = { version = "0.1" }
47+
rb-sys-env = { version = "0.2.2" }

engine/language_client_ruby/x86-64_linux-setup.sh

-13
This file was deleted.

0 commit comments

Comments
 (0)