diff --git a/python-proxmoxer.changes b/python-proxmoxer.changes index fbb2e95..eae880f 100644 --- a/python-proxmoxer.changes +++ b/python-proxmoxer.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 22 12:55:53 UTC 2023 - Johannes Kastl + +- refactor %check section to not use the tests that require the + ancient openssh-wrapper module + see https://github.com/proxmoxer/proxmoxer/issues/135 + ------------------------------------------------------------------- Tue Feb 21 12:45:15 UTC 2023 - kastl@b1-systems.de diff --git a/python-proxmoxer.spec b/python-proxmoxer.spec index baa42ee..32a0435 100644 --- a/python-proxmoxer.spec +++ b/python-proxmoxer.spec @@ -28,7 +28,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes # Tests -BuildRequires: %{python_module openssh-wrapper} BuildRequires: %{python_module paramiko} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} @@ -53,6 +52,8 @@ Python Wrapper for the Proxmox 2.x API (HTTP and SSH) %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# remove tests that need the ancient openssh-wrapper module +rm -f ./tests/test_openssh.py %pytest -k 'not test_timeout' --cov ./tests/ %files %{python_files}