3
0
Fork 0
forked from mirrors/nixpkgs

pkgs/top-level/all-packages.nix: disable doCheck for setuptools when run with Python 2.7

The regression test suite fails with the following error:

  ======================================================================
  FAIL: test_get_script_header_jython_workaround (setuptools.tests.test_resources.ScriptHeaderTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/nix-build-0zz04maf217x7a6fq18ccmx5s1mrijlr-setuptools-0.6c11.drv-0/setuptools-0.6c11/setuptools/tests/test_resources.py", line 524, in test_get_script_header_jython_workaround
      self.assert_('Unable to adapt shebang line' in sys.stdout.getvalue())
  AssertionError: False is not True

I'm not sure yet what the problem is.

svn path=/nixpkgs/trunk/; revision=23193
This commit is contained in:
Peter Simons 2010-08-16 17:03:19 +00:00
parent 6d97359a61
commit 42b5198e5b

View file

@ -3955,7 +3955,7 @@ let
buildPython27Package = import ../development/python-modules/generic { buildPython27Package = import ../development/python-modules/generic {
inherit makeWrapper lib; inherit makeWrapper lib;
python = python27; python = python27;
setuptools = setuptools.override { python = python27; }; setuptools = setuptools.override { python = python27; doCheck = false; };
}; };
pythonPackages = python26Packages; pythonPackages = python26Packages;