15
0

- Update to 3.4.1:

* 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
This commit is contained in:
2024-08-30 17:20:46 +00:00
committed by Git OBS Bridge
commit 47aa01ff23
10 changed files with 1206 additions and 0 deletions

23
support-pytest-8.patch Normal file
View File

@@ -0,0 +1,23 @@
From d71046151d9904df467ff72709585cde39cdd4ca Mon Sep 17 00:00:00 2001
From: Alex Gaynor <alex.gaynor@gmail.com>
Date: Sat, 27 Jan 2024 17:04:18 -0500
Subject: [PATCH] Use pytest's setup_method -- in pytest 8 the nose method
setup is deprecated
---
tests/test_config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_config.py b/tests/test_config.py
index 2e49aa3de..1e623e0ad 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -53,7 +53,7 @@ def load_config(name):
class TestSSHConfig:
- def setup(self):
+ def setup_method(self):
self.config = load_config("robey")
def test_init(self):