pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-JWT



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May 10 09:55:38 UTC 2023

Modified Files:
        pkgsrc/textproc/py-JWT: Makefile PLIST distinfo

Log Message:
py-JWT: updated to 2.7.0

v2.7.0

Changed
- Changed the error message when the token audience doesn't match the expected audience
- Improve error messages when cryptography isn't installed
- Make `Algorithm` an abstract base class
- ignore invalid keys in a jwks

Fixed
- Add classifier for Python 3.11
- Fix ``_validate_iat`` validation
- fix: use datetime.datetime.timestamp function to have a milliseconds
- docs: correct mistake in the changelog about verify param

Added
- Add ``compute_hash_digest`` as a method of ``Algorithm`` objects, which uses
  the underlying hash algorithm to compute a digest. If there is no appropriate
  hash algorithm, a ``NotImplementedError`` will be raised
- Add optional ``headers`` argument to ``PyJWKClient``. If provided, the headers
  will be included in requests that the client uses when fetching the JWK set
- Add PyJWT._{de,en}code_payload hooks
- Add `sort_headers` parameter to `api_jwt.encode`
- Make mypy configuration stricter and improve typing
- Add more types
- Add a timeout for PyJWKClient requests
- Add client connection error exception
- Add complete types to take all allowed keys into account
- Add `as_dict` option to `Algorithm.to_jwk`


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/textproc/py-JWT/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-JWT/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/py-JWT/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-JWT/Makefile
diff -u pkgsrc/textproc/py-JWT/Makefile:1.22 pkgsrc/textproc/py-JWT/Makefile:1.23
--- pkgsrc/textproc/py-JWT/Makefile:1.22        Tue Oct 25 07:25:13 2022
+++ pkgsrc/textproc/py-JWT/Makefile     Wed May 10 09:55:38 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2022/10/25 07:25:13 adam Exp $
+# $NetBSD: Makefile,v 1.23 2023/05/10 09:55:38 adam Exp $
 
-DISTNAME=      PyJWT-2.6.0
+DISTNAME=      PyJWT-2.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/Py//}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyJWT/}

Index: pkgsrc/textproc/py-JWT/PLIST
diff -u pkgsrc/textproc/py-JWT/PLIST:1.5 pkgsrc/textproc/py-JWT/PLIST:1.6
--- pkgsrc/textproc/py-JWT/PLIST:1.5    Mon Sep 19 07:55:23 2022
+++ pkgsrc/textproc/py-JWT/PLIST        Wed May 10 09:55:38 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2022/09/19 07:55:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2023/05/10 09:55:38 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -33,6 +33,9 @@ ${PYSITELIB}/jwt/jwks_client.py
 ${PYSITELIB}/jwt/jwks_client.pyc
 ${PYSITELIB}/jwt/jwks_client.pyo
 ${PYSITELIB}/jwt/py.typed
+${PYSITELIB}/jwt/types.py
+${PYSITELIB}/jwt/types.pyc
+${PYSITELIB}/jwt/types.pyo
 ${PYSITELIB}/jwt/utils.py
 ${PYSITELIB}/jwt/utils.pyc
 ${PYSITELIB}/jwt/utils.pyo

Index: pkgsrc/textproc/py-JWT/distinfo
diff -u pkgsrc/textproc/py-JWT/distinfo:1.19 pkgsrc/textproc/py-JWT/distinfo:1.20
--- pkgsrc/textproc/py-JWT/distinfo:1.19        Tue Oct 25 07:25:13 2022
+++ pkgsrc/textproc/py-JWT/distinfo     Wed May 10 09:55:38 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2022/10/25 07:25:13 adam Exp $
+$NetBSD: distinfo,v 1.20 2023/05/10 09:55:38 adam Exp $
 
-BLAKE2s (PyJWT-2.6.0.tar.gz) = d574d1465aa126aba73806ab6e9dd2c76b2c3b6ee520359f80e5aa96ac1cb471
-SHA512 (PyJWT-2.6.0.tar.gz) = c2f797bbb84469db1332bad61807740d859d0e1fa500ba17981d6c1a7a30a6fab345ff241200e24ce1ffe686591642a858e5eb2e9462fa1ceda7fcd00ae55d30
-Size (PyJWT-2.6.0.tar.gz) = 72984 bytes
+BLAKE2s (PyJWT-2.7.0.tar.gz) = 7be3cd2fcf7f6c133fcceb5e7b74857b2200c3e02d9c428da40e97b7cae4d886
+SHA512 (PyJWT-2.7.0.tar.gz) = 0aa886dfdc3c668b45e1c649cc3fbe3c2dec7476f46bd361ff74f6e9c7ea0ad40306a8a8ae84bfd63fe1c1364302b8aa69943013c951b32c9f24e4782b94ca8d
+Size (PyJWT-2.7.0.tar.gz) = 77902 bytes



Home | Main Index | Thread Index | Old Index