Python: reduce amount of warnings when building with buildPython*
By default all warnings were printed. This occasionally resulted in a lot of warnings leading to builds being killed. This commit reduces the amount of warnings printed.
This commit is contained in:
@@ -24,7 +24,8 @@ buildPythonPackage rec {
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
$out/bin/py.test -x testing/
|
||||
# Re-enable warnings because the test suite relies on it.
|
||||
PYTHONWARNINGS= $out/bin/py.test -x testing/
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user