Accepting request 1197924 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1197924 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=63
This commit is contained in:
commit
f0b0b1f347
BIN
paramiko-3.4.0.tar.gz
(Stored with Git LFS)
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
BIN
paramiko-3.4.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -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}
|
||||
|
@ -1,23 +0,0 @@
|
||||
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):
|
@ -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(
|
Loading…
x
Reference in New Issue
Block a user