Bug #15673

[SDKs][Ruby] Update faraday usage

Added by Tom Clegg over 2 years ago. Updated almost 2 years ago.

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

0%

Estimated time:
Story points:
-
Release relationship:
Auto

Description

From 2017: https://github.com/lostisland/faraday/commit/d18cc04be5c179b1b22b9dd1004030dd43b0ca58

"Warning: use of proxy(new_value) to set connection proxy have been DEPRECATED and will be removed in Faraday 1.0"

...and it seems to have stopped working at/before 0.16.2, making arvados-google-api-client incompatible.


Related issues

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

Associated revisions

Revision ae9fc56d
Added by Tom Clegg over 2 years ago

Merge branch '15673-faraday-pin'

refs #15673

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <>

Revision ca7f17d5 (diff)
Added by Tom Clegg over 2 years ago

Update login-sync Gemfile.lock.

refs #15673

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <>

History

#1 Updated by Ward Vandewege over 2 years ago

  • Assigned To set to Tom Clegg
  • Target version set to 2019-10-09 Sprint

#2 Updated by Ward Vandewege over 2 years ago

I have pushed the version with the faraday fix as the arvados-google-api-client gem version 0.8.7.3.

#3 Updated by Ward Vandewege over 2 years ago

  • Status changed from New to Resolved

#4 Updated by Tom Clegg over 2 years ago

"sudo -i gem install arvados-cli" (as recommended in install docs) should now produce a working arv command.

If you have already installed arvados-cli gem and you get this message:

Failed to connect to Arvados API server: wrong number of arguments (given 1, expected 0)

... then updating the arvados-google-api-client gem should resolve it:

sudo -i gem update arvados-google-api-client

#5 Updated by Peter Amstutz almost 2 years ago

  • Release set to 22

#6 Updated by Ward Vandewege 3 months ago

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

Also available in: Atom PDF