Accepting request 967702 from home:pgajdos:python
- do not require python-mock for build OBS-URL: https://build.opensuse.org/request/show/967702 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=101
This commit is contained in:
parent
1099f55ec5
commit
48e295bab3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 8 07:44:16 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- do not require python-mock for build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 18 22:52:45 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
|
@ -48,7 +48,6 @@ Requires: python-bcrypt >= 3.1.3
|
||||
Requires: python-cryptography >= 2.5
|
||||
Requires: python-pyasn1 >= 0.1.7
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module mock}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -85,6 +84,8 @@ find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# https://github.com/paramiko/paramiko/issues/2027
|
||||
sed -i 's:from mock:from unittest.mock:' tests/test_*.py
|
||||
export LANG=en_US.UTF-8
|
||||
%pytest
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user