gnu: python-virtualenv: Update to 16.1.0.

* gnu/packages/python-xyz.scm (python-virtualenv): Update to 16.1.0.
[arguments]: Move custom 'check phase to custom 'disable-failing-test
phase and re-instate standard 'check phase.
This commit is contained in:
Efraim Flashner 2019-01-22 11:19:53 +02:00
parent db58e326e5
commit 2782bd51f4
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 4 deletions

View File

@ -1997,25 +1997,25 @@ e.g. filters, callbacks and errbacks can all be promises.")
(define-public python-virtualenv (define-public python-virtualenv
(package (package
(name "python-virtualenv") (name "python-virtualenv")
(version "15.0.3") (version "16.1.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "virtualenv" version)) (uri (pypi-uri "virtualenv" version))
(sha256 (sha256
(base32 (base32
"07cbajzk8l05k5zhlw0b9wbf2is65bl9v6zrn2a0iyn57w6pd73d")))) "0242cg3hdq3qdvx5flyrki8lpwlgwf5k45c21ks5049fv7ygm6gq"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (add-before 'check 'disable-failing-test
(lambda _ (lambda _
;; Disable failing test. See upstream bug report ;; Disable failing test. See upstream bug report
;; https://github.com/pypa/virtualenv/issues/957 ;; https://github.com/pypa/virtualenv/issues/957
(substitute* "tests/test_virtualenv.py" (substitute* "tests/test_virtualenv.py"
(("skipif.*") "skipif(True, reason=\"Guix\")\n")) (("skipif.*") "skipif(True, reason=\"Guix\")\n"))
(zero? (system* "py.test"))))))) #t)))))
(native-inputs (native-inputs
`(("python-mock" ,python-mock) `(("python-mock" ,python-mock)
("python-pytest" ,python-pytest))) ("python-pytest" ,python-pytest)))