cython: 0.25.1 -> 0.25.2
Upstream changelog without issue numbers: * Fixes several issues with C++ template deduction. * Fixes a issue with bound method type inference. * Fixes a bug with cascaded tuple assignment. * Fixed or silenced many Clang warnings. * Fixes bug with powers of pure real complex numbers. The full changelog with issue numbers can be found here: https://github.com/cython/cython/blob/0.25.2/CHANGES.rst My main reason for updating is because there were test failures on i686-linux, although version 0.25.2 still has one test that fails. So if we're on i686-linux and on Python 2 we just fix that one little doctest. The test failure has already been reported upstream at: https://github.com/cython/cython/issues/1548 All of the failing tests (including the latter) had to do with integer representations in that long integers are suffixed by an L while the test cases weren't expecting this. Built successfully on i686-linux and x86_64-linux against Python 2.7 and Python 3.5. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
05b305aa4b
commit
2fe1daf804
1 changed files with 11 additions and 2 deletions
|
@ -4228,13 +4228,22 @@ in {
|
|||
|
||||
cython = buildPythonPackage rec {
|
||||
name = "Cython-${version}";
|
||||
version = "0.25.1";
|
||||
version = "0.25.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/C/Cython/${name}.tar.gz";
|
||||
sha256 = "e0941455769335ec5afb17dee36dc3833b7edc2ae20a8ed5806c58215e4b6669";
|
||||
sha256 = "01h3lrf6d98j07iakifi81qjszh6faa37ibx7ylva1vsqbwx2hgi";
|
||||
};
|
||||
|
||||
# On i686-linux and Python 2.x this test fails because the result is "3L"
|
||||
# instead of "3", so let's fix it in-place.
|
||||
#
|
||||
# Upstream issue: https://github.com/cython/cython/issues/1548
|
||||
postPatch = optionalString (stdenv.isi686 && !isPy3k) ''
|
||||
sed -i -e 's/\(>>> *\)\(verify_resolution_GH1533()\)/\1int(\2)/' \
|
||||
tests/run/cpdef_enums.pyx
|
||||
'';
|
||||
|
||||
buildInputs = with self; [ pkgs.glibcLocales pkgs.pkgconfig pkgs.gdb ];
|
||||
# For testing
|
||||
nativeBuildInputs = with self; [ numpy pkgs.ncurses ];
|
||||
|
|
Loading…
Reference in a new issue