[packages/python-babel] - disable pytest plugins

qboosh qboosh at pld-linux.org
Thu Sep 1 18:45:45 CEST 2022


commit af9886cf27d24914ceeea5122e4ebd5cd5b6ffec
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Sep 1 18:45:52 2022 +0200

    - disable pytest plugins

 python-babel.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/python-babel.spec b/python-babel.spec
index 8ce936f..546c9b9 100644
--- a/python-babel.spec
+++ b/python-babel.spec
@@ -10,6 +10,7 @@
 Summary:	Babel - internationalization library for Python 2
 Summary(pl.UTF-8):	Babel - biblioteka umiędzynaradawiająca dla Pythona 2
 Name:		python-%{module}
+# keep 2.9.x here for python2 support
 Version:	2.9.1
 Release:	4
 License:	BSD-like
@@ -96,6 +97,7 @@ Dokumentacja API biblioteki Pythona Babel.
 
 %if %{with tests}
 # few frontend tests have some (DST-related?) issues with local timezones
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 TZ=UTC \
 %{__python} -m pytest tests
 %endif
@@ -105,6 +107,7 @@ TZ=UTC \
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 TZ=UTC \
 %{__python3} -m pytest tests
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-babel.git/commitdiff/af9886cf27d24914ceeea5122e4ebd5cd5b6ffec



More information about the pld-cvs-commit mailing list