summary refs log tree commit diff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-02-15 09:56:53 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-02-15 09:56:53 +0200
commit92bae0136cd755b268b4a52f1ab790759234da15 (patch)
treeabea7c3b0224344ed78b84eecf30084bb6ac3235 /gnu/packages/python-xyz.scm
parent906476e002c5a935c0e82080d9f7d02f28714e9e (diff)
downloadguix-92bae0136cd755b268b4a52f1ab790759234da15.tar.gz
gnu: poetry: Adjust for newer python-keyring.
* gnu/packages/python-xyz.scm (poetry)[arguments]: Adjust custom
'patch-setup-py phase to allow newer versions of python-keyring.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d0548c2ac2..a504bb521b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13379,9 +13379,8 @@ database, file, dict stores.  Cachy supports python versions 2.7+ and 3.2+.")
          (add-before 'build 'patch-setup-py
            (lambda _
              (substitute* "setup.py"
-               ;; Newer versions of keyring produce a package with version "0.0.0"
-               ;; Reported upstream: <https://github.com/jaraco/keyring/issues/469>
-               (("keyring>=21.2.0,<22.0.0") "keyring>=21.0.0,<22.0.0")
+               ;; Allow newer versions of python-keyring.
+               (("(keyring>=21.2.0),<22.0.0" _ keyring) keyring)
                ;; TODO: remove after the next release cycle,
                ;; when packaging has been updated.
                (("packaging>=20.4,<21.0") "packaging>=20.0,<21.0"))