Bug#1029523: ruby-net-http-persistent want Ruby (~> 2.1)

2023-03-01 Thread Pirate Praveen

Control: severity -1 important

On Thu, 23 Feb 2023 21:33:31 +0100 Paul Gevers  
wrote:

> Hi,
>
> On Tue, 24 Jan 2023 00:21:06 +0530 Pirate Praveen
>  wrote:
> >   net-http-persistent (~> 3.0, >= 3.0.0) was resolved to 3.1.0,
> > which depends on
> > Ruby (~> 2.1)
>
> This doesn't seem to be an issue on reproducible builds [1] when
> building ruby-faraday. Does that make sense?

Only bundler or rubygems checks this dependency requirement. It might 
just work fine on ruby 3.1. For now the easiest fix was to update to 
4.0 (for gitlab, where this bug appeared - in gitlab postinst, we use 
bundle install --local to verify all dependency requirements are 
satisfied), in which upstream has removed this constraint. May be we 
can ignore it for now (lowered the severity, as gitlab is not in 
bookworm).




Bug#1029523: ruby-net-http-persistent want Ruby (~> 2.1)

2023-02-23 Thread Paul Gevers

Hi,

On Tue, 24 Jan 2023 00:21:06 +0530 Pirate Praveen 
 wrote:
  net-http-persistent (~> 3.0, >= 3.0.0) was resolved to 3.1.0, 
which depends on

Ruby (~> 2.1)


This doesn't seem to be an issue on reproducible builds [1] when 
building ruby-faraday. Does that make sense?


Paul

[1] https://tests.reproducible-builds.org/debian/history/ruby-faraday.html


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1029523: ruby-net-http-persistent want Ruby (~> 2.1)

2023-01-23 Thread Pirate Praveen

Package: ruby-net-http-persistent
Severity: grave
Justification: unable to install gitlab or use with bundler

Just add this to Gemfile.
gem "telesign"

and run,
bundle install --local
Don't run Bundler as root. Bundler can ask for sudo if it is needed, 
and installing your bundle as root will

break this application for all non-root users on this machine.
[DEPRECATED] This Gemfile does not include an explicit global source. 
Not using an explicit global source may result in a different lockfile 
being generated depending on the gems you have installed locally before 
bundler is run. Instead, define a global source in your Gemfile like 
this: source "https://rubygems.org";.

Resolving dependencies...
Bundler found conflicting requirements for the Ruby version:
 In Gemfile:
   Ruby

   telesign was resolved to 2.2.3, which depends on
 net-http-persistent (~> 3.0, >= 3.0.0) was resolved to 3.1.0, 
which depends on

   Ruby (~> 2.1)


This comes from the gemspec
https://salsa.debian.org/ruby-team/ruby-net-http-persistent/-/blob/master/net-http-persistent.gemspec#L23