Repository navigation
[paramiko] Update to 5.1.* - #16640
Open
hoangchunghien wants to merge 1 commit into
Open
hoangchunghien wants to merge 1 commit into
hoangchunghien wants to merge 1 commit into
Conversation
Contributor
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #16561
stubtest failed on the stubsabot bump with one error:
paramiko.kex_mlkem failed to find stubs. paramiko 5.1 adds that module for themlkem768x25519-sha256hybrid key exchange (ML-KEM-768 with X25519), andTransportprefers it when it is available.The new
kex_mlkem.pyifollowskex_curve25519.pyi: the two message constants, andKexMLKEM768X25519withname,hash_algo,transport, the two private keys,is_available,start_kexandparse_next.mlkem_keyholds acryptography.hazmat.primitives.asymmetric.mlkem.MLKEM768PrivateKey, which only exists from cryptography 48, while these stubs requirecryptography>=37.0.0. Rather than raise that floor, I typed it asIncomplete | Nonewith a comment. Happy to switch to the real type and bump the dependency if you prefer.stubtest for paramiko 5.1,
mypy_test.py stubs/paramiko,pyright_test.py stubs/paramiko(with cryptography installed), black, ruff and flake8 pass locally.