Sync from SUSE:SLFO:Main python-paramiko revision 5f976c5caf9ec62bdb36ecc9882750ea

This commit is contained in:
Adrian Schröter 2024-12-13 11:53:22 +01:00
parent ca4bcb8d42
commit 957b94b3b3
5 changed files with 27 additions and 26 deletions

BIN
paramiko-3.4.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
paramiko-3.4.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sun Aug 18 17:53:00 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- 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 <steven.kowalik@suse.com>
- Add patch support-pytest-8.patch:
* Use non-deprecated setup method to support pytest >= 8.
-------------------------------------------------------------------
Wed Dec 20 06:57:15 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-paramiko
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -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,8 +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
BuildRequires: %{python_module PyNaCl >= 1.0.1}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module bcrypt >= 3.2}

View File

@ -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(