FS#69807 - [ruby-faraday] missing adapter for HTTP requests.

Attached to Project: Community Packages
Opened by bartus (bartus) - Saturday, 27 February 2021, 10:07 GMT
Last edited by Tim (bastelfreak) - Tuesday, 03 August 2021, 10:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Tim (bastelfreak)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

`faraday` requires at least one adapter for actual requests, but either `Typhoeus` nor `faraday-net_http` is listed in `ryby-faraday` dependency array.

Steps to reproduce:

e.g: install `AUR/ruby-travis` and stray `travis status`

error: Traceback (most recent call last):
12: from /usr/bin/travis:23:in `<main>'
11: from /usr/lib/ruby/2.7.0/rubygems.rb:301:in `activate_bin_path'
10: from /usr/lib/ruby/2.7.0/rubygems.rb:301:in `synchronize'
9: from /usr/lib/ruby/2.7.0/rubygems.rb:302:in `block in activate_bin_path'
8: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1370:in `activate'
7: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1388:in `activate_dependencies'
6: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1388:in `each'
5: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1406:in `block in activate_dependencies'
4: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1370:in `activate'
3: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1388:in `activate_dependencies'
2: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1388:in `each'
1: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1400:in `block in activate_dependencies'
/usr/lib/ruby/2.7.0/rubygems/dependency.rb:307:in `to_specs': Could not find 'faraday-net_http' (~> 1.0) among 177 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/bartus/.gem/ruby/2.7.0:/usr/lib/ruby/gems/2.7.0' , execute `gem env` for more information
This task depends upon

This task blocks these from closing
 FS#69053 - [ruby-faraday] missing dependency ruby2_keywords 
Closed by  Tim (bastelfreak)
Tuesday, 03 August 2021, 10:58 GMT
Reason for closing:  Fixed
Comment by bartus (bartus) - Saturday, 27 February 2021, 10:10 GMT
Installing `ruby-faraday-net_http` fixes the issue.
Comment by Tim (bastelfreak) - Sunday, 16 May 2021, 20:09 GMT
Hi,
sorry for the late reply. I need a bit of time to fix this. ruby-faraday and ruby-faraday-net_http depend on each other, which makes packaging tricky, but not impossible. I've a PKGBUILD for both, but ruby-faraday has many missing dependencies that I first need to package.
Comment by Tim (bastelfreak) - Tuesday, 03 August 2021, 10:58 GMT
hey,

After a long time I was able to push updates for faraday and all the adapter packages. A few of them won't work because we don't have the actual http implementation in our repos yet (like patron and excon). I'm going to close the issue, let me know if you notice further packages.

Loading...