Closed bastelfreak closed 1 month ago
Can one of the admins verify this patch?
I think this will work in both bundler and rubygems contexts:
- if platform == 'x64-mingw32' || platform == 'x86-mingw32'
+ if (platform == 'x64-mingw32' || platform == 'x86-mingw32') || Gem.win_platform?
# ffi 1.16.0 - 1.16.2 are broken on Windows
spec.add_runtime_dependency('ffi', '>= 1.15.5', '< 1.17.0', '!= 1.16.0', '!= 1.16.1', '!= 1.16.2')
spec.add_runtime_dependency('minitar', '~> 0.9')
+ elsif !Gem.java_platform?
+ spec.add_runtime_dependency('syslog', '~> 0.1.2')
end
end
gah this broke CI, I'll need to revert and resubmit after the runtime is fixed
/opt/puppetlabs/puppet/lib/ruby/3.2.0/bundler.rb
Writing lockfile to /root/Gemfile.lock
Resolving dependencies...
Could not find compatible versions
Because every version of puppet depends on syslog ~> 0.1.2
and syslog ~> 0.1.2 could not be found in locally installed gems,
puppet cannot be used.
So, because tmp.o83z2ywwyX depends on puppet = 8.11.0,
version solving has failed.
The syslog gem moves from default gems to a normal gem in Ruby 3.4. It raises the following warning on Ruby 3.3.5:
The ostruct gem moves from default gems to a normal gem in Ruby 3.5. It raises the following warning on Ruby 3.3.5: