[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Do R autopkgtests not respect versioned Deps?



Hi Graham,

On 9/21/21 12:19 AM, Graham Inggs wrote:
> Hi Nilesh
> 
> On Mon, 20 Sept 2021 at 09:39, Nilesh Patra <nilesh@nileshpatra.info> wrote:
>> $ apt show ./r-cran-tmb_1.7.21-2_amd64.deb | grep 'r-cran-matrix'
>>
>> Depends: r-base-core (>= 4.1.1-2), r-api-4.0, r-cran-matrix (>= 1.3-4), r-cran-rcppeigen, libblas3 | libblas.so.3, libc6 (>= 2.29), libgcc-s1 (>= 3.0), libgomp1 (>= 4.2.1), liblapack3 | liblapack.so.3, libstdc++6 (>= 5.2)
>>
>> However, despite this versioned dep, the autopkgtest on debci pulls 1.3-2 of rmatrix, see here[1]. I also do not see
>> anything versioned either.
>> Why is this happening?
> 
> 1.3-2-1 is greater than 1.3-4 (note the double - signs)
> 
> dpkg --compare-versions 1.3-2-1 gt 1.3-4 && echo true

Interesting. Thanks for the pointer!
I'd have never known if R upstream treated "-" and "." as different.

Cheers,

-- 
Nilesh Patra

Debian Developer, Uploading
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  
  ⢿⡄⠘⠷⠚⠋   nilesh@debian.org / nileshpatra.info / tchncs.de
  ⠈⠳⣄

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: