]> git.pld-linux.org Git - packages/python-isort.git/commitdiff
- disable pytest plugins
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 21 Mar 2022 17:59:06 +0000 (18:59 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 21 Mar 2022 17:59:06 +0000 (18:59 +0100)
python-isort.spec

index 6b35cff219a3947eec8fef12078ec7d7f3a65e57..1ab490ccfc791d28aa6ccde242a68dd4c3354da8 100644 (file)
@@ -8,6 +8,7 @@
 Summary:       Python 2 library to sort imports alphabetically
 Summary(pl.UTF-8):     Narzędzie Pythona 2 do alfabetycznego sortowania listy importów
 Name:          python-%{module}
+# keep 4.x here for python2 support
 Version:       4.3.21
 Release:       5
 License:       MIT
@@ -122,6 +123,7 @@ Ten pakiet zawiera narzędzie wiersza poleceń.
 %py_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python} -m pytest test_isort.py
 %endif
 %endif
@@ -130,6 +132,7 @@ Ten pakiet zawiera narzędzie wiersza poleceń.
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python3} -m pytest test_isort.py
 %endif
 %endif
This page took 0.089927 seconds and 4 git commands to generate.