summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanguy Le Carrour <tanguy@bioneland.org>2020-12-02 09:33:54 +0100
committerMarius Bakke <marius@gnu.org>2020-12-03 22:39:57 +0100
commitd18a4375f30afa06c5b08a7e0f7d972a7e8296ee (patch)
treed2bf0a0d53bb07672f88bf3fdf812368fad883d3
parent19f1307a59582300a877d58bdc87e431253ff211 (diff)
downloadguix-d18a4375f30afa06c5b08a7e0f7d972a7e8296ee.tar.gz
gnu: poetry: Fix a problem with a dependency.
* gnu/packages/python-xyz.scm (poetry)[arguments]: Relax version constraints
for python-packaging.

Signed-off-by: Marius Bakke <marius@gnu.org>
-rw-r--r--gnu/packages/python-xyz.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bffb643258..67447bdfa5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13227,7 +13227,10 @@ compatible build front-ends to build Poetry managed projects.")
              (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"))
+               (("keyring>=21.2.0,<22.0.0") "keyring>=21.0.0,<22.0.0")
+               ;; TODO: remove after the next release cycle,
+               ;; when packaging has been updated.
+               (("packaging>=20.4,<21.0") "packaging>=20.0,<21.0"))
              #t)))))
     (propagated-inputs
      `(("python-cachecontrol" ,python-cachecontrol)