guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: python-pyjwt: Update to 1.5.2 [fixes CVE-2017-11424].


From: Marius Bakke
Subject: 01/01: gnu: python-pyjwt: Update to 1.5.2 [fixes CVE-2017-11424].
Date: Thu, 31 Aug 2017 09:46:32 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 7e31427ff0ab85c6d7815da569b2f50ee10605ee
Author: Marius Bakke <address@hidden>
Date:   Thu Aug 31 14:15:45 2017 +0200

    gnu: python-pyjwt: Update to 1.5.2 [fixes CVE-2017-11424].
    
    * gnu/packages/python.scm (python-pyjwt): Update to 1.5.2.
    [source]: Add snippet to remove pre-compiled files.
    [native-inputs]: Change PYTHON-PYTEST to PYTHON-PYTEST-3.0.
---
 gnu/packages/python.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 65c1c23..6d3a44a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2835,17 +2835,23 @@ somewhat intelligeble.")
 (define-public python-pyjwt
   (package
     (name "python-pyjwt")
-    (version "1.4.0")
+    (version "1.5.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "PyJWT" version))
        (sha256
         (base32
-         "1556v2jppd8mjkkj66pxb5rcazm35jq81r233mdl8hfmz9n3icp1"))))
+         "0pvr3iymab7v2qz74ann760z7qahqgqszxz5iqqbaqv4z2zz0y8i"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (for-each delete-file-recursively
+                     (find-files "." "\\.pyc$"))
+           #t))))
     (build-system python-build-system)
     (native-inputs
-     `(("python-pytest" ,python-pytest)
+     `(("python-pytest" ,python-pytest-3.0)
        ("python-pytest-cov" ,python-pytest-cov)
        ("python-pytest-runner" ,python-pytest-runner)))
     (home-page "https://github.com/progrium/pyjwt";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]