On Fri, Nov 29, 2019 at 04:59:31AM -0800, Martin Becze wrote: > On 2019-11-28 12:22, Efraim Flashner wrote: > > I'll take a look at it in a minute. I figured with the versioned > > requirements we would always want to be specific in version numbers for > > crate dependents so I figured it made sense. Also, if we did want to > > provide an unversioned '-latest' version we could declare an extra > > variable '(define-public rust-libc rust-libc-0.2)' and now rust-libc > > points to rust-libc-0.2. > > one thing to keep in mind is that (recursive-import-semver) is suppose > to be generic so what ever naming logic we apply here for rust libs > should be universal. As far as other languages go, I'm pretty sure python only requests major+minor version. Perl's minimum versions are normally a full version string, so truncating that probably wouldn't be a good choice. Another option would be to truncate to just major+minor (in the inputs) only when it comes time to print out the package. Also, we don't want Guix to think 1.2.3 can only be upgraded to 1.2.3.4 and not to 1.2.4. -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted