3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development
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
..
arduino
beam-modules hex-packages: delete transitively unbuildable packages 2017-11-08 07:23:51 +00:00
bower-modules/generic
compilers llvmPackages/libc++: Fix build against glibc 2.26 2017-11-08 22:08:11 +01:00
coq-modules Revert "coqPackages.{ssreflect,mathcomp}: 1.6.1 -> 1.6.4" 2017-11-07 17:15:09 +00:00
dotnet-modules/patches
eclipse/ecj
em-modules/generic
go-modules goDeps: support fetchFromGiHub to fetch Go libs 2017-11-01 01:28:57 +01:00
guile-modules
haskell-modules Extract files one at a time from all-cabal-hashes 2017-11-06 16:49:09 -05:00
idris-modules Add wrapper for idris exe for gcc/gmp runtime deps 2017-11-02 23:14:12 +00:00
interpreters clisp: Add patch to remove reference to cfree 2017-11-08 15:52:25 +01:00
java-modules
libraries Merge pull request #31357 from ttuegel/qt-5-tmp 2017-11-08 16:06:38 -06:00
lisp-modules lispPackages.clwrapper: make sure to patch shebangs in the scripts before using them 2017-11-04 12:46:56 +01:00
lua-modules
misc loc: 2017-06-23 -> 0.4.1 2017-10-31 16:27:23 +01:00
mobile
node-packages fast-cli: pinpoint to a 1.x version, since 2.x requires nodejs 8 or greater 2017-11-05 14:00:27 +01:00
ocaml-modules ocamlPackages.zed: 1.5 -> 1.6 2017-11-07 01:04:59 +00:00
perl-modules perl-DBD-SQLite: 1.50 -> 1.54 2017-10-31 11:35:25 +01:00
pharo
pure-modules
python-modules python/natsort: Skip some tests with Python 3.[56] 2017-11-09 06:54:53 +01:00
qtcreator qtbase: Make some output references more explicit 2017-10-24 23:48:49 +03:00
r-modules nixpkgs manual: add rstudio shell.nix example 2017-11-04 12:26:08 +01:00
ruby-modules bundlerEnv: support unicode executables (#31145) 2017-11-03 11:31:16 +00:00
tools flow: 0.58.0 -> 0.59.0 2017-11-09 10:43:25 +10:30
web nodejs: refactor generic build function 2017-11-02 10:58:45 +01:00