1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs
aszlig e13c6645b1
python/natsort: Skip some tests with Python 3.[56]
Since the update to Python 3.6.3 in f906d6d18e
some of the Hypothesis tests in natsort suddenly begin to fail with
errors like this one:

res = '\x00\x00', f = <built-in function strxfrm>

>   return partial(reduce, lambda res, f: f(res), functions)
E   ValueError: embedded null character

The tests didn't fail with Python 3.6.2, but they did fail with Python
3.5 already.

I didn't dig through what the exact problem was, but I'd guess that the
problem could lie in Hypothesis itself. Unfortunately updating to the
latest version of Hypothesis didn't turn out to be that easy as well,
because the newer versions have a circular dependency on pytest and a
few other libraries.

So I opted against updating Hypothesis for now and just mark the tests
as "expected to fail" on purpose so that whenever we someday have a
newer version of Hypothesis, the build for natsort will fail and we can
remove this patch again.

Tested against Python 2.7, 3.4, 3.5 and 3.6 and all of the builds now
succeed.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @jluttine, @FRidh
2017-11-09 06:54:53 +01:00
..
applications Merge pull request #31357 from ttuegel/qt-5-tmp 2017-11-08 16:06:38 -06:00
build-support Merge pull request #30549 from obsidiansystems/bintools 2017-11-08 14:20:48 -05:00
common-updater
data Merge pull request #31333 from ElvishJerricco/unextracted-all-cabal-hashes 2017-11-08 16:25:16 +01:00
desktops Merge pull request #31382 from adisbladis/plasma-5_11_3 2017-11-08 16:06:52 -06:00
development python/natsort: Skip some tests with Python 3.[56] 2017-11-09 06:54:53 +01:00
games anki: Fix hash of the source tarball 2017-11-08 21:12:22 +01:00
misc Merge pull request #28782 from jraygauthier/jrg/vscode_cpptools_init 2017-11-07 17:37:09 +00:00
os-specific lxc: Fix build error with glibc 2.26 2017-11-09 02:21:00 +01:00
servers openafs-client: prefer patch provided by upstream 2017-11-08 20:47:22 +00:00
shells nix-zsh-completions: 0.3.1 -> 0.3.2 2017-11-06 19:07:36 +01:00
stdenv treewide: Depend on targetPackages.stdenv.cc.bintools instead of binutils directly 2017-11-05 17:10:53 -05:00
test
tools cuneiform: Fix build against glibc 2.26 2017-11-09 06:06:32 +01:00
top-level mpdas: init at 0.4.4 (#31398) 2017-11-08 21:28:53 +00:00