From 72c02622279ceb9f0ee48429dd1c623fbdb430d39dc04dd12aac587dcebbe8e0 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 20 Mar 2019 12:22:21 +0000 Subject: [PATCH] Accepting request 686886 from Cloud:OpenStack:Factory - update to version v0.6.3 * Housekeeping & Cleaning * Log sent and received messages at level INFO. Fixes #167 * - move known_hosts_lookup (the host entry in known_hosts, with optional port number appended) * First draft of versioning with versioneer (#269) * revert to raising SSHError * fix: add missing placeholder in exception string * Updates to re-enable Python 3.7 (#249) * Updates for 0.5.4 and 0.6.0 * SSH Host key checking (#280) * check for transform_reply type (#270) * Change superclass call style to keep tests happy * SSH Host key checking * Fix homepage link registered with PyPi (#274) * more tests * invoke self.parse() to ensure errors, if any, have been detetcted before check in ok() (#286) * Avoid spurious SessionCloseError when intentionally closing session. (#268) * Minor edits * Revert "Fixes to unit tests to account for use of selectors" * Close the channel when closing SSH session * Revert "fixes to tests for python2.7" * add Huawei device support through YANG (#1) (#242) * Revert "use selectors instead of select; improve performance of base 1.0 or 1.1 selection" * instructions for running unit tests locally * updated README.md in preparation for 0.6.1 release * netconf:base:1.1 parsing improvements (#267) * Add session as extra context to session-related logs * Include host in log message as well, as session-id is not globally unique * fix: comments & whitespace tidy * removed Manager class metaclass and modified operation lookup to __getattr__ (#200) OBS-URL: https://build.opensuse.org/request/show/686886 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ncclient?expand=0&rev=8 --- ncclient-0.5.4.tar.gz | 3 --- ncclient-0.6.3.tar.gz | 3 +++ pr-109.patch | 10 --------- python-ncclient.changes | 48 +++++++++++++++++++++++++++++++++++++++++ python-ncclient.spec | 9 ++++---- 5 files changed, 55 insertions(+), 18 deletions(-) delete mode 100644 ncclient-0.5.4.tar.gz create mode 100644 ncclient-0.6.3.tar.gz delete mode 100644 pr-109.patch diff --git a/ncclient-0.5.4.tar.gz b/ncclient-0.5.4.tar.gz deleted file mode 100644 index 920f53f..0000000 --- a/ncclient-0.5.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6fbef687bcdc4a84275f64235f6ae045a92dc3c16444ebd40e126c711974078 -size 69268 diff --git a/ncclient-0.6.3.tar.gz b/ncclient-0.6.3.tar.gz new file mode 100644 index 0000000..6bcd19b --- /dev/null +++ b/ncclient-0.6.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ab58ee0d71069cb5b0e2f29a4e605d1d8417bd10af45b73ee3e817fe389fadc +size 88022 diff --git a/pr-109.patch b/pr-109.patch deleted file mode 100644 index e4a23c7..0000000 --- a/pr-109.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/requirements.txt b/requirements.txt -index a586d5c..4109867 100644 ---- a/requirements.txt -+++ b/requirements.txt -@@ -1,4 +1,4 @@ - setuptools>0.6 - paramiko>=1.15.0 --lxml>=3.3.0 -+lxml>=3.1 - six diff --git a/python-ncclient.changes b/python-ncclient.changes index d2d9225..a43ffc7 100644 --- a/python-ncclient.changes +++ b/python-ncclient.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Wed Mar 20 09:16:40 UTC 2019 - Thomas Bechtold + +- update to version v0.6.3 + * Housekeeping & Cleaning + * Log sent and received messages at level INFO. Fixes #167 + * - move known_hosts_lookup (the host entry in known_hosts, with optional port number appended) + * First draft of versioning with versioneer (#269) + * revert to raising SSHError + * fix: add missing placeholder in exception string + * Updates to re-enable Python 3.7 (#249) + * Updates for 0.5.4 and 0.6.0 + * SSH Host key checking (#280) + * check for transform_reply type (#270) + * Change superclass call style to keep tests happy + * SSH Host key checking + * Fix homepage link registered with PyPi (#274) + * more tests + * invoke self.parse() to ensure errors, if any, have been detetcted before check in ok() (#286) + * Avoid spurious SessionCloseError when intentionally closing session. (#268) + * Minor edits + * Revert "Fixes to unit tests to account for use of selectors" + * Close the channel when closing SSH session + * Revert "fixes to tests for python2.7" + * add Huawei device support through YANG (#1) (#242) + * Revert "use selectors instead of select; improve performance of base 1.0 or 1.1 selection" + * instructions for running unit tests locally + * updated README.md in preparation for 0.6.1 release + * netconf:base:1.1 parsing improvements (#267) + * Add session as extra context to session-related logs + * Include host in log message as well, as session-id is not globally unique + * fix: comments & whitespace tidy + * removed Manager class metaclass and modified operation lookup to __getattr__ (#200) + * Add support for loading host-specific known_hosts files via UserKnownHostsFile. (#255) + * Typo in log message + * selector changes (#260) + * use selectors instead of select; improve performance of base 1.0 or 1.1 selection + * Updated junos.py to resolve RestrictedUser error: (#283) + * change hostkey var name to be explicit on type hostkey_b64 + * Fixes to unit tests to account for use of selectors + * fixes to tests for python2.7 + * remove breaking test for incorrect host key padding + * check known_hosts only if hostkey_b64 not specified + * include selectors2 in requirements + * remove unused import + * Revert "include selectors2 in requirements" +- Drop pr-109.patch + ------------------------------------------------------------------- Sat Sep 8 11:21:16 UTC 2018 - dmueller@suse.com diff --git a/python-ncclient.spec b/python-ncclient.spec index a8de547..a773b81 100644 --- a/python-ncclient.spec +++ b/python-ncclient.spec @@ -1,7 +1,7 @@ # # spec file for package python-ncclient # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,27 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-ncclient -Version: 0.5.4 +Version: 0.6.3 Release: 0 Summary: Python library for NETCONF clients License: Apache-2.0 Group: Development/Languages/Python Url: http://ncclient.org Source: https://files.pythonhosted.org/packages/source/n/ncclient/ncclient-%{version}.tar.gz -Patch0: pr-109.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-lxml >= 3.3.0 Requires: python-paramiko >= 1.15.0 +Requires: python-selectors2 >= 2.0.1 Requires: python-setuptools > 0.6 Requires: python-six BuildArch: noarch @@ -59,7 +59,6 @@ This package contains documentation files for %{name}. %prep %setup -q -n ncclient-%{version} -%patch0 -p1 %build %python_build