summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/python.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 353443018a..688a5d4ee8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2612,20 +2612,25 @@ object.")
(define-public python-virtualenv
(package
(name "python-virtualenv")
- (version "13.1.2")
+ (version "15.0.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "virtualenv" version))
(sha256
(base32
- "1p732accxwqfjbdna39k8w8lp9gyw91vr4kzkhm8mgfxikqqxg5a"))))
+ "07cbajzk8l05k5zhlw0b9wbf2is65bl9v6zrn2a0iyn57w6pd73d"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
- (replace 'check
- (lambda _ (zero? (system* "py.test")))))))
+ (replace 'check
+ (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"))
+ (zero? (system* "py.test")))))))
(inputs
`(("python-setuptools" ,python-setuptools)
("python-mock" ,python-mock)