mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Revert "Python: reduce amount of warnings when building with buildPython*
"
Turns out that many packages' testsuites rely on the default warnings setup.
This reverts commit c1e003ff2f
.
This commit is contained in:
parent
02bf0e5896
commit
917400bcff
2 changed files with 1 additions and 6 deletions
|
@ -101,10 +101,6 @@ toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attrs [
|
|||
${python.interpreter} ${./catch_conflicts}/catch_conflicts.py
|
||||
'' + attrs.postFixup or '''';
|
||||
|
||||
# Print fewer warnings so we have less noise in our logs
|
||||
# The amount of warnings also caused builds to be terminated.
|
||||
PYTHONWARNINGS="once";
|
||||
|
||||
meta = {
|
||||
# default to python's platforms
|
||||
platforms = python.meta.platforms;
|
||||
|
|
|
@ -24,8 +24,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
# Re-enable warnings because the test suite relies on it.
|
||||
PYTHONWARNINGS= $out/bin/py.test -x testing/
|
||||
$out/bin/py.test -x testing/
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue