]> git.pld-linux.org Git - packages/python-hpack.git/commitdiff
- disable pytest plugins, python2 note master
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 27 Apr 2022 17:30:28 +0000 (19:30 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 27 Apr 2022 17:30:28 +0000 (19:30 +0200)
python-hpack.spec

index bd8e0b91e3874867cfbfa953a0cbf327339c3e8b..9557ca6bc6549a80201410e4075993c1e340c79b 100644 (file)
@@ -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
This page took 0.189872 seconds and 4 git commands to generate.