forked from pool/python-paramiko
* Fix a 64-bit-ism in the test suite so the tests don't
encounter a false negative on 32-bit systems.
* Modify a test-harness skiptest check to work with newer
versions of Cryptography.
* Massage our import of the TripleDES cipher to support
Cryptography >=43; this should prevent
CryptographyDeprecationWarning from appearing upon import.
- Remove patches that are not needed anymore since they've
been fixed upstream:
* support-pytest-8.patch
* use-64-bit-maxsize-everywhere.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=123
28 lines
818 B
Diff
28 lines
818 B
Diff
Index: paramiko-3.3.1/tests/conftest.py
|
|
===================================================================
|
|
--- paramiko-3.3.1.orig/tests/conftest.py
|
|
+++ paramiko-3.3.1/tests/conftest.py
|
|
@@ -4,7 +4,7 @@ import shutil
|
|
import threading
|
|
from pathlib import Path
|
|
|
|
-from invoke.vendor.lexicon import Lexicon
|
|
+from lexicon import Lexicon
|
|
|
|
import pytest
|
|
from paramiko import (
|
|
@@ -22,13 +22,6 @@ from ._loop import LoopSocket
|
|
from ._stub_sftp import StubServer, StubSFTPServer
|
|
from ._util import _support
|
|
|
|
-from icecream import ic, install as install_ic
|
|
-
|
|
-
|
|
-# Better print() for debugging - use ic()!
|
|
-install_ic()
|
|
-ic.configureOutput(includeContext=True)
|
|
-
|
|
|
|
# Perform logging by default; pytest will capture and thus hide it normally,
|
|
# presenting it on error/failure. (But also allow turning it off when doing
|