Skip to content

Commit

Permalink
Bump python-jose to 3.4.*
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Feb 21, 2025
1 parent ac8f263 commit 3bfdb0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stubs/python-jose/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ jose.backends.CryptographyECKey
jose.backends.CryptographyHMACKey
jose.backends.CryptographyRSAKey
jose.backends.ECDSAECKey

# See https://github.com/mpdavis/python-jose/pull/372
jose.jwt.utc_now
2 changes: 2 additions & 0 deletions stubs/python-jose/jose/constants.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@ class Zips:
SUPPORTED: set[str | None]

ZIPS: Zips

JWE_SIZE_LIMIT: int
2 changes: 2 additions & 0 deletions stubs/python-jose/jose/utils.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ def base64url_decode(input: bytes) -> bytes: ...
def base64url_encode(input: bytes) -> bytes: ...
def timedelta_total_seconds(delta: timedelta) -> int: ...
def ensure_binary(s: str | bytes) -> bytes: ...
def is_pem_format(key: bytes) -> bool: ...
def is_ssh_key(key: bytes) -> bool:

0 comments on commit 3bfdb0c

Please sign in to comment.