Skip to content
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

Drop inifile dependency #206

Open
mhashizume opened this issue Feb 3, 2023 · 0 comments
Open

Drop inifile dependency #206

mhashizume opened this issue Feb 3, 2023 · 0 comments

Comments

@mhashizume
Copy link
Contributor

The inifile gem is used a few places (puppet-helpers and tk-helpers) in beaker-puppet to generate INI files.

This gem is unmaintained and quite old (last commits were ~8 years ago). inifile uses taint methods, which were deprecated in Ruby 2.7 and completely removed in Ruby 3.2 (see https://bugs.ruby-lang.org/issues/16131).

beaker-puppet should drop its dependency on inifile to avoid incompatibility with these methods and any potential future issues.

mhashizume added a commit to mhashizume/beaker-puppet that referenced this issue Feb 7, 2024
Ruby 3.2 removed Object#taint and #tainted?. One of beaker-puppet's
depenencies, inifile, uses those methods.

This commit updates the gemspec to limit usage on Ruby 3.2 and above.

Also see: puppetlabs#206
mhashizume added a commit to mhashizume/beaker-puppet that referenced this issue Feb 7, 2024
Ruby 3.2 removed Object#taint and #tainted?. One of beaker-puppet's
depenencies, inifile, uses those methods.

This commit updates the gemspec to limit usage on Ruby 3.2 and above.

Also see: puppetlabs#206
mhashizume added a commit to mhashizume/beaker-puppet that referenced this issue Feb 7, 2024
Ruby 3.2 removed Object#taint and #tainted?. One of beaker-puppet's
depenencies, inifile, uses those methods.

This commit updates the gemspec to limit usage on Ruby 3.2 and above.

Also see: puppetlabs#206
mhashizume added a commit to mhashizume/beaker-puppet that referenced this issue Feb 7, 2024
Ruby 3.2 removed Object#taint and #tainted?. One of beaker-puppet's
depenencies, inifile, uses those methods.

This commit updates the gemspec to limit usage on Ruby 3.2 and above.

Also see: puppetlabs#206
mhashizume added a commit to mhashizume/beaker-puppet that referenced this issue Feb 8, 2024
Ruby 3.2 removed Object#taint and #tainted?. One of beaker-puppet's
depenencies, inifile, uses those methods.

This commit updates the gemspec to limit usage on Ruby 3.2 and above.

Also see: puppetlabs#206
mhashizume added a commit to mhashizume/beaker-puppet that referenced this issue Feb 8, 2024
Ruby 3.2 removed Object#taint and #tainted?. One of beaker-puppet's
depenencies, inifile, uses those methods.

This commit updates the gemspec to limit usage on Ruby 3.2 and above.

Also see: puppetlabs#206
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

No branches or pull requests

1 participant