[packages/python3-huawei-lte-api] - disable pytest plugin autoload in tests (stray nose/case break on 3.13), BR python3-pytest - relea
adamg
adamg at pld-linux.org
Sat Nov 21 02:45:59 CET 2026
commit be633e24bb7c7ff60fe7a2c59f9709011c8f5389
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Sat Nov 21 02:45:54 2026 +0100
- disable pytest plugin autoload in tests (stray nose/case break on 3.13), BR python3-pytest
- release 2
python3-huawei-lte-api.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python3-huawei-lte-api.spec b/python3-huawei-lte-api.spec
index 93801ab..4338203 100644
--- a/python3-huawei-lte-api.spec
+++ b/python3-huawei-lte-api.spec
@@ -7,7 +7,7 @@
Summary: API For huawei LAN/WAN LTE Modems
Name: python3-huawei-lte-api
Version: 2.0.1
-Release: 1
+Release: 2
License: LGPL v3
Group: Libraries/Python
# if pypi:
@@ -17,6 +17,7 @@ URL: https://github.com/Salamek/huawei-lte-api
BuildRequires: python3-modules >= 1:3.7
%if %{with tests}
BuildRequires: python3-pycryptodomex
+BuildRequires: python3-pytest
BuildRequires: python3-dicttoxml
BuildRequires: python3-xmltodict
%endif
@@ -38,6 +39,7 @@ other stuff.
%py3_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest tests
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-huawei-lte-api.git/commitdiff/be633e24bb7c7ff60fe7a2c59f9709011c8f5389
More information about the pld-cvs-commit
mailing list