[Python-modules-team] Bug#780630: pyjwt: python{, 3}-jwt missing dependency on python{, 3}-crypto

Steve Beattie sbeattie at ubuntu.com
Fri Mar 20 05:31:25 UTC 2015


Hello Daniele,

On Fri, Mar 20, 2015 at 12:33:20AM +0100, Daniele Tricoli wrote:
> On Monday 16 March 2015 19:03:55 Steve Beattie wrote:
> > Also note that upstream, as of the v0.4.0 release, has switched to using
> > the cryptography python module instead of PyCrypto.
> 
> I'm going to upload an updated package to experimental (due to the freeze) 
> within a couple of days.

You might want to sync up with doko, as he uploaded 0.4.2-0ubuntu1 to
ubuntu (https://launchpad.net/ubuntu/+source/pyjwt/0.4.2-0ubuntu1). Here
are the relevant changes he made to the debian/ directory:

--- pyjwt-0.2.1/debian/changelog	2014-08-31 00:14:52.000000000 +0000
+++ pyjwt-0.4.2/debian/changelog	2015-03-17 14:59:54.000000000 +0000
@@ -1,3 +1,12 @@
+pyjwt (0.4.2-0ubuntu1) vivid; urgency=medium
+
+  * New upstream version.
+  * Switch from PyCrypto to cryptography.
+  * Enable running the tests.
+  * Recommend python-cryptography.
+
+ -- Matthias Klose <doko at ubuntu.com>  Tue, 17 Mar 2015 15:02:53 +0100
+
 pyjwt (0.2.1-1) unstable; urgency=low
 
   * Initial release (Closes: #755832)
--- pyjwt-0.2.1/debian/control	2014-08-24 03:19:22.000000000 +0000
+++ pyjwt-0.4.2/debian/control	2015-03-17 14:59:34.000000000 +0000
@@ -8,8 +8,10 @@
  dh-python,
  python-all (>= 2.6.6-3),
  python-setuptools (>= 0.6b3),
+ python-cryptography,
  python3-all,
  python3-setuptools,
+ python3-cryptography,
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
@@ -20,6 +22,7 @@
 Package: python-jwt
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
+Recommends: python-cryptography
 Description: Python implementation of JSON Web Token
  PyJWT implements the JSON Web Token draft 01, a way of representing
  signed content using JSON data structures.
@@ -42,6 +45,7 @@
 Package: python3-jwt
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}
+Recommends: python3-cryptography
 Description: Python 3 implementation of JSON Web Token
  PyJWT implements the JSON Web Token draft 01, a way of representing
  signed content using JSON data structures.
--- pyjwt-0.2.1/debian/rules	2014-08-31 00:14:13.000000000 +0000
+++ pyjwt-0.4.2/debian/rules	2015-03-17 14:50:55.000000000 +0000
@@ -1,8 +1,5 @@
 #!/usr/bin/make -f
 
-# The test suite is not shipped in the source dist so can't be enabled.
-# https://github.com/progrium/pyjwt/issues/36
-export PYBUILD_DISABLE=test
 export PYBUILD_NAME=jwt
 
 export PYTHONWARNINGS=d

It'd be great if we could get these back in sync once debian
unfreezes. Thanks!

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150319/254cf315/attachment.sig>


More information about the Python-modules-team mailing list