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
20 lines
681 B
Diff
20 lines
681 B
Diff
Index: paramiko-3.4.0/tests/test_transport.py
|
|
===================================================================
|
|
--- paramiko-3.4.0.orig/tests/test_transport.py
|
|
+++ paramiko-3.4.0/tests/test_transport.py
|
|
@@ -1423,12 +1423,12 @@ class TestStrictKex:
|
|
setattr(
|
|
self.packetizer,
|
|
"_Packetizer__sequence_number_in",
|
|
- sys.maxsize,
|
|
+ 2**63-1,
|
|
)
|
|
setattr(
|
|
self.packetizer,
|
|
"_Packetizer__sequence_number_out",
|
|
- sys.maxsize,
|
|
+ 2**63-1,
|
|
)
|
|
|
|
with raises(
|