all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7.
Date: Wed, 8 Feb 2017 12:49:30 +0000	[thread overview]
Message-ID: <20170208124930.bh4k2ow365vj3e5r@wasp> (raw)
In-Reply-To: <8737fs8bpv.fsf@gmail.com>

On 17-02-05 15:22:20, Maxim Cournoyer wrote:
> contact.ng0@cryptolab.net writes:
> 
> > From: ng0 <ng0@libertad.pw>
> >
> > * gnu/packages/python.scm (python-pytest-httpbin-0.0.7): New variable.
> > ---
> >  gnu/packages/python.scm | 23 +++++++++++++++++++++++
> >  1 file changed, 23 insertions(+)
> >
> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > index 9c3a031e1..7bdd371b5 100644
> > --- a/gnu/packages/python.scm
> > +++ b/gnu/packages/python.scm
> > @@ -1975,6 +1975,29 @@ thread running httpbin and provides your test with the URL in the fixture.")
> >  (define-public python2-pytest-httpbin
> >    (package-with-python2 python-pytest-httpbin))
> >  
> > +;; Some packages like "searx" need this old version.
> > +(define-public python-pytest-httpbin-0.0.7
> > +  (package
> > +    (inherit python-pytest-httpbin)
> > +    (version "0.0.7")
> > +    (source
> > +     (origin
> > +       (method url-fetch)
> > +       (uri (pypi-uri "pytest-httpbin" version))
> > +       (sha256
> > +        (base32
> > +         "08ghq923dn33rllip3vap2p9fb680g0i96jdn5lcpfy8amq8mbq3"))))))
> > +
> > +(define-public python2-pytest-httpbin-0.0.7
> > +  (package
> > +    (inherit (package-with-python2
> > +              (strip-python2-variant python-pytest-httpbin-0.0.7)))
> > +    (inputs
> > +     `(("python2-flask" ,python2-flask)
> > +       ("python2-decorator" ,python2-decorator)
> > +       ("python2-httpbin" ,python2-httpbin)
> > +       ("python2-six" ,python2-six)))))
> > +
> 
> Again, shouldn't those be propagated-inputs? Unless I missed something
> this was the recommendation going forward for Python runtime dependencies.
> 
> >  (define-public python-scripttest
> >    (package
> >      (name "python-scripttest")

Definitely. These patches predate the proposed changes and I didn't
check all of them.

I don't have the time to apply changes this work week. I'll see to apply
changes on sunday or monday.

Any reviews etc in the next days are considered with the next patch
submission.

Thanks!
-- 
ng0 -- https://www.inventati.org/patternsinthechaos/

  reply	other threads:[~2017-02-08 12:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04 16:34 Some searx requirements contact.ng0
2017-02-04 16:34 ` [PATCH 1/9] gnu: python-dateutils-2: Update to 2.5.3 contact.ng0
2017-02-08  7:35   ` Danny Milosavljevic
2017-02-04 16:34 ` [PATCH 2/9] gnu: Add python-gunicorn contact.ng0
2017-02-05 23:19   ` Maxim Cournoyer
2017-02-04 16:35 ` [PATCH 3/9] gnu: Add python-httpbin contact.ng0
2017-02-05 23:16   ` Maxim Cournoyer
2017-02-04 16:35 ` [PATCH 4/9] gnu: Add python-pytest-httpbin contact.ng0
2017-02-04 16:35 ` [PATCH 5/9] gnu: Add python-pysocks contact.ng0
2017-02-04 16:35 ` [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7 contact.ng0
2017-02-05 23:22   ` Maxim Cournoyer
2017-02-08 12:49     ` ng0 [this message]
2017-02-04 16:35 ` [PATCH 7/9] gnu: python-pytest: Update to 3.0.5 contact.ng0
2017-02-05 23:11   ` Maxim Cournoyer
2017-02-04 16:35 ` [PATCH 8/9] gnu: python-requests: Update to 2.12.4 contact.ng0
2017-02-04 16:35 ` [PATCH 9/9] gnu: python-requests: Add python-pysocks to propagated-inputs contact.ng0
2017-02-04 16:40 ` Some searx requirements ng0

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

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

  git send-email \
    --in-reply-to=20170208124930.bh4k2ow365vj3e5r@wasp \
    --to=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.