Project

General

Profile

Actions

Bug #18309

closed

[gem] faraday dependency difference between arvados and arvados-login-sync

Added by Ward Vandewege over 2 years ago. Updated over 2 years ago.

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

Description

On ruby 2.5:

# ruby -v
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux-gnu]
# /usr/local/bin/arvados-login-sync -h
Traceback (most recent call last):
    7: from /usr/local/bin/arvados-login-sync:23:in `<main>'
    6: from /usr/lib/ruby/2.5.0/rubygems.rb:304:in `activate_bin_path'
    5: from /usr/lib/ruby/2.5.0/rubygems.rb:304:in `synchronize'
    4: from /usr/lib/ruby/2.5.0/rubygems.rb:305:in `block in activate_bin_path'
    3: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1440:in `activate'
    2: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:in `activate_dependencies'
    1: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:in `each'
/usr/lib/ruby/2.5.0/rubygems/specification.rb:1466:in `block in activate_dependencies': can't satisfy 'faraday (< 0.16)', already activated 'faraday-0.17.4' (Gem::LoadError)
# gem list |grep arv
arvados (2.3.0)
arvados-cli (2.3.0)
arvados-google-api-client (0.8.7.4)
arvados-login-sync (2.3.0)
gem list |grep faraday
faraday (0.17.4, 0.15.4)
 gem uninstall faraday -v 0.15.4

You have requested to uninstall the gem:
    faraday-0.15.4

arvados-login-sync-2.3.0 depends on faraday (< 0.16)
If you remove this gem, these dependencies will not be met.
Continue with Uninstall? [yN]  n
# gem uninstall faraday -v0.17.4

You have requested to uninstall the gem:
    faraday-0.17.4

arvados-2.3.0 depends on faraday (>= 0.17.4)
If you remove this gem, these dependencies will not be met.
Continue with Uninstall? [yN]  n

Subtasks 1 (0 open1 closed)

Task #18310: review 18309-faraday-dependencyResolvedWard Vandewege10/29/2021Actions

Related issues

Related to Arvados - Bug #18247: [arv] faraday gem warnings on Ruby 2.7+ResolvedWard Vandewege10/05/2021Actions
Actions #1

Updated by Ward Vandewege over 2 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Ward Vandewege over 2 years ago

  • Description updated (diff)
Actions #3

Updated by Ward Vandewege over 2 years ago

  • Related to Bug #18247: [arv] faraday gem warnings on Ruby 2.7+ added
Actions #4

Updated by Ward Vandewege over 2 years ago

  • Release set to 45
Actions #5

Updated by Ward Vandewege over 2 years ago

ready for review at f138dab54f33e4247f21c26dd938b11646597b28 on branch 18309-faraday-dependency

Actions #6

Updated by Lucas Di Pentima over 2 years ago

LGTM, thanks!

Actions #7

Updated by Ward Vandewege over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF