-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 Ruby 2.6 runtime support #11791
Conversation
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support: - https://www.ruby-lang.org/en/downloads/branches/ - https://docs.rubocop.org/rubocop/compatibility.html#support-matrix CRuby 2.6 compatible JRuby 9.3 will be dropped and CRuby 2.7 compatible JRuby 9.4+ is required.
Looks good. Thanks! |
Follow up rubocop/rubocop#11791.
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevent the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Minitest will continue to support JRuby 9.4+.
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevent the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Minitest will continue to support JRuby 9.4+.
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevents the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Minitest will continue to support JRuby 9.4+.
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevents the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Rails will continue to support JRuby 9.4+.
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevents the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Performance will continue to support JRuby 9.4+.
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevents the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Rails will continue to support JRuby 9.4+.
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevents the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Rails will continue to support JRuby 9.4+.
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevents the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Performance will continue to support JRuby 9.4+.
Note that Ruby 2.6 is still the system ruby version on the latest macos: https://apple.stackexchange.com/questions/107853/which-versions-of-mac-os-x-have-ruby-installed-by-default/107974#107974 Thus, this introduces complications for projects like Homebrew that target system ruby on macos systems. In light of this, would the |
Why would Homebrew need to run RuboCop on Ruby 2.6? Normally you run it for some just CI env and you specify the Ruby version that you target (e.g. 2.6). |
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support: https://www.ruby-lang.org/en/downloads/branches/ https://docs.rubocop.org/rubocop/compatibility.html#support-matrix Follow up: rubocop/rubocop#11791
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support: https://www.ruby-lang.org/en/downloads/branches/ https://docs.rubocop.org/rubocop/compatibility.html#support-matrix Follow up: rubocop/rubocop#11791
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support: https://www.ruby-lang.org/en/downloads/branches/ https://docs.rubocop.org/rubocop/compatibility.html#support-matrix Follow up: rubocop/rubocop#11791
The master brach of RuboCop has been dropped Ruby 2.6 runtime support. rubocop/rubocop#11791 This PR fixes the following build error: ``` Run cd ../rubocop && bundle install --jobs 3 --retry 3 Your RubyGems version (3.0.3.1) has a bug that prevents `required_ruby_version` from working for Bundler. Any scripts that use `gem install bundler` will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running `gem update --system 3.2.3` Fetching gem metadata from https://rubygems.org/.......... Resolving dependencies... Could not find compatible versions Because every version of rubocop depends on Ruby >= 2.7.0 and Gemfile depends on rubocop >= 0, Ruby >= 2.7.0 is required. So, because current Ruby version is = 2.6.10, version solving has failed. ``` https://github.com/rubocop/rubocop-ast/actions/runs/4857086508/jobs/8657259864
The master brach of RuboCop has been dropped Ruby 2.6 runtime support. rubocop/rubocop#11791 This PR fixes the following build error: ``` Run cd ../rubocop && bundle install --jobs 3 --retry 3 Your RubyGems version (3.0.3.1) has a bug that prevents `required_ruby_version` from working for Bundler. Any scripts that use `gem install bundler` will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running `gem update --system 3.2.3` Fetching gem metadata from https://rubygems.org/.......... Resolving dependencies... Could not find compatible versions Because every version of rubocop depends on Ruby >= 2.7.0 and Gemfile depends on rubocop >= 0, Ruby >= 2.7.0 is required. So, because current Ruby version is = 2.6.10, version solving has failed. ``` https://github.com/rubocop/rubocop-ast/actions/runs/4857086508/jobs/8657259864
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support: https://www.ruby-lang.org/en/downloads/branches/ https://docs.rubocop.org/rubocop/compatibility.html#support-matrix Follow up: rubocop/rubocop#11791
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support: https://www.ruby-lang.org/en/downloads/branches/ https://docs.rubocop.org/rubocop/compatibility.html#support-matrix Follow up: rubocop/rubocop#11791
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support: https://www.ruby-lang.org/en/downloads/branches/ https://docs.rubocop.org/rubocop/compatibility.html#support-matrix Follow up: rubocop/rubocop#11791
Follow up #11791. RuboCop runtime supports only Ruby >= 2.7, so it removes a redundant `Symbol#to_s`.
Ruby 2.6 runtime support was dropped in PR: rubocop#11791
@@ -0,0 +1 @@ | |||
* [#10791](https://github.com/rubocop/rubocop/pull/10791): **(Breaking)** Drop runtime support for Ruby 2.6 and JRuby 9.3 (CRuby 2.6 compatible). ([@koic][]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #11979
Ruby 2.6 runtime support was dropped in PR: #11791
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevents the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Performance will continue to support JRuby 9.4+.
Follow up rubocop/rubocop#11791. This PR drops Ruby 2.6 support. And JRuby has been dropped from the CI matrix because no JRuby-specific issues have been found and prevents the following build error: ```console #!/bin/bash -eo pipefail bundle install Fetching https://github.com/rubocop/rubocop.git You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git Exited with code exit status 11 CircleCI received exit code 11 ``` https://app.circleci.com/pipelines/github/rubocop/rubocop-minitest/926/workflows/68776b54-5856-4acd-a99a-f41df114634d/jobs/6034 This does not mean no support for JRuby. RuboCop Performance will continue to support JRuby 9.4+.
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support: https://www.ruby-lang.org/en/downloads/branches/ https://docs.rubocop.org/rubocop/compatibility.html#support-matrix Follow up: rubocop/rubocop#11791
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support: https://www.ruby-lang.org/en/downloads/branches/ https://docs.rubocop.org/rubocop/compatibility.html#support-matrix Follow up: rubocop/rubocop#11791
This PR drops Ruby 2.6 runtime support. The next release will be the time to drop Ruby 2.6 support:
CRuby 2.6 compatible JRuby 9.3 will be dropped and CRuby 2.7 compatible JRuby 9.4+ is required.
Before submitting the PR make sure the following are checked:
[Fix #issue-number]
(if the related issue exists).master
(if not - rebase it).bundle exec rake default
. It executes all tests and runs RuboCop on its own code.{change_type}_{change_description}.md
if the new code introduces user-observable changes. See changelog entry format for details.