Skip to content
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

Fix paramiko stubtest on Windows #9179

Merged
merged 1 commit into from
Nov 12, 2022
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: 0 additions & 2 deletions stubs/paramiko/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ paramiko.SFTPServer.__init__
paramiko.Transport.open_x11_channel
paramiko.Transport.send_ignore
paramiko.Transport.start_server
paramiko._winapi
paramiko.py3compat.input
paramiko.py3compat.BytesIO.readlines
paramiko.py3compat.BytesIO.seek
Expand All @@ -13,4 +12,3 @@ paramiko.transport.Transport.open_x11_channel
paramiko.transport.Transport.send_ignore
paramiko.transport.Transport.start_server
paramiko.util.SupportsClose
paramiko.win_pageant
2 changes: 2 additions & 0 deletions stubs/paramiko/@tests/stubtest_allowlist_darwin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
paramiko._winapi
paramiko.win_pageant
2 changes: 2 additions & 0 deletions stubs/paramiko/@tests/stubtest_allowlist_linux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
paramiko._winapi
paramiko.win_pageant
2 changes: 2 additions & 0 deletions stubs/paramiko/@tests/stubtest_allowlist_win32.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Type-checkers don't support architecture checks. So we have to Union
paramiko.win_pageant.ULONG_PTR
4 changes: 4 additions & 0 deletions stubs/paramiko/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
version = "2.12.*"
requires = ["types-cryptography"]

[tool.stubtest]
# linux and darwin are equivalent
platforms = ["linux", "win32"]