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 support for Ruby 2.5 #836

Merged
merged 2 commits into from
Dec 25, 2022
Merged

Drop support for Ruby 2.5 #836

merged 2 commits into from
Dec 25, 2022

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Sep 25, 2021

Summary

Drop support for Ruby 2.5

Details

  • Require Ruby 2.6 or higher in the gemspec
  • Update RuboCop configuration and fix new offenses
  • Update set of Rubies in CI

Motivation and Context

With the release of JRuby 9.3.0.0, we can drop compatibility with Ruby 2.5. MRI 2.5 has been unmaintained for a while now.

How Has This Been Tested?

CI

Types of changes

This is a potentially breaking change for versions of rubygems and bundler that do not take ruby version requirements into account. From the standpoint of semver, it is not a breaking API change so does not require a major version bump.

Checklist:

  • I've added tests for my code
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@mvz mvz force-pushed the drop-support-for-ruby-2-5 branch from 7b5ce29 to f3539c4 Compare September 25, 2021 12:49
@mvz mvz force-pushed the drop-support-for-ruby-2-5 branch from f3539c4 to e2dbead Compare September 26, 2021 06:27
@mvz
Copy link
Contributor Author

mvz commented Oct 1, 2021

I'm going to delay this until cucumber itself drops support for 2.5.

@mvz mvz added the on-hold This issue is waiting for something else to happen first. label Oct 1, 2021
@mvz mvz force-pushed the drop-support-for-ruby-2-5 branch from e2dbead to 4bc7347 Compare November 13, 2021 14:16
@mvz
Copy link
Contributor Author

mvz commented May 20, 2022

Cucumber 8 has dropped support for Ruby 2.5. I'm first going to release a version with cucumber 8 support. After that, I'm going to revisit this pull request.

@mvz mvz force-pushed the drop-support-for-ruby-2-5 branch 2 times, most recently from b58ed24 to c4e472c Compare May 20, 2022 08:57
@mvz
Copy link
Contributor Author

mvz commented May 22, 2022

It seems there's a consistent test failure with Ruby 3.1 on Windows that is only now coming to light because this pull request adds Ruby 3.1 to the matrix on Windows.

The failure messages point to ChildProcess, but that project is not up-to-date on test environments so it's hard to tell whether Aruba is doing something wrong that only comes to light in that combination, or there's a problem with the combination of ChildProcess, Ruby 3.1 and Windows.

mvz added 2 commits December 25, 2022 11:38
- Require Ruby 2.6 or higher in the gemspec
- Update RuboCop configuration and fix new offenses
- Update set of Rubies in CI
ChildProcess does not play nice with Ruby 3.1 build for Windows used in
GitHub Actions. See enkessler/childprocess#182
@mvz mvz force-pushed the drop-support-for-ruby-2-5 branch from c4e472c to cb53cc8 Compare December 25, 2022 10:38
@mvz mvz marked this pull request as ready for review December 25, 2022 10:38
@mvz
Copy link
Contributor Author

mvz commented Dec 25, 2022

I dropped 3.1 from the Windows build set for now.

@mvz mvz merged commit cfcdef2 into main Dec 25, 2022
@mvz mvz deleted the drop-support-for-ruby-2-5 branch December 25, 2022 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold This issue is waiting for something else to happen first.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants