-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Bump Prism version to 1.5.0 #14532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump Prism version to 1.5.0 #14532
Conversation
2432899 to
044ba76
Compare
Prism can parse multiple versions of ruby. Because of that branch release managers are ok with simply bumping prism to its latest version. However, if no version is specified, it will parse as the latest known version, which can be ahead of the maintenance branch. So we need to explicitly pass a version to not accidentally introduce new syntax to maintenance branches.
This reverts commit a495e6a. This break extension builds: ``` /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:321:in 'String#replace': can't modify frozen String: "$(SDKROOT)$(prefix)/include" (FrozenError) from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:321:in 'RbConfig.expand' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:314:in 'block in RbConfig.expand' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'String#gsub' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'RbConfig.expand' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:314:in 'block in RbConfig.expand' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'String#gsub' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'RbConfig.expand' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:314:in 'block in RbConfig.expand' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'String#gsub' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:307:in 'RbConfig.expand' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:325:in 'block in <module:RbConfig>' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:324:in 'Hash#each_value' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:324:in '<module:RbConfig>' from /Users/hsbt/Documents/github.com/ruby/ruby/rbconfig.rb:11:in '<top (required)>' from ./ext/extmk.rb:42:in 'Kernel#require' from ./ext/extmk.rb:42:in '<main>' make[1]: *** [ext/configure-ext.mk:70: ext/json/exts.mk] Error 1 ```
044ba76 to
251d806
Compare
|
Is it possible that this is breaking ruby on Linux/i686? I'm getting segfaults when I build ruby against the 3.4 branch with prism 1.5.1 and run |
|
It's passing the Ubuntu i686 CI job, so I'm not sure if it's a Linux/i686 problem; it could be an issue in concurrent-ruby or your environment. Please file a PR to add a test case that fails on that CI if you believe that's a CRuby issue and need something in CRuby to be fixed. |
Thanks for that. I'm trying a rebuild off of the ruby_3_4 branch with Is there a good way to leverage the build in the Ubuntu i686 CI? Are there artifacts available? I'm happy to provide docker based reproducers that we are generating in Chromebrew. |
|
The definition is at ruby/.github/workflows/ubuntu.yml Lines 30 to 31 in 8cb7224
|
|
Thanks for that! I opened an issue at https://bugs.ruby-lang.org/issues/21607 as I didn't realize 3.4.6 was going to be cut so soon, so perhaps that is helpful. It includes our build run log with the output from |
on
ruby_3_4with the latest Prism ruby/prism@b4865f9.