commit e12a96124ed2c60936eb17e8d59f187698964ae3
Author: Jakub Bogusz <[email protected]>
Date:   Wed Apr 27 19:24:34 2022 +0200

    - disable pytest plugins, note on python2

 python-priority.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/python-priority.spec b/python-priority.spec
index c4942dd..4db230c 100644
--- a/python-priority.spec
+++ b/python-priority.spec
@@ -7,6 +7,8 @@
 Summary:       A HTTP/2 Priority Implementation
 Summary(pl.UTF-8):     Implementacja priorytetów HTTP/2
 Name:          python-priority
+# keep 1.x here for python2 support
+# also beware of twisted compatibility (even 22.4.0 is not ready for priority 
2.x)
 Version:       1.3.0
 Release:       5
 License:       MIT
@@ -80,6 +82,7 @@ uruchomione na pojedynczym połączeniu HTTP/2.
 
 %if %{with tests}
 # test_period_of_repetition seems unreliable (too sensitive to system load)
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd)/src \
 %{__python} -m pytest test -k 'not test_period_of_repetition'
 %endif
@@ -89,6 +92,7 @@ PYTHONPATH=$(pwd)/src \
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd)/src \
 %{__python3} -m pytest test -k 'not test_period_of_repetition'
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-priority.git/commitdiff/e12a96124ed2c60936eb17e8d59f187698964ae3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to