Hello community, here is the log from the commit of package python-PyJWT for openSUSE:Factory checked in at 2018-07-09 13:29:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyJWT (Old) and /work/SRC/openSUSE:Factory/.python-PyJWT.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyJWT" Mon Jul 9 13:29:37 2018 rev:15 rq:621481 version:1.6.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyJWT/python-PyJWT.changes 2018-05-29 10:41:26.184206492 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyJWT.new/python-PyJWT.changes 2018-07-09 13:31:19.690492138 +0200 @@ -1,0 +2,6 @@ +Sat Jul 7 17:24:24 UTC 2018 - a...@gmx.de + +- update to version 1.6.4: + * Reverse an unintentional breaking API change to .decode() #352 + +------------------------------------------------------------------- Old: ---- PyJWT-1.6.3.tar.gz New: ---- PyJWT-1.6.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyJWT.spec ++++++ --- /var/tmp/diff_new_pack.xRoySr/_old 2018-07-09 13:31:20.294490922 +0200 +++ /var/tmp/diff_new_pack.xRoySr/_new 2018-07-09 13:31:20.298490913 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyJWT -Version: 1.6.3 +Version: 1.6.4 Release: 0 Summary: JSON Web Token implementation in Python License: MIT ++++++ PyJWT-1.6.3.tar.gz -> PyJWT-1.6.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyJWT-1.6.3/CHANGELOG.md new/PyJWT-1.6.4/CHANGELOG.md --- old/PyJWT-1.6.3/CHANGELOG.md 2018-05-19 19:12:59.000000000 +0200 +++ new/PyJWT-1.6.4/CHANGELOG.md 2018-05-24 04:46:17.000000000 +0200 @@ -12,6 +12,12 @@ ### Added +[v1.6.4][1.6.4] +------------------------------------------------------------------------- +### Fixed + +- Reverse an unintentional breaking API change to .decode() [#352][352] + [v1.6.3][1.6.3] ------------------------------------------------------------------------- ### Changed @@ -21,6 +27,7 @@ ### Added - Add type hints [#344][344] +- Add help module [7ca41e][7ca41e] ### Docs @@ -204,6 +211,7 @@ [1.6.0]: https://github.com/jpadilla/pyjwt/compare/1.5.3...1.6.0 [1.6.1]: https://github.com/jpadilla/pyjwt/compare/1.6.0...1.6.1 [1.6.3]: https://github.com/jpadilla/pyjwt/compare/1.6.1...1.6.3 +[1.6.4]: https://github.com/jpadilla/pyjwt/compare/1.6.3...1.6.4 [109]: https://github.com/jpadilla/pyjwt/pull/109 [110]: https://github.com/jpadilla/pyjwt/pull/110 @@ -249,4 +257,6 @@ [340]: https://github.com/jpadilla/pyjwt/pull/340 [344]: https://github.com/jpadilla/pyjwt/pull/344 [350]: https://github.com/jpadilla/pyjwt/pull/350 +[352]: https://github.com/jpadilla/pyjwt/pull/352 [7c1e61d]: https://github.com/jpadilla/pyjwt/commit/7c1e61dde27bafe16e7d1bb6e35199e778962742 +[7ca41e]: https://github.com/jpadilla/pyjwt/commit/7ca41e53b3d7d9f5cd31bdd8a2b832d192006239 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyJWT-1.6.3/PKG-INFO new/PyJWT-1.6.4/PKG-INFO --- old/PyJWT-1.6.3/PKG-INFO 2018-05-19 19:13:35.000000000 +0200 +++ new/PyJWT-1.6.4/PKG-INFO 2018-05-24 04:46:42.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: PyJWT -Version: 1.6.3 +Version: 1.6.4 Summary: JSON Web Token implementation in Python Home-page: http://github.com/jpadilla/pyjwt Author: Jose Padilla diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyJWT-1.6.3/PyJWT.egg-info/PKG-INFO new/PyJWT-1.6.4/PyJWT.egg-info/PKG-INFO --- old/PyJWT-1.6.3/PyJWT.egg-info/PKG-INFO 2018-05-19 19:13:35.000000000 +0200 +++ new/PyJWT-1.6.4/PyJWT.egg-info/PKG-INFO 2018-05-24 04:46:42.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: PyJWT -Version: 1.6.3 +Version: 1.6.4 Summary: JSON Web Token implementation in Python Home-page: http://github.com/jpadilla/pyjwt Author: Jose Padilla diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyJWT-1.6.3/jwt/__init__.py new/PyJWT-1.6.4/jwt/__init__.py --- old/PyJWT-1.6.3/jwt/__init__.py 2018-05-19 19:13:02.000000000 +0200 +++ new/PyJWT-1.6.4/jwt/__init__.py 2018-05-24 04:46:17.000000000 +0200 @@ -10,7 +10,7 @@ __title__ = 'pyjwt' -__version__ = '1.6.3' +__version__ = '1.6.4' __author__ = 'José Padilla' __license__ = 'MIT' __copyright__ = 'Copyright 2015-2018 José Padilla' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyJWT-1.6.3/jwt/api_jws.py new/PyJWT-1.6.4/jwt/api_jws.py --- old/PyJWT-1.6.3/jwt/api_jws.py 2018-05-19 14:42:58.000000000 +0200 +++ new/PyJWT-1.6.4/jwt/api_jws.py 2018-05-24 04:46:17.000000000 +0200 @@ -128,7 +128,7 @@ return b'.'.join(segments) def decode(self, - token, # type: str + jwt, # type: str key='', # type: str verify=True, # type: bool algorithms=None, # type: List[str] @@ -146,7 +146,7 @@ DeprecationWarning ) - payload, signing_input, header, signature = self._load(token) + payload, signing_input, header, signature = self._load(jwt) if not verify: warnings.warn('The verify parameter is deprecated. ' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyJWT-1.6.3/jwt/api_jwt.py new/PyJWT-1.6.4/jwt/api_jwt.py --- old/PyJWT-1.6.3/jwt/api_jwt.py 2018-05-19 14:42:58.000000000 +0200 +++ new/PyJWT-1.6.4/jwt/api_jwt.py 2018-05-24 04:46:17.000000000 +0200 @@ -67,7 +67,7 @@ ) def decode(self, - token, # type: str + jwt, # type: str key='', # type: str verify=True, # type: bool algorithms=None, # type: List[str] @@ -82,7 +82,7 @@ DeprecationWarning ) - payload, _, _, _ = self._load(token) + payload, _, _, _ = self._load(jwt) if options is None: options = {'verify_signature': verify} @@ -90,7 +90,7 @@ options.setdefault('verify_signature', verify) decoded = super(PyJWT, self).decode( - token, key=key, algorithms=algorithms, options=options, **kwargs + jwt, key=key, algorithms=algorithms, options=options, **kwargs ) try: