guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: python-virtualenv: Update to 20.0.8.


From: guix-commits
Subject: 03/03: gnu: python-virtualenv: Update to 20.0.8.
Date: Sun, 8 Mar 2020 19:20:25 -0400 (EDT)

niedzejkob pushed a commit to branch master
in repository guix.

commit 94d57ba3399aeb1b34d52e5e866c609f5a18ec2b
Author: Jakub Kądziołka <address@hidden>
AuthorDate: Thu Mar 5 18:09:02 2020 +0100

    gnu: python-virtualenv: Update to 20.0.8.
    
    * gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.0.8.
      [arguments]: Remove the now-redundant 'disable-failing-test phase.
      [native-inputs]: Add python-setuptools and python-setuptools-scm.
      [inputs]: Add python-{appdirs, distlib, filelock, six,
      importlib-metadata}.
---
 gnu/packages/python-xyz.scm | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30d7c2a..25dfe90 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2398,28 +2398,30 @@ e.g. filters, callbacks and errbacks can all be 
promises.")
 (define-public python-virtualenv
   (package
     (name "python-virtualenv")
-    (version "16.1.0")
+    (version "20.0.8")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "virtualenv" version))
        (sha256
         (base32
-         "0242cg3hdq3qdvx5flyrki8lpwlgwf5k45c21ks5049fv7ygm6gq"))))
+         "096r7g5cv85vxymg9iqbn5z749613snlvd6p3rf1nxnrd386j0qz"))))
     (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'disable-failing-test
-           (lambda _
-             ;; Disable failing test.  See upstream bug report
-             ;; https://github.com/pypa/virtualenv/issues/957
-             (substitute* "tests/test_virtualenv.py"
-               (("skipif.*") "skipif(True, reason=\"Guix\")\n"))
-             #t)))))
     (native-inputs
      `(("python-mock" ,python-mock)
-       ("python-pytest" ,python-pytest)))
+       ("python-pytest" ,python-pytest)
+       ;; NOTE: guix lint remarks that "python-setuptools should probably not
+       ;; be an input at all". However, removing the input makes the build 
error:
+       ;; File "setup.py", line 4, in <module>
+       ;;   raise RuntimeError("setuptools >= 41 required to build")
+       ("python-setuptools" ,python-setuptools)
+       ("python-setuptools-scm" ,python-setuptools-scm)))
+    (inputs
+     `(("python-appdirs" ,python-appdirs)
+       ("python-distlib" ,python-distlib)
+       ("python-filelock" ,python-filelock)
+       ("python-six" ,python-six)
+       ("python-importlib-metadata" ,python-importlib-metadata)))
     (home-page "https://virtualenv.pypa.io/";)
     (synopsis "Virtual Python environment builder")
     (description



reply via email to

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