Accepting request 946133 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/946133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2022-01-13 22:21:19 +00:00 committed by Git OBS Bridge
commit 57553b34b0
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 11 20:48:52 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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 <ecsos@opensuse.org>

View File

@ -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 <mardnh@gmx.de>
#
# 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}