Skip to content

Daily tests failed on Sat Jun 07 2025 #14229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
github-actions bot opened this issue Jun 7, 2025 · 2 comments · Fixed by #14233
Closed

Daily tests failed on Sat Jun 07 2025 #14229

github-actions bot opened this issue Jun 7, 2025 · 2 comments · Fixed by #14233
Labels
help wanted An actionable problem of low to medium complexity where a PR would be very welcome

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2025

Run listed here: https://github.com/python/typeshed/actions/runs/15502087913

@github-actions github-actions bot added the help wanted An actionable problem of low to medium complexity where a PR would be very welcome label Jun 7, 2025
@brianschubert
Copy link
Contributor

Authlib stubtest:

error: authlib.jose.rfc7518.jws_algs.HMACAlgorithm.SHA256 variable differs from runtime type def (string: Any =, *, usedforsecurity: Any =) -> Any
Stub: in file /home/runner/work/typeshed/typeshed/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi:14
def (data: _collections_abc.Buffer =, *, usedforsecurity: builtins.bool =, string: Union[_collections_abc.Buffer, None] =) -> _hashlib.HASH
Runtime:
def (string=b'', *, usedforsecurity=True)

error: authlib.jose.rfc7518.jws_algs.HMACAlgorithm.SHA384 variable differs from runtime type def (string: Any =, *, usedforsecurity: Any =) -> Any
Stub: in file /home/runner/work/typeshed/typeshed/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi:15
def (data: _collections_abc.Buffer =, *, usedforsecurity: builtins.bool =, string: Union[_collections_abc.Buffer, None] =) -> _hashlib.HASH
Runtime:
def (string=b'', *, usedforsecurity=True)

error: authlib.jose.rfc7518.jws_algs.HMACAlgorithm.SHA512 variable differs from runtime type def (string: Any =, *, usedforsecurity: Any =) -> Any
Stub: in file /home/runner/work/typeshed/typeshed/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi:16
def (data: _collections_abc.Buffer =, *, usedforsecurity: builtins.bool =, string: Union[_collections_abc.Buffer, None] =) -> _hashlib.HASH
Runtime:
def (string=b'', *, usedforsecurity=True)

Found 3 errors (checked 161 modules)

@brianschubert
Copy link
Contributor

Looks like Authlib re-exports some hashlib.sha* functions. The signatures of these functions changed in the recent 3.13.4 patch release (python/cpython#134962). Probably just need to add an allowlist entry until the job consistently runs with 3.13.4+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted An actionable problem of low to medium complexity where a PR would be very welcome
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant