Accepting request 925623 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/925623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2021-10-20 18:23:19 +00:00 committed by Git OBS Bridge
commit f0b4c8f615
5 changed files with 45 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035
size 1069537

3
paramiko-2.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e673b10ee0f1c80d46182d3af7751d033d9b573dd7054d2d0aa46be186c3c1d2
size 1063170

View File

@ -15,22 +15,10 @@ on the system. It has been banned from Gentoo for this reason.
tests/test_client.py | 20 ++++++++++----------
3 files changed, 10 insertions(+), 14 deletions(-)
Index: paramiko-2.7.2/setup.cfg
Index: paramiko-2.8.0/tests/test_client.py
===================================================================
--- paramiko-2.7.2.orig/setup.cfg
+++ paramiko-2.7.2/setup.cfg
@@ -13,7 +13,6 @@ ignore = E124,E125,E128,E261,E301,E302,E
max-line-length = 79
[tool:pytest]
-addopts = -p no:relaxed
looponfailroots = tests paramiko
filterwarnings =
ignore::DeprecationWarning:pkg_resources
Index: paramiko-2.7.2/tests/test_client.py
===================================================================
--- paramiko-2.7.2.orig/tests/test_client.py
+++ paramiko-2.7.2/tests/test_client.py
--- paramiko-2.8.0.orig/tests/test_client.py
+++ paramiko-2.8.0/tests/test_client.py
@@ -33,7 +33,7 @@ import warnings
import weakref
from tempfile import mkstemp
@ -40,7 +28,7 @@ Index: paramiko-2.7.2/tests/test_client.py
from mock import patch, Mock
import paramiko
@@ -684,10 +684,10 @@ class PasswordPassphraseTests(ClientTest
@@ -687,10 +687,10 @@ class PasswordPassphraseTests(ClientTest
# TODO: more granular exception pending #387; should be signaling "no auth
# methods available" because no key and no password
@ -54,7 +42,7 @@ Index: paramiko-2.7.2/tests/test_client.py
def test_passphrase_kwarg_used_for_key_passphrase(self):
# Straightforward again, with new passphrase kwarg.
@@ -705,14 +705,14 @@ class PasswordPassphraseTests(ClientTest
@@ -708,14 +708,14 @@ class PasswordPassphraseTests(ClientTest
password="television",
)

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Tue Oct 12 11:03:02 UTC 2021 - ecsos <ecsos@opensuse.org>
- Update to 2.8.0
- [Feature] #1846: Add a prefetch keyword argument to
SFTPClient.get/SFTPClient.getfo so users who need to skip SFTP
prefetching are able to conditionally turn it off.
- [Bug] #1462: (via #1882) Newer server-side key exchange
algorithms not intended to use SHA1 (diffie-hellman-group14-sha256,
diffie-hellman-group16-sha512) were incorrectly using SHA1 after all,
due to a bug causing them to ignore the hash_algo class attribute.
This has been corrected.
- [Support] #1722: Remove leading whitespace from OpenSSH RSA test
suite static key fixture, to conform better to spec.
- [Support] #1727: Add missing test suite fixtures directory to
MANIFEST.in, reinstating the ability to run Paramikos tests from
an sdist tarball.
- [Support]: Update our CI to catch issues with sdist generation,
installation and testing.
- [Support]: Administrivia overhaul, including but not limited to:
- Migrate CI to CircleCI
- Primary dev branch is now main (renamed)
- Many README edits for clarity, modernization etc; including
a bunch more (and consistent) status badges & unification with
main project site index
- PyPI page much more fleshed out (long_description is now filled
in with the README; sidebar links expanded; etc)
- flake8, pytest configs split out of setup.cfg into their own files
- Invoke/invocations (used by maintainers/contributors) upgraded
to modern versions
- Skip python2 to fix build errors for Leap.
- Rebase paramiko-pr1655-remove-pytest-relaxed.patch.
-------------------------------------------------------------------
Mon Dec 7 07:22:31 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-paramiko
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-paramiko
Version: 2.7.2
Version: 2.8.0
Release: 0
Summary: SSH2 protocol library
License: LGPL-2.1-or-later
@ -33,7 +34,7 @@ BuildRequires: %{python_module bcrypt >= 3.1.3}
BuildRequires: %{python_module cryptography >= 2.5}
BuildRequires: %{python_module gssapi}
BuildRequires: %{python_module invocations}
BuildRequires: %{python_module invoke}
BuildRequires: %{python_module invoke >= 1.3}
BuildRequires: %{python_module pyasn1 >= 0.1.7}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}