[DRE-maint] Bug#1000333: gem2deb: ignore or find a way to make <= constraint in gemspec work

Antonio Terceiro terceiro at debian.org
Mon Nov 29 14:13:54 GMT 2021


Control: tag -1 - wontfix

> Sent from my Android device with K-9 Mail. Please excuse my brevity.
On Tue, Nov 23, 2021 at 06:21:14AM +0530, Pirate Praveen wrote:
> 
> 
> 2021, നവംബർ 22 11:12:36 PM IST, Antonio Terceiro <terceiro at debian.org>ൽ എഴുതി
> >Control: tag -1 + wontfix
> >
> >On Sun, Nov 21, 2021 at 11:51:22PM +0530, Pirate Praveen wrote:
> >> Package: gem2deb
> >> Version: 1.7
> >> Severity: wishlist
> >> 
> >> should we really honor <= constraint in gemspecs? in ruby-google-fog
> >> upstream wants fog-core <= 2.1.0 it will never be satisfied in debian
> >> 
> >> because 2.1.0-1 >= 2.1.0 and we have 2.1.0-3.1 in archive
> >> 
> >> we could either ignore or may be detect the current version in the archive
> >> (it will require a rebuild if dependency change)
> >
> >In cases like this, IMO the gemspec needs to be patched to drop such
> >dependency. Even if we did ignore it and didn't represent that with a
> >corresponding << constraint in debian/control, the dependency check will
> >still fail during the build unless the gemspec is patched.
> 
> In this specific case the build did not fail, only installation during autopkgtest that failed because of control file.
> 
> fog-core version in its gemspec is 2.1.0 and it satisfies.
> 
> This is to take care of debian revision only, for new upstream versions, we still have to patch if update needed.

Yes, now I understand what is the issue. I think we could fix that by
translating <= x.y to <= x.y-9999 ?

<= is not handled in any special way at the moment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211129/dadf0ec0/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list