gnu: python-astroid: Update to 2.4.2.
authorEfraim Flashner <efraim@flashner.co.il>
Fri, 7 Aug 2020 13:10:42 +0000 (16:10 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Fri, 7 Aug 2020 15:26:57 +0000 (18:26 +0300)
* gnu/packages/python-xyz.scm (python-astroid): Update to 2.4.2.
[source]: Add snippet to loosen version requirements of dependants.

gnu/packages/python-xyz.scm

index 89f6a89..5daf0cf 100644 (file)
@@ -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)