From 328a7a6ca3b69d08ff0872d8559530fc48b4230ad5b37ec10c27d078b65aa237 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 13 Jan 2022 12:47:38 +0000 Subject: [PATCH] Accepting request 945710 from home:bnavigator:branches:devel:languages:python - remove selectors2 test requirement: It's unmaintained and pulled in by ncclient only if necessary, i.e. on python <= 3.4 (!), but nowhere declared or used by napalm itself. OBS-URL: https://build.opensuse.org/request/show/945710 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=19 --- python-napalm.changes | 7 +++++++ python-napalm.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-napalm.changes b/python-napalm.changes index 6802657..bdabc99 100644 --- a/python-napalm.changes +++ b/python-napalm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 11 21:55:43 UTC 2022 - Ben Greiner + +- remove selectors2 test requirement: It's unmaintained and pulled + in by ncclient only if necessary, i.e. on python <= 3.4 (!), but + nowhere declared or used by napalm itself. + ------------------------------------------------------------------- Wed Oct 13 12:42:18 UTC 2021 - ecsos diff --git a/python-napalm.spec b/python-napalm.spec index b9136ca..477210d 100644 --- a/python-napalm.spec +++ b/python-napalm.spec @@ -1,7 +1,7 @@ # # spec file for package python-napalm # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -47,7 +47,7 @@ Requires: python-setuptools >= 38.4.0 Requires: python-textfsm Requires: python-typing_extensions Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Jinja2} @@ -67,7 +67,6 @@ BuildRequires: %{python_module pyeapi >= 0.8.2} BuildRequires: %{python_module pytest >= 5.4.3} BuildRequires: %{python_module requests >= 2.7.0} BuildRequires: %{python_module scp} -BuildRequires: %{python_module selectors2 >= 2.0.1} BuildRequires: %{python_module setuptools >= 38.4.0} BuildRequires: %{python_module textfsm} BuildRequires: %{python_module typing_extensions} @@ -80,6 +79,7 @@ interact with different router vendor devices using a unified API. %prep %setup -q -n napalm-%{version} +sed -i '1{/env python/d}' napalm/pyIOSXR/*.py %build %python_build