You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2020/04/17 18:29:00 UTC

[jira] [Created] (AVRO-2807) Pin RuboCop to <=0.81

Kengo Seki created AVRO-2807:
--------------------------------

             Summary: Pin RuboCop to <=0.81
                 Key: AVRO-2807
                 URL: https://issues.apache.org/jira/browse/AVRO-2807
             Project: Apache Avro
          Issue Type: Bug
          Components: build, docker
            Reporter: Kengo Seki
            Assignee: Kengo Seki


RuboCop 0.82 has been released, which drops Ruby 2.3 support.
https://github.com/rubocop-hq/rubocop/releases/tag/v0.82.0

We are still using Ruby 2.3 in the Docker image, so creating container fails as follows. It have to be pinned to 0.81, just like AVRO-2664.

{code}
$ ./build.sh docker

(snip)

Step 16/27 : RUN bundle install --gemfile=/tmp/Gemfile
 ---> Running in 79407933cb02
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/.................
Fetching version metadata from https://rubygems.org/.
Resolving dependencies...
rubocop-0.82.0 requires ruby version >= 2.4.0, which is incompatible with the
current version, ruby 2.3.3p222
The command '/bin/sh -c bundle install --gemfile=/tmp/Gemfile' returned a non-zero code: 5
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)