Bug #18309

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

Added by Ward Vandewege about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
10/29/2021
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
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

Task #18310: review 18309-faraday-dependencyResolvedWard Vandewege


Related issues

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

Associated revisions

Revision 0c9dda66
Added by Ward Vandewege about 1 month ago

Merge branch '18309-faraday-dependency'

closes #18309

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <>

History

#1 Updated by Ward Vandewege about 1 month ago

  • Status changed from New to In Progress

#2 Updated by Ward Vandewege about 1 month ago

  • Description updated (diff)

#3 Updated by Ward Vandewege about 1 month ago

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

#4 Updated by Ward Vandewege about 1 month ago

  • Release set to 45

#5 Updated by Ward Vandewege about 1 month ago

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

#6 Updated by Lucas Di Pentima about 1 month ago

LGTM, thanks!

#7 Updated by Ward Vandewege about 1 month ago

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

Also available in: Atom PDF