guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 7/9] gnu: python-pytest: Update to 3.0.5.


From: Maxim Cournoyer
Subject: Re: [PATCH 7/9] gnu: python-pytest: Update to 3.0.5.
Date: Sun, 05 Feb 2017 15:11:08 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

address@hidden writes:

> From: ng0 <address@hidden>
>
> * gnu/packages/python.scm (python-pytest): Update to 3.0.5.
> [source]: Use "pypi-uri".
> ---
>  gnu/packages/python.scm | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 7bdd371b5..a4179a67a 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -1738,16 +1738,14 @@ code introspection, and logging.")
>  (define-public python-pytest
>    (package
>      (name "python-pytest")
> -    (version "2.7.3")
> +    (version "3.0.5")
>      (source
>       (origin
>         (method url-fetch)
> -       (uri (string-append
> -             "https://pypi.python.org/packages/source/p/pytest/pytest-";
> -             version ".tar.gz"))
> +       (uri (pypi-uri "pytest" version))
>         (sha256
>          (base32
> -         "1z4yi986f9n0p8qmzmn21m21m8j1x78hk3505f89baqm6pdw7afm"))
> +         "1z9pj39w0r2gw5hsqndlmsqa80kgbrann5kfma8ww8zhaslkl02a"))
>         (modules '((guix build utils)))
>         (snippet
>          ;; One of the tests involves the /usr directory, so it fails.
> @@ -1758,6 +1756,7 @@ code introspection, and logging.")
>      (propagated-inputs
>       `(("python-py" ,python-py)))
>      (native-inputs
> +     ;; If we add python-hypothesis here, it creates an circular
> depedency.

s/depedency/dependency/

>       `(("python-nose" ,python-nose)
>         ("python-mock" ,python-mock)))
>      (home-page "http://pytest.org";)

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]