summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-08-07 16:10:42 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-08-07 18:26:57 +0300
commit3f0d604093428a6422ce236181a4ba53f3607d46 (patch)
tree92be0479b9383f15399f0b8637b5d83c477d357c
parent7c2b6eb11b30f305ada57b8f43ada4716c1754f7 (diff)
downloadguix-3f0d604093428a6422ce236181a4ba53f3607d46.tar.gz
gnu: python-astroid: Update to 2.4.2.
* gnu/packages/python-xyz.scm (python-astroid): Update to 2.4.2.
[source]: Add snippet to loosen version requirements of dependants.
-rw-r--r--gnu/packages/python-xyz.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 89f6a898f3..5daf0cf657 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14721,13 +14721,20 @@ clone, while other processes access the original tree.")
 (define-public python-astroid
   (package
     (name "python-astroid")
-    (version "2.4.1")
+    (version "2.4.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "astroid" version))
        (sha256
-        (base32 "1h99jal7ax07xna1djw5z7hpgb8vjrl3hrrg49p1phljwniww5sc"))))
+        (base32 "00xp5gqxidxvgg1bwd91myqzdf2fpb9cjwbdl3p7gwqvlk17hh1g"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Check to see if the version pinning has been removed.
+           (substitute* "astroid/__pkginfo__.py"
+             (("==1\\.4\\.\\*") ">=1.4.0"))
+           #t))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-lazy-object-proxy" ,python-lazy-object-proxy)