From 47bd77fc461248994baccce8ace850ac8403c7663c0bfa2af58bd54cd9a39962 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 13 Jan 2022 12:45:04 +0000 Subject: [PATCH] Accepting request 945709 from home:bnavigator:branches:devel:languages:python - remove selectors2 build requirement: It's unmaintained and pulled in by ncclient only if necessary, i.e. on python <= 3.4, but nowhere declared or used by this junos-eznc. OBS-URL: https://build.opensuse.org/request/show/945709 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=23 --- python-junos-eznc.changes | 7 +++++++ python-junos-eznc.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-junos-eznc.changes b/python-junos-eznc.changes index c41f31f..ecb0d26 100644 --- a/python-junos-eznc.changes +++ b/python-junos-eznc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 11 20:48:52 UTC 2022 - Ben Greiner + +- remove selectors2 build requirement: It's unmaintained and pulled + in by ncclient only if necessary, i.e. on python <= 3.4, but + nowhere declared or used by this junos-eznc. + ------------------------------------------------------------------- Wed Oct 13 10:15:04 UTC 2021 - ecsos diff --git a/python-junos-eznc.spec b/python-junos-eznc.spec index 43c8030..10b686b 100644 --- a/python-junos-eznc.spec +++ b/python-junos-eznc.spec @@ -1,7 +1,7 @@ # # spec file for package python-junos-eznc # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2017-2020, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -45,7 +45,6 @@ BuildRequires: %{python_module pyserial} BuildRequires: %{python_module pytest-forked} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scp >= 0.7.0} -BuildRequires: %{python_module selectors2} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: %{python_module transitions} @@ -94,6 +93,7 @@ These capabilities include, but are not limited to: donttest="nonemptydonttestprefix" # https://github.com/Juniper/py-junos-eznc/issues/1109 python39_donttest=" or test_sw_put_ftp" +python310_donttest=" or test_sw_put_ftp" %pytest -m "not functional" --forked -k "not ($donttest ${$python_donttest})" %files %{python_files}