Skip to content

[paramiko] Update to 4.0.* #14527

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

Merged
merged 1 commit into from
Aug 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stubs/paramiko/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.5.*"
version = "4.0.*"
upstream_repository = "https://github.com/paramiko/paramiko"
# Requires a version of cryptography where cryptography.hazmat.primitives.ciphers.Cipher is generic
requires = ["cryptography>=37.0.0"]
Expand Down
53 changes: 6 additions & 47 deletions stubs/paramiko/paramiko/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Final

from paramiko import util as util
from paramiko.agent import Agent as Agent, AgentKey as AgentKey
from paramiko.channel import Channel as Channel, ChannelFile as ChannelFile
Expand All @@ -10,7 +12,6 @@ from paramiko.client import (
)
from paramiko.common import io_sleep as io_sleep
from paramiko.config import SSHConfig as SSHConfig, SSHConfigDict as SSHConfigDict
from paramiko.dsskey import DSSKey as DSSKey
from paramiko.ecdsakey import ECDSAKey as ECDSAKey
from paramiko.ed25519key import Ed25519Key as Ed25519Key
from paramiko.file import BufferedFile as BufferedFile
Expand Down Expand Up @@ -40,49 +41,7 @@ from paramiko.ssh_exception import (
)
from paramiko.transport import SecurityOptions as SecurityOptions, Transport as Transport

__author__: str
__license__: str
__all__ = [
"Agent",
"AgentKey",
"AuthenticationException",
"AutoAddPolicy",
"BadAuthenticationType",
"BadHostKeyException",
"BufferedFile",
"Channel",
"ChannelException",
"ConfigParseError",
"CouldNotCanonicalize",
"DSSKey",
"ECDSAKey",
"Ed25519Key",
"HostKeys",
"Message",
"MissingHostKeyPolicy",
"PKey",
"PasswordRequiredException",
"ProxyCommand",
"ProxyCommandFailure",
"RSAKey",
"RejectPolicy",
"SFTP",
"SFTPAttributes",
"SFTPClient",
"SFTPError",
"SFTPFile",
"SFTPHandle",
"SFTPServer",
"SFTPServerInterface",
"SSHClient",
"SSHConfig",
"SSHConfigDict",
"SSHException",
"SecurityOptions",
"ServerInterface",
"SubsystemHandler",
"Transport",
"WarningPolicy",
"io_sleep",
"util",
]
__version__: Final[str]
__author__: Final[str]
__license__: Final[str]
key_classes: list[type[PKey]]
2 changes: 0 additions & 2 deletions stubs/paramiko/paramiko/_version.pyi

This file was deleted.

35 changes: 0 additions & 35 deletions stubs/paramiko/paramiko/dsskey.pyi

This file was deleted.

2 changes: 0 additions & 2 deletions stubs/paramiko/paramiko/ssh_gss.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ class _SSH_GSSAPI_OLD(_SSH_GSSAuth):
def credentials_delegated(self) -> bool: ...
def save_client_creds(self, client_token: str) -> None: ...

_SSH_GSSAPI = _SSH_GSSAPI_OLD

class _SSH_GSSAPI_NEW(_SSH_GSSAuth):
def __init__(self, auth_method: str, gss_deleg_creds: bool) -> None: ...
def ssh_init_sec_context(
Expand Down
Loading