Module Name: pkgsrc
Committed By: wiz
Date: Sun Feb 1 17:52:54 UTC 2026
Modified Files:
pkgsrc/textproc/py-JWT: Makefile distinfo
Log Message:
py-JWT: update to 2.11.0.
All tests pass.
`v2.11.0 <https://github.com/jpadilla/pyjwt/compare/2.10.1...2.11.0>`__
-----------------------------------------------------------------------
Fixed
~~~~~
- Enforce ECDSA curve validation per RFC 7518 Section 3.4.
- Fix build system warnings by @kurtmckee in `#1105 <https://github.com/jpadilla/pyjwt/pull/1105>`__
- Validate key against allowed types for Algorithm family in `#964 <https://github.com/jpadilla/pyjwt/pull/964>`__
- Add iterator for JWKSet in `#1041 <https://github.com/jpadilla/pyjwt/pull/1041>`__
- Validate `iss` claim is a string during encoding and decoding by @pachewise in `#1040 <https://github.com/jpadilla/pyjwt/pull/1040>`__
- Improve typing/logic for `options` in decode, decode_complete by @pachewise in `#1045 <https://github.com/jpadilla/pyjwt/pull/1045>`__
- Declare float supported type for lifespan and timeout by @nikitagashkov in `#1068 <https://github.com/jpadilla/pyjwt/pull/1068>`__
- Fix ``SyntaxWarning``\s/``DeprecationWarning``\s caused by invalid escape sequences by @kurtmckee in `#1103 <https://github.com/jpadilla/pyjwt/pull/1103>`__
- Development: Build a shared wheel once to speed up test suite setup times by @kurtmckee in `#1114 <https://github.com/jpadilla/pyjwt/pull/1114>`__
- Development: Test type annotations across all supported Python versions,
increase the strictness of the type checking, and remove the mypy pre-commit hook
by @kurtmckee in `#1112 <https://github.com/jpadilla/pyjwt/pull/1112>`__
Added
~~~~~
- Support Python 3.14, and test against PyPy 3.10 and 3.11 by @kurtmckee in `#1104 <https://github.com/jpadilla/pyjwt/pull/1104>`__
- Development: Migrate to ``build`` to test package building in CI by @kurtmckee in `#1108 <https://github.com/jpadilla/pyjwt/pull/1108>`__
- Development: Improve coverage config and eliminate unused test suite code by @kurtmckee in `#1115 <https://github.com/jpadilla/pyjwt/pull/1115>`__
- Docs: Standardize CHANGELOG links to PRs by @kurtmckee in `#1110 <https://github.com/jpadilla/pyjwt/pull/1110>`__
- Docs: Fix Read the Docs builds by @kurtmckee in `#1111 <https://github.com/jpadilla/pyjwt/pull/1111>`__
- Docs: Add example of using leeway with nbf by @djw8605 in `#1034 <https://github.com/jpadilla/pyjwt/pull/1034>`__
- Docs: Refactored docs with ``autodoc``; added ``PyJWS`` and ``jwt.algorithms`` docs by @pachewise in `#1045 <https://github.com/jpadilla/pyjwt/pull/1045>`__
- Docs: Documentation improvements for "sub" and "jti" claims by @cleder in `#1088 <https://github.com/jpadilla/pyjwt/pull/1088>`__
- Development: Add pyupgrade as a pre-commit hook by @kurtmckee in `#1109 <https://github.com/jpadilla/pyjwt/pull/1109>`__
- Add minimum key length validation for HMAC and RSA keys (CWE-326).
Warns by default via ``InsecureKeyLengthWarning`` when keys are below
minimum recommended lengths per RFC 7518 Section 3.2 (HMAC) and
NIST SP 800-131A (RSA). Pass ``enforce_minimum_key_length=True`` in
options to ``PyJWT`` or ``PyJWS`` to raise ``InvalidKeyError`` instead.
- Refactor ``PyJWT`` to own an internal ``PyJWS`` instance instead of
calling global ``api_jws`` functions.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/textproc/py-JWT/Makefile
cvs rdiff -u -r1.24 -r1.25 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.30 pkgsrc/textproc/py-JWT/Makefile:1.31
--- pkgsrc/textproc/py-JWT/Makefile:1.30 Sun Apr 13 12:20:51 2025
+++ pkgsrc/textproc/py-JWT/Makefile Sun Feb 1 17:52:53 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2025/04/13 12:20:51 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2026/02/01 17:52:53 wiz Exp $
-DISTNAME= pyjwt-2.10.1
+DISTNAME= pyjwt-2.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyjwt/JWT/}
-PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyJWT/}
@@ -15,9 +14,6 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools
USE_LANGUAGES= # none
-# as of 2.10.0
-# 1 failed, 285 passed, 4 skipped
-
PYTHON_VERSIONED_DEPENDENCIES+= cryptography
.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/wheel.mk"
Index: pkgsrc/textproc/py-JWT/distinfo
diff -u pkgsrc/textproc/py-JWT/distinfo:1.24 pkgsrc/textproc/py-JWT/distinfo:1.25
--- pkgsrc/textproc/py-JWT/distinfo:1.24 Mon Dec 2 09:05:50 2024
+++ pkgsrc/textproc/py-JWT/distinfo Sun Feb 1 17:52:54 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2024/12/02 09:05:50 adam Exp $
+$NetBSD: distinfo,v 1.25 2026/02/01 17:52:54 wiz Exp $
-BLAKE2s (pyjwt-2.10.1.tar.gz) = dbc857e278c95afa78c15efbf2f250674c454862a329a8975406f6f7f09629e7
-SHA512 (pyjwt-2.10.1.tar.gz) = 2ae530750b59ef692ab31bf8bf3506e553b0199f346ddd06afed12304683f254cc924ff7190c5c911af72237dd794c345097de306e79e0fbcfb59958cb8cfbe5
-Size (pyjwt-2.10.1.tar.gz) = 87785 bytes
+BLAKE2s (pyjwt-2.11.0.tar.gz) = 7d4b11b1b938d84d121110d6f758f6739be90eee7d3cb5101c32003dbbdc3bdc
+SHA512 (pyjwt-2.11.0.tar.gz) = b7bb326dc2006f021068bcf24fafedf922cc6ecef5c40f2debd7020cb9b29d8c4e30a1aa1f5f009f55c7d2cc15732433f797a145eb8ced1c2edefad210d3ac32
+Size (pyjwt-2.11.0.tar.gz) = 98019 bytes