Skip to content

Test Ruby 4.0 compatibility - #289

Closed
bastelfreak wants to merge 1 commit into
OpenVoxProject:mainfrom
bastelfreak:ruby4
Closed

Test Ruby 4.0 compatibility#289
bastelfreak wants to merge 1 commit into
OpenVoxProject:mainfrom
bastelfreak:ruby4

Conversation

@bastelfreak

Copy link
Copy Markdown
Contributor

No description provided.

@ekohl

ekohl commented Jan 6, 2026

Copy link
Copy Markdown
Contributor
  1) Puppet::Util::Execution#execpipe should set LANG to C avoid localized output
     Failure/Error:
       open("| #{command_str} 2>&1") do |pipe| # rubocop:disable Security/Open
         yield pipe
       end
     Errno::ENOENT:
       No such file or directory @ rb_sysopen - | echo $LANG 2>&1
     # ./lib/puppet/util/execution.rb:82:in 'File#initialize'
     # ./lib/puppet/util/execution.rb:82:in 'Kernel#open'
     # ./lib/puppet/util/execution.rb:82:in 'block in Puppet::Util::Execution.execpipe'
     # ./lib/puppet/util.rb:88:in 'Puppet::Util.withenv'
     # ./lib/puppet/util/execution.rb:80:in 'Puppet::Util::Execution.execpipe'
     # ./spec/integration/util/execution_spec.rb:9:in 'block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:182:in 'block (2 levels) in <top (required)>'
     # ./vendor/bundle/ruby/4.0.0/gems/webmock-3.26.1/lib/webmock/rspec.rb:39:in 'block (2 levels) in <top (required)>'
     # util/rspec_runner:47:in 'Parallel::RSpec::Runner#run'
     # util/rspec_runner:61:in '<main>'

Completely untested, but #295 may solve this.

@Sharpie

Sharpie commented Jul 14, 2026

Copy link
Copy Markdown
Member

Closing this out as we started testing against Ruby 4.0 in PR #311

@Sharpie Sharpie closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants