Project

General

Profile

Actions

Support #16861

closed

Determine minimum version of Ruby we support

Added by Peter Amstutz over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Due date:
Story points:
-
Release relationship:
Auto

Description

Is the minimum version of Ruby we support in Arvados 2.1 going to be ruby 2.3 or ruby 2.5?

Our package build and test pipeline uses Ruby 2.5 from rvm. The last component that was testing with Ruby 2.3 was arvbox, but that's being moved to ruby 2.5. We can only support Ruby 2.3 if there's something in the jenkins pipeline that checks that it actually works.

Debian 10 and Ubuntu 18.04 have Ruby 2.5, so we can continue to recommend installing from packages.

Debian 9 and Ubuntu 16.04 have 2.3. If we require 2.5, the docs need to direct people to use rvm.


Subtasks 1 (0 open1 closed)

Task #16868: Say we don't support Ruby 2.3 must use 2.5ResolvedWard Vandewege09/22/2020Actions
Actions #1

Updated by Peter Amstutz over 3 years ago

  • Target version changed from 2020-10-07 Sprint to 2020-09-23 Sprint
Actions #2

Updated by Peter Amstutz over 3 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 3 years ago

  • Assigned To set to Peter Amstutz
Actions #4

Updated by Peter Amstutz over 3 years ago

  • Status changed from New to Rejected
  • Description updated (diff)
  • Subject changed from Update install docs now that minimum supported ruby version is 2.5 to Determine minimum version of Ruby we support
Actions #5

Updated by Peter Amstutz over 3 years ago

  • Status changed from Rejected to Feedback
Actions #6

Updated by Ward Vandewege over 3 years ago

Our documentation (https://doc.arvados.org/v2.0/install/ruby.html) states

Minimum of Ruby 2.3 is required. Ruby 2.5 is recommended.

As far as I know that is still correct.

We will be supporting Ubuntu 16.04 until at least April 2021. We will likely stop supporting Debian 9 soon.

Actions #7

Updated by Peter Amstutz over 3 years ago

Ward Vandewege wrote:

Our documentation (https://doc.arvados.org/v2.0/install/ruby.html) states

[...]

As far as I know that is still correct.

We will be supporting Ubuntu 16.04 until at least April 2021. We will likely stop supporting Debian 9 soon.

So my point above holds, if we continue to support Ruby 2.3, it needs to be used somewhere in the test pipeline.

Right now the Debian 9 and Ubuntu 16.04 package build-and-test Dockerfiles install Ruby 2.5 from RVM. These could be changed to use the system Ruby 2.3 instead. Or we could do something else.

Actions #8

Updated by Ward Vandewege over 3 years ago

As discussed during standup: Ruby 2.3 most likely still works, but we don't use it anymore in our tests and upstream support ended ~18 months ago (https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/). Update docs to state a minimum of Ruby 2.5. Users on Debian 9 and Ubuntu 16.04 will need to use RVM going forward.

Actions #9

Updated by Peter Amstutz over 3 years ago

  • Status changed from Feedback to Resolved
Actions #10

Updated by Peter Amstutz over 3 years ago

  • Release set to 25
Actions

Also available in: Atom PDF