unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Inherit inputs when unnecessary in these python2 packages?
Date: Sun, 14 Feb 2016 14:09:35 -0500	[thread overview]
Message-ID: <20160214190935.GB18708@jasmine> (raw)
In-Reply-To: <20160214144832.GG6684@debian>

On Sun, Feb 14, 2016 at 03:48:32PM +0100, Andreas Enge wrote:
> On Sat, Feb 13, 2016 at 06:10:17PM -0800, Christopher Allan Webber wrote:
> > >     (native-inputs
> > >      `(("python-setuptools-scm" ,python-setuptools-scm)))
> > > 
> > > (define-public python2-execnet
> > >   (package
> > >     (inherit (package-with-python2
> > >               (strip-python2-variant python-execnet)))
> > >     (inputs
> > >      `(("python2-setuptools" ,python2-setuptools)))))
> > 
> > As you can see, there is no inputs on python-execnet, so it's not
> > necessary to include the inputs.  However, if (inputs) were added in the
> > future, this could lead to a developer mistakenly forgetting to change
> > the python2 variant.
> 
> This looks suspicious; should the python2-setuptools not also be a
> native input? Then accidentally the problem you mention would also
> disappear.

Yes, I pointed this out to Christopher after missing it in my review. It
should be fixed at some point.

      reply	other threads:[~2016-02-14 19:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-14  2:10 Inherit inputs when unnecessary in these python2 packages? Christopher Allan Webber
2016-02-14  3:19 ` Leo Famulari
2016-02-14 14:48 ` Andreas Enge
2016-02-14 19:09   ` Leo Famulari [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160214190935.GB18708@jasmine \
    --to=leo@famulari.name \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).