FS#65229 - [ruby-faraday-middleware] 0.13.1 has broken dependencies

Attached to Project: Community Packages
Opened by Tim (bastelfreak) - Tuesday, 21 January 2020, 19:42 GMT
Last edited by Tim (bastelfreak) - Sunday, 22 August 2021, 17:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Tim (bastelfreak)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Hi. 0.13.1 has a hard dependency on faraday < 1.

Additional info:
* package version(s)

# pacman -Qi ruby-faraday ruby-faraday-middleware
Name : ruby-faraday
Version : 1.0.0-1
Description : HTTP/REST API client library.
Architecture : any
URL : https://github.com/lostisland/faraday
Licenses : MIT
Groups : None
Provides : None
Depends On : ruby ruby-multipart-post
Optional Deps : None
Required By : ruby-faraday-middleware ruby-puppet_forge
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 542.70 KiB
Packager : Felix Yan <felixonmars@archlinux.org>
Build Date : Fri Jan 3 06:45:43 2020
Install Date : Tue Jan 21 20:08:08 2020
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature

Name : ruby-faraday-middleware
Version : 0.13.1-2
Description : Various middleware for Faraday
Architecture : any
URL : https://github.com/lostisland/faraday_middleware
Licenses : MIT
Groups : None
Provides : None
Depends On : ruby ruby-faraday
Optional Deps : None
Required By : ruby-puppet_forge
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 105.49 KiB
Packager : Felix Yan <felixonmars@archlinux.org>
Build Date : Thu Dec 26 02:04:53 2019
Install Date : Tue Jan 21 20:08:08 2020
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature


* config and/or log files etc.

An import raises an Gem::MissingSpecVersionError exception. pry/irb show the errors:
Gem::MissingSpecVersionError: Could not find 'faraday' (>= 0.7.4, < 1.0) - did find: [faraday-1.0.0]

* link to upstream bug report, if any

Steps to reproduce:

pacman -S ruby-faraday-middleware ruby-faraday ruby-irb
irb
require 'faraday_middleware'


I also suggest to build the gem from source and execute the tests. That would have prevented the error/broken package.
This task depends upon

Closed by  Tim (bastelfreak)
Sunday, 22 August 2021, 17:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  I adopted the packages and updated them
Comment by Tim (bastelfreak) - Tuesday, 10 March 2020, 22:35 GMT
Hi people,
this issue still exists in ruby-faraday 1.0.0-1 / ruby-faraday-middleware 0.14.0-1

Loading...