enable the tests only for python older than 3.5

This commit is contained in:
artuuge 2016-06-15 16:24:21 +02:00
parent be0ade9d03
commit 1a55add4ca
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,7 @@
, python , python
, mkDerivation , mkDerivation
, stdenv , stdenv
, pythonOlder
}: }:
let let
compyte = import ./compyte.nix { compyte = import ./compyte.nix {
@ -44,6 +45,8 @@ buildPythonPackage rec {
ln -s ${compyte} $out/${python.sitePackages}/pycuda/compyte ln -s ${compyte} $out/${python.sitePackages}/pycuda/compyte
''; '';
doCheck = pythonOlder "3.5";
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy numpy
pytools pytools

View File

@ -7511,6 +7511,7 @@ in modules // {
pycuda = callPackage ../development/python-modules/pycuda rec { pycuda = callPackage ../development/python-modules/pycuda rec {
cudatoolkit = pkgs.cudatoolkit75; cudatoolkit = pkgs.cudatoolkit75;
inherit (pkgs.stdenv) mkDerivation; inherit (pkgs.stdenv) mkDerivation;
inherit pythonOlder;
}; };
python-axolotl = buildPythonPackage rec { python-axolotl = buildPythonPackage rec {
@ -7795,6 +7796,8 @@ in modules // {
sha256 = "0g5w1cira1bl9f2ji11cbr9daj947nrfydydymjp4bbxbpl2jnaq"; sha256 = "0g5w1cira1bl9f2ji11cbr9daj947nrfydydymjp4bbxbpl2jnaq";
}; };
doCheck = pythonOlder "3.5";
buildInputs = with self; [ buildInputs = with self; [
decorator decorator
appdirs appdirs