[packages/python-hyperframe] - disable pytest plugins, python2 note
qboosh
qboosh at pld-linux.org
Wed Apr 27 19:31:35 CEST 2022
commit 71848ccf8ee063a1c6aaec567192d64c91f56b5a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Apr 27 19:31:50 2022 +0200
- disable pytest plugins, python2 note
python-hyperframe.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/python-hyperframe.spec b/python-hyperframe.spec
index 8164367..6642124 100644
--- a/python-hyperframe.spec
+++ b/python-hyperframe.spec
@@ -7,6 +7,7 @@
Summary: HTTP/2 framing layer for Python 2
Summary(pl.UTF-8): Warstwa ramek HTTP/2 dla Pythona 2
Name: python-hyperframe
+# keep 5.x here for python2 support
Version: 5.2.0
Release: 5
License: MIT
@@ -69,6 +70,7 @@ dekodować strumień binary na ramki HTTP/2.
%py_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python} -m pytest test
%endif
%endif
@@ -77,6 +79,7 @@ dekodować strumień binary na ramki HTTP/2.
%py3_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest test
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-hyperframe.git/commitdiff/71848ccf8ee063a1c6aaec567192d64c91f56b5a
More information about the pld-cvs-commit
mailing list