@@ -1261,7 +1261,7 @@ let
12611261 cycler = buildPythonPackage rec {
12621262 name = "cycler-${version}";
12631263 version = "0.9.0";
1264−
1264+
12651265 src = pkgs.fetchurl {
12661266 url = "https://pypi.python.org/packages/source/C/Cycler/${name}.tar.gz";
12671267 sha256 = "96dc4ddf27ef62c09990c6196ac1167685e89168042ec0ae4db586de023355bc";
@@ -11826,7 +11826,8 @@ let
1182611826 bottleneck
1182711827 sqlalchemy9
1182811828 lxml
11829− html5lib
11829+ # Disabling this because an upstream dependency, pep8, is broken on v3.5.
11830+ (if isPy35 then null else html5lib)
1183011831 modules.sqlite3
1183111832 beautifulsoup4
1183211833 ] ++ optional isDarwin pkgs.darwin.adv_cmds; # provides the locale command
@@ -11850,12 +11851,19 @@ let
1185011851 # The `-e` flag disables a few problematic tests.
1185111852 # https://github.com/pydata/pandas/issues/11169
1185211853 # https://github.com/pydata/pandas/issues/11287
11853− checkPhase = ''
11854+ # The test_sql checks fail specifically on python 3.5; see here:
11855+ # https://github.com/pydata/pandas/issues/11112
11856+ checkPhase = let
11857+ testsToSkip = ["test_data" "test_excel" "test_html" "test_json"
11858+ "test_frequencies" "test_frame"
11859+ "test_read_clipboard_infer_excel"] ++
11860+ optional isPy35 "test_sql";
11861+ in ''
1185411862 runHook preCheck
1185511863 # The flag `-A 'not network'` will disable tests that use internet.
1185611864 # The `-e` flag disables a few problematic tests.
1185711865 ${python.executable} setup.py nosetests -A 'not network' --stop \
11858− -e 'test_data|test_excel|test_html|test_json|test_frequencies|test_frame|test_read_clipboard_infer_excel' --verbosity=3
11866+ -e '${concatStringsSep "|" testsToSkip}' --verbosity=3
1185911867
1186011868 runHook postCheck
1186111869 '';