guix-devel
[Top][All Lists]
Advanced

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

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


From: contact . ng0
Subject: [PATCH 7/9] gnu: python-pytest: Update to 3.0.5.
Date: Sat, 4 Feb 2017 16:35:04 +0000

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.
      `(("python-nose" ,python-nose)
        ("python-mock" ,python-mock)))
     (home-page "http://pytest.org";)
-- 
2.11.0




reply via email to

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