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

index e0c40922989fe277718d1912cf96e959786df197..8befdfccae880401f99927a6960381ba1d5734de 100644 (file)
@@ -8,6 +8,7 @@
 Summary:       hyper-h2 - HTTP/2 protocol stack
 Summary(pl.UTF-8):     hyper-h2 - stos protokołu HTTP/2
 Name:          python-h2
+# keep 3.x here for python2 support
 Version:       3.2.0
 Release:       5
 License:       MIT
@@ -27,8 +28,7 @@ BuildRequires:        python-hpack < 4
 BuildRequires: python-hyperframe >= 5.2.0
 BuildRequires: python-hyperframe < 6
 BuildRequires: python-hypothesis
-BuildRequires: python-pytest
-# >= 4.6.5
+BuildRequires: python-pytest >= 4.6.5
 %endif
 %endif
 %if %{with python3}
@@ -40,8 +40,7 @@ BuildRequires:        python3-hpack < 4
 BuildRequires: python3-hyperframe >= 5.2.0
 BuildRequires: python3-hyperframe < 6
 BuildRequires: python3-hypothesis
-BuildRequires: python3-pytest
-# >= 4.6.5
+BuildRequires: python3-pytest >= 4.6.5
 %endif
 %endif
 BuildRequires: rpm-pythonprov
@@ -100,6 +99,7 @@ Dokumentacja API modułu Pythona h2.
 %py_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python} -m pytest test
 %endif
 %endif
@@ -108,6 +108,7 @@ Dokumentacja API modułu Pythona h2.
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python3} -m pytest test
 %endif
 %endif
This page took 0.218447 seconds and 4 git commands to generate.