diff options
author | Domen Kožar <domen@dev.si> | 2015-11-12 20:55:27 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-11-12 20:55:27 +0100 |
commit | a99a634acf674730975f0d29ce31d2c71226821b (patch) | |
tree | 6b4bc620609597b308f1251c86434f3e1009074c /pkgs | |
parent | 69c6aa5c1ba8129170cc8d2b6fa7fd3fbf068bad (diff) | |
parent | 7106bfd0f3497ef7657df72c797fb4bc9e026cb9 (diff) | |
download | nixlib-a99a634acf674730975f0d29ce31d2c71226821b.tar nixlib-a99a634acf674730975f0d29ce31d2c71226821b.tar.gz nixlib-a99a634acf674730975f0d29ce31d2c71226821b.tar.bz2 nixlib-a99a634acf674730975f0d29ce31d2c71226821b.tar.lz nixlib-a99a634acf674730975f0d29ce31d2c71226821b.tar.xz nixlib-a99a634acf674730975f0d29ce31d2c71226821b.tar.zst nixlib-a99a634acf674730975f0d29ce31d2c71226821b.zip |
Merge pull request #10826 from NarrativeScience/skip_broken_pandas_test
skip broken pandas test when on python 3.5
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index aa3092983667..1ae80e4e4823 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1261,7 +1261,7 @@ let cycler = buildPythonPackage rec { name = "cycler-${version}"; version = "0.9.0"; - + src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/C/Cycler/${name}.tar.gz"; sha256 = "96dc4ddf27ef62c09990c6196ac1167685e89168042ec0ae4db586de023355bc"; @@ -12059,7 +12059,8 @@ let bottleneck sqlalchemy9 lxml - html5lib + # Disabling this because an upstream dependency, pep8, is broken on v3.5. + (if isPy35 then null else html5lib) modules.sqlite3 beautifulsoup4 ] ++ optional isDarwin pkgs.darwin.adv_cmds; # provides the locale command @@ -12083,12 +12084,19 @@ let # The `-e` flag disables a few problematic tests. # https://github.com/pydata/pandas/issues/11169 # https://github.com/pydata/pandas/issues/11287 - checkPhase = '' + # The test_sql checks fail specifically on python 3.5; see here: + # https://github.com/pydata/pandas/issues/11112 + checkPhase = let + testsToSkip = ["test_data" "test_excel" "test_html" "test_json" + "test_frequencies" "test_frame" + "test_read_clipboard_infer_excel"] ++ + optional isPy35 "test_sql"; + in '' runHook preCheck # The flag `-A 'not network'` will disable tests that use internet. # The `-e` flag disables a few problematic tests. ${python.executable} setup.py nosetests -A 'not network' --stop \ - -e 'test_data|test_excel|test_html|test_json|test_frequencies|test_frame|test_read_clipboard_infer_excel' --verbosity=3 + -e '${concatStringsSep "|" testsToSkip}' --verbosity=3 runHook postCheck ''; |