From f05b71562fadfc9042685ce3ce9c198caabf0127 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Sun, 14 May 2023 21:06:20 +0800 Subject: python3-pyjwt: upgrade 2.6.0 -> 2.7.0 Changelog: =========== Add classifier for Python 3.11 Add Algorithm.compute_hash_digest and use it to implement at_hash validation example fix: use datetime.datetime.timestamp function to have a milliseconds [pre-commit.ci] pre-commit autoupdate Custom header configuration in jwk client [pre-commit.ci] pre-commit autoupdate [pre-commit.ci] pre-commit autoupdate [pre-commit.ci] pre-commit autoupdate Add PyJWT._{de,en}code_payload hooks Add sort_headers parameter to api_jwt.encode Make mypy configuration stricter and improve typing Bump actions/stale from 6 to 7 [pre-commit.ci] pre-commit autoupdate Add more types Differentiate between two errors Fix _validate_iat validation Improve error messages when cryptography isn't installed [pre-commit.ci] pre-commit autoupdate [pre-commit.ci] pre-commit autoupdate [pre-commit.ci] pre-commit autoupdate Make Algorithm an abstract base class docs: correct mistake in the changelog about verify param [pre-commit.ci] pre-commit autoupdate Bump actions/stale from 7 to 8 [pre-commit.ci] pre-commit autoupdate Add a timeout for PyJWKClient requests Add client connection error exception Add complete types to take all allowed keys into account [pre-commit.ci] pre-commit autoupdate Build and upload PyPI package Fix for issue #862 - ignore invalid keys in a jwks. Add as_dict option to Algorithm.to_jwk Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pyjwt_2.7.0.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyjwt_2.7.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pyjwt_2.7.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pyjwt_2.7.0.bb b/meta-python/recipes-devtools/python/python3-pyjwt_2.7.0.bb new file mode 100644 index 0000000000..e1e3358695 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyjwt_2.7.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "JSON Web Token implementation in Python" +DESCRIPTION = "A Python implementation of JSON Web Token draft 32.\ + Original implementation was written by https://github.com/progrium" +HOMEPAGE = "http://github.com/jpadilla/pyjwt" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e4b56d2c9973d8cf54655555be06e551" + +SRC_URI[sha256sum] = "bd6ca4a3c4285c1a2d4349e5a035fdf8fb94e04ccd0fcbe6ba289dae9cc3e074" + +PYPI_PACKAGE = "PyJWT" +inherit pypi setuptools3 + +RDEPENDS:${PN} = "${PYTHON_PN}-cryptography" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf