diff --git a/paramiko-3.4.0.tar.gz b/paramiko-3.4.0.tar.gz deleted file mode 100644 index f2db31d..0000000 --- a/paramiko-3.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aac08f26a31dc4dffd92821527d1682d99d52f9ef6851968114a8728f3c274d3 -size 1277306 diff --git a/paramiko-3.4.1.tar.gz b/paramiko-3.4.1.tar.gz new file mode 100644 index 0000000..0a98ef4 --- /dev/null +++ b/paramiko-3.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b15302870af7f6652f2e038975c1d2973f06046cb5d7d65355668b3ecbece0c +size 1703011 diff --git a/python-paramiko.changes b/python-paramiko.changes index 184e566..f4aaa85 100644 --- a/python-paramiko.changes +++ b/python-paramiko.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Aug 18 17:53:00 UTC 2024 - Antonio Larrosa + +- 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 + ------------------------------------------------------------------- Tue May 14 03:27:34 UTC 2024 - Steve Kowalik diff --git a/python-paramiko.spec b/python-paramiko.spec index 68dfd49..9ad7c5e 100644 --- a/python-paramiko.spec +++ b/python-paramiko.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-paramiko -Version: 3.4.0 +Version: 3.4.1 Release: 0 Summary: SSH2 protocol library License: LGPL-2.1-or-later @@ -27,10 +27,6 @@ Source0: https://files.pythonhosted.org/packages/source/p/paramiko/parami Patch0: paramiko-test_extend_timeout.patch # PATCH-FIX-OPENSUSE remove-icecream-dep.patch to do not depend on python-icecream and unvendor lexicon Patch1: remove-icecream-dep.patch -# PATCH-FIX-OPENSUSE use 64-bit value of sys.maxsize to prevent test failure on 32-bit -Patch2: use-64-bit-maxsize-everywhere.patch -# PATCH-FIX-UPSTREAM gh#paramiko/paramiko#2349 Use non-deprecated setup method name to support pytest >= 8 -Patch3: support-pytest-8.patch BuildRequires: %{python_module PyNaCl >= 1.0.1} BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module bcrypt >= 3.2} diff --git a/support-pytest-8.patch b/support-pytest-8.patch deleted file mode 100644 index 56c2722..0000000 --- a/support-pytest-8.patch +++ /dev/null @@ -1,23 +0,0 @@ -From d71046151d9904df467ff72709585cde39cdd4ca Mon Sep 17 00:00:00 2001 -From: Alex Gaynor -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): diff --git a/use-64-bit-maxsize-everywhere.patch b/use-64-bit-maxsize-everywhere.patch deleted file mode 100644 index 3a12475..0000000 --- a/use-64-bit-maxsize-everywhere.patch +++ /dev/null @@ -1,19 +0,0 @@ -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(