commit 9b13e20a21362de6d68ea4aeff3590e117949cb7
Author: Jakub Bogusz <[email protected]>
Date: Wed Apr 27 19:30:28 2022 +0200
- disable pytest plugins, python2 note
python-hpack.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/python-hpack.spec b/python-hpack.spec
index bd8e0b9..9557ca6 100644
--- a/python-hpack.spec
+++ b/python-hpack.spec
@@ -7,6 +7,7 @@
Summary: HTTP/2 Header Encoding for Python 2
Summary(pl.UTF-8): Kodowanie nagłówków HTTP/2 dla Pythona 2
Name: python-hpack
+# keep 3.x here for python2 support
Version: 3.0.0
Release: 5
License: MIT
@@ -68,6 +69,7 @@ Ten moduł zawiera czysto pythonową logikę kodowania nagłówków
HTTP/2
%if %{with tests}
# test_hpack_integration.py requires test_fixtures not included in release
tarball
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python} -m pytest test -k 'not TestHPACKDecoderIntegration'
%endif
%endif
@@ -76,6 +78,7 @@ Ten moduł zawiera czysto pythonową logikę kodowania nagłówków
HTTP/2
%py3_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest test -k 'not TestHPACKDecoderIntegration'
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-hpack.git/commitdiff/9b13e20a21362de6d68ea4aeff3590e117949cb7
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit