GNU bug report logs - #54644
[PATCH 1/7] gnu: rust-nom-locate-4: Add 4.0.0

Previous Next

Package: guix-patches;

Reported by: Evgenii Lepikhin <e.lepikhin <at> corp.mail.ru>

Date: Wed, 30 Mar 2022 21:22:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 54644 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: Evgenii Lepikhin <e.lepikhin <at> corp.mail.ru>, 54644 <at> debbugs.gnu.org
Subject: Re: [bug#54644] [PATCH 4/7] gnu: rust-minimal-lexical 0.2: Update
 to 0.2.1.
Date: Thu, 31 Mar 2022 17:40:33 +0200
[Message part 1 (text/plain, inline)]
Efraim Flashner schreef op do 31-03-2022 om 17:47 [+0300]:
> On Thu, Mar 31, 2022 at 02:01:31PM +0200, Maxime Devos wrote:
> > Evgenii Lepikhin via Guix-patches via schreef op do 31-03-2022 om
> 00:35
> > [+0300]:
> > > +(define-public rust-minimal-lexical-0.2
> > > +  (package
> > > +    (name "rust-minimal-lexical")
> > > +    (version "0.2.1")
> > > +    (source
> > > +      (origin
> > > +        (method url-fetch)
> > > +        (uri (crate-uri "minimal-lexical" version))
> > > +        (file-name (string-append name "-" version ".tar.gz"))
> > > +        (sha256
> > > +         (base32
> "16ppc5g84aijpri4jzv14rvcnslvlpphbszc7zzp6vfkddf4qdb8"))))
> > > +    (build-system cargo-build-system)
> > > +    (home-page "https://github.com/Alexhuszagh/minimal-lexical")
> > > +    (synopsis "Fast float parsing conversion routines")
> > > +    (description "Fast float parsing conversion routines.")
> > > +    (license (list license:expat license:asl2.0))))
> > > +
> > >  (define-public rust-minimal-lexical-0.1
> > >    (package
> > >      (name "rust-minimal-lexical")
> > 
> > Instead of defining a new package, WDYT renaming 'rust-minimal-
> lexical-
> > 0.1' to 'rust-minimal-lexical' and updating it to 0.2?  If so,
> you'll
> > have to check if rust-nom <at> 7 still builds.
> 
> semver is very strongly followed in the rust community, so 0.1 isn't
> necessarily compatible with 0.2. That's how we've ended up with the
> numerical suffix on all the rust packages.

It isn't 100% theoretically compatible.  However, it might be
_sufficiently_ compatible for all packages using rust-minimal-lexical 
in Guix.  The same seems to hold often for non-Rust packages, I don't
see a reason to make an exception for Rust.  Why do we package separate
0.Y versions (or separate major versions, for that matter) for Rust
packages and not for, say, Guile, Python and C packages?

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.