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

Could you set required_ruby_version >= 2.1? Latest 3.2.5 release is broken on Ruby 2.0 #69

Closed
ivoanjo opened this issue Apr 6, 2021 · 3 comments

Comments

@ivoanjo
Copy link
Contributor

ivoanjo commented Apr 6, 2021

Hello there!

I'm one of the maintainers for @DataDog's ddtrace gem. We still support customers running Ruby 2.0, and run our CI with Ruby 2.0 as well.

We've noticed that the latest 3.2.5 release no longer works on Ruby 2.0. Of course, it doesn't make any sense to ask upstream to still support Ruby 2.0 (good riddance), but I'd like to ask for two things:

  1. Could you add required_ruby_version = '>=2.1' (or some later version) to the gemspec and release a 3.2.6 with that change?
  2. Could you yank version 3.2.5, so that bundler doesn't try to install it on older rubies?

Thanks a lot, and let me know if there's anything I can help with to make this move faster :)

@olleolleolle
Copy link
Contributor

@ivoanjo Would you like to offer a PR with that change?

@ivoanjo
Copy link
Contributor Author

ivoanjo commented Apr 6, 2021

Sure, I'll whip up a PR in a few minutes!

ivoanjo added a commit to DataDog/rexml that referenced this issue Apr 6, 2021
Ruby 2.3 is the oldest Ruby that still passes all tests when running
`rake test`. By setting it in the `gemfile`, we ensure that older Ruby
versions don't try to use an incompatible `rexml` version.

(Note: It's probably trivial to support the older Rubies, but I'll
leave that for someone who is interested enough in doing the extra
work)

Issue ruby#69
@ivoanjo
Copy link
Contributor Author

ivoanjo commented Apr 6, 2021

PR opened #70 . Would be really nice if this could get released quickly! (Would save me from having to hack a workaround on our CI 😭 )

ivoanjo added a commit to DataDog/rexml that referenced this issue Apr 9, 2021
Ruby 2.6 is the oldest Ruby that's hasn't reached EOL.
By setting it in the `gemspec`, we ensure that older Ruby
versions don't try to use an incompatible `rexml` version.

Issue ruby#69
ivoanjo added a commit to DataDog/rexml that referenced this issue Apr 9, 2021
Ruby 2.6 is the oldest Ruby that hasn't reached EOL.
By setting it in the `gemspec`, we ensure that older Ruby
versions don't try to use an incompatible `rexml` version.

Issue ruby#69
ivoanjo added a commit to DataDog/rexml that referenced this issue Apr 9, 2021
This gem is no longer tested with Rubies older than 2.5,
and it's actually broken on at least <= 2.2.

By setting the minimum version in the `gemspec`, we ensure that older Ruby
versions don't try to use an incompatible `rexml` version.

Issue ruby#69
@kou kou closed this as completed in 072b02f Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants