pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-JWT py-JWT: updated to 2.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/deae7ed8b4cd
branches:  trunk
changeset: 385550:deae7ed8b4cd
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 19 07:55:23 2022 +0000

description:
py-JWT: updated to 2.5.0

v2.5.0

Changed

Skip keys with incompatible alg when loading JWKSet
Remove support for python3.6
Emit a deprecation warning for unsupported kwargs
Remove redundant wheel dep from pyproject.toml
Do not fail when an unusable key occurs
Update audience typing
Improve PyJWKSet error accuracy
Mypy as pre-commit check + api_jws typing

Fixed

Adjust expected exceptions in option merging tests for PyPy3
Fixes for pyright on strict mode
docs: fix simple typo, iinstance -> isinstance
Fix typo: priot -> prior
Fix for headers disorder issue

Added

Add to_jwk static method to ECAlgorithm
Expose get_algorithm_by_name as new method
Add type hints to jwt/help.py and add missing types dependency
Add cacheing functionality for JWK set

diffstat:

 textproc/py-JWT/Makefile |  4 ++--
 textproc/py-JWT/PLIST    |  8 +++++++-
 textproc/py-JWT/distinfo |  8 ++++----
 3 files changed, 13 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 388acf82d372 -r deae7ed8b4cd textproc/py-JWT/Makefile
--- a/textproc/py-JWT/Makefile  Mon Sep 19 07:51:50 2022 +0000
+++ b/textproc/py-JWT/Makefile  Mon Sep 19 07:55:23 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2022/05/25 12:20:55 adam Exp $
+# $NetBSD: Makefile,v 1.20 2022/09/19 07:55:23 adam Exp $
 
-DISTNAME=      PyJWT-2.4.0
+DISTNAME=      PyJWT-2.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/Py//}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyJWT/}
diff -r 388acf82d372 -r deae7ed8b4cd textproc/py-JWT/PLIST
--- a/textproc/py-JWT/PLIST     Mon Sep 19 07:51:50 2022 +0000
+++ b/textproc/py-JWT/PLIST     Mon Sep 19 07:55:23 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2021/03/07 17:14:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/09/19 07:55:23 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -26,6 +26,9 @@
 ${PYSITELIB}/jwt/help.py
 ${PYSITELIB}/jwt/help.pyc
 ${PYSITELIB}/jwt/help.pyo
+${PYSITELIB}/jwt/jwk_set_cache.py
+${PYSITELIB}/jwt/jwk_set_cache.pyc
+${PYSITELIB}/jwt/jwk_set_cache.pyo
 ${PYSITELIB}/jwt/jwks_client.py
 ${PYSITELIB}/jwt/jwks_client.pyc
 ${PYSITELIB}/jwt/jwks_client.pyo
@@ -33,3 +36,6 @@
 ${PYSITELIB}/jwt/utils.py
 ${PYSITELIB}/jwt/utils.pyc
 ${PYSITELIB}/jwt/utils.pyo
+${PYSITELIB}/jwt/warnings.py
+${PYSITELIB}/jwt/warnings.pyc
+${PYSITELIB}/jwt/warnings.pyo
diff -r 388acf82d372 -r deae7ed8b4cd textproc/py-JWT/distinfo
--- a/textproc/py-JWT/distinfo  Mon Sep 19 07:51:50 2022 +0000
+++ b/textproc/py-JWT/distinfo  Mon Sep 19 07:55:23 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2022/05/25 12:20:55 adam Exp $
+$NetBSD: distinfo,v 1.18 2022/09/19 07:55:23 adam Exp $
 
-BLAKE2s (PyJWT-2.4.0.tar.gz) = 270cd5bd9d0ff384dedd4762780aecd4b18495f054f7895fb28748e5034e3f1b
-SHA512 (PyJWT-2.4.0.tar.gz) = 6c60afe62f9341c0fd889be227cd9e44260bc88696a93d0c3398547e159001f04e402d207d2230641f0f3d37cfd7e6f9e50a42dadfb011d7087c32a864c792a4
-Size (PyJWT-2.4.0.tar.gz) = 66327 bytes
+BLAKE2s (PyJWT-2.5.0.tar.gz) = e0b0a905d4fb47dd38fbee7070a515fbbd5eb2da8a6c37925a26a8e2a9a23b20
+SHA512 (PyJWT-2.5.0.tar.gz) = 8a638880a25e3dd3b0284deddbbd20df59cfd13693f1228dd00d37579a7d4b70faaa3c4c0a13dfcffac3b5894a10f50187383e393659b7b2aa438dd5ba4b496b
+Size (PyJWT-2.5.0.tar.gz) = 72538 bytes



Home | Main Index | Thread Index | Old Index