summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanguy Le Carrour <tanguy@bioneland.org>2022-11-05 12:24:35 +0100
committerGuix Patches Tester <>2022-11-07 20:09:36 +0100
commit23b5723e470f2c14b483441c8fd93fc76e024ef2 (patch)
tree8fc62d9d1f69a69aa4d85781d88ed2ab3f4716d3
parentb16ae69f6e5d196de6ae51123c7f3d3ec160d6ba (diff)
downloadguix-patches-23b5723e470f2c14b483441c8fd93fc76e024ef2.tar
guix-patches-23b5723e470f2c14b483441c8fd93fc76e024ef2.tar.gz
gnu: python-virtualenv: Update to 20.16.5.issue-58792
* gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.16.5. [arguments]<#:phases>: Add phase compatibility-fixes. [propagated-inputs]: Add python-platformdirs.
-rw-r--r--gnu/packages/python-xyz.scm13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2077b23080..f2b268b70c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4136,19 +4136,26 @@ e.g. filters, callbacks and errbacks can all be promises.")
(define-public python-virtualenv
(package
(name "python-virtualenv")
- (version "20.3.1")
+ (version "20.16.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "virtualenv" version))
(sha256
(base32
- "1nbhnpzswcf3lmzn5xabmfdd7ki8r2w2i37y6wml54di6qi1l48c"))))
+ "1nl09v092ap469krvgl5x9r78v99xy1k7fkp36imxp2gk6ws2zi2"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'compatibility-fixes
+ (lambda _
+ ;; We have an outdated version of distlib
+ (substitute* "setup.cfg" (("0.3.5") "0.3.1")))))))
(native-inputs
(list python-mock python-pytest python-setuptools-scm))
(propagated-inputs
- (list python-appdirs python-distlib python-filelock python-six))
+ (list python-appdirs python-distlib python-filelock python-platformdirs python-six))
(home-page "https://virtualenv.pypa.io/")
(synopsis "Virtual Python environment builder")
(description