Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-napalm-arubaos-switch for
openSUSE:Factory checked in at 2021-12-21 18:40:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-napalm-arubaos-switch (Old)
and /work/SRC/openSUSE:Factory/.python-napalm-arubaos-switch.new.2520
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-napalm-arubaos-switch"
Tue Dec 21 18:40:36 2021 rev:2 rq:941702 version:0.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-napalm-arubaos-switch/python-napalm-arubaos-switch.changes
2020-04-25 20:34:00.806725938 +0200
+++
/work/SRC/openSUSE:Factory/.python-napalm-arubaos-switch.new.2520/python-napalm-arubaos-switch.changes
2021-12-21 18:41:03.141896500 +0100
@@ -1,0 +2,14 @@
+Mon Dec 20 16:39:22 UTC 2021 - Martin Hauke <[email protected]>
+
+- Update to version 0.2.0
+ * Added Traceroute
+ * Added Async
+ * Added ping() method
+ * Feature modular
+ * Fixes get_facts() for stacks
+ * Unittests + has_pending_commit/confirm_commit
+ * Connection rebuild
+ * get_interfaces added
+- Run unit-tests
+
+-------------------------------------------------------------------
Old:
----
napalm-arubaos-switch-0.1.1.tar.gz
New:
----
napalm-arubaos-switch-0.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-napalm-arubaos-switch.spec ++++++
--- /var/tmp/diff_new_pack.ZPtf4L/_old 2021-12-21 18:41:03.653896959 +0100
+++ /var/tmp/diff_new_pack.ZPtf4L/_new 2021-12-21 18:41:03.653896959 +0100
@@ -1,7 +1,8 @@
#
# spec file for package python-napalm-arubaos-switch
#
-# Copyright (c) 2020, Martin Hauke <[email protected]>
+# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2021, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +13,35 @@
# 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-%{**}}
+%define skip_python36 1
Name: python-napalm-arubaos-switch
-Version: 0.1.1
+Version: 0.2.0
Release: 0
License: MIT
Summary: NAPALM - ArubaOS network driver
-Url:
https://github.com/napalm-automation-community/napalm-arubaos-switch/
+URL:
https://github.com/napalm-automation-community/napalm-arubaos-switch/
Group: Development/Languages/Python
-Source:
https://github.com/napalm-automation-community/napalm-arubaos-switch/archive/v%{version}.tar.gz#/napalm-arubaos-switch-%{version}.tar.gz
-BuildRequires: python-rpm-macros
+Source:
https://github.com/napalm-automation-community/napalm-arubaos-switch/archive/%{version}.tar.gz#/napalm-arubaos-switch-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
+BuildRequires: python-rpm-macros
# SECTION test requirements
-BuildRequires: %{python_module napalm >= 2.0.0}
+BuildRequires: %{python_module napalm >= 3.3.0}
BuildRequires: %{python_module netaddr}
-BuildRequires: %{python_module requests}
+BuildRequires: %{python_module pytest-cov}
+BuildRequires: %{python_module pytest-json-report}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests-toolbelt}
+BuildRequires: %{python_module requests}
BuildRequires: %{python_module textfsm >= 1.1.0}
# /SECTION
BuildRequires: fdupes
-Requires: python-napalm >= 2.0.0
+Requires: python-napalm >= 3.3.0
Requires: python-netaddr
Requires: python-requests
Requires: python-requests-toolbelt
@@ -54,10 +61,12 @@
%install
%python_install
+# Remove test from sitelib
+%python_expand rm -R %{buildroot}%{$python_sitelib}/test/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-#%%check
-# There are no tests yet
+%check
+%pytest -v -k "not (test_traceroute)"
%files %{python_files}
%license LICENSE
++++++ napalm-arubaos-switch-0.1.1.tar.gz -> napalm-arubaos-switch-0.2.0.tar.gz
++++++
++++ 6631 lines of diff (skipped)