forked from mirrors/nixpkgs
enable the tests only for python older than 3.5
This commit is contained in:
parent
be0ade9d03
commit
1a55add4ca
|
@ -11,6 +11,7 @@
|
|||
, python
|
||||
, mkDerivation
|
||||
, stdenv
|
||||
, pythonOlder
|
||||
}:
|
||||
let
|
||||
compyte = import ./compyte.nix {
|
||||
|
@ -44,6 +45,8 @@ buildPythonPackage rec {
|
|||
ln -s ${compyte} $out/${python.sitePackages}/pycuda/compyte
|
||||
'';
|
||||
|
||||
doCheck = pythonOlder "3.5";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
pytools
|
||||
|
|
|
@ -7511,6 +7511,7 @@ in modules // {
|
|||
pycuda = callPackage ../development/python-modules/pycuda rec {
|
||||
cudatoolkit = pkgs.cudatoolkit75;
|
||||
inherit (pkgs.stdenv) mkDerivation;
|
||||
inherit pythonOlder;
|
||||
};
|
||||
|
||||
python-axolotl = buildPythonPackage rec {
|
||||
|
@ -7795,6 +7796,8 @@ in modules // {
|
|||
sha256 = "0g5w1cira1bl9f2ji11cbr9daj947nrfydydymjp4bbxbpl2jnaq";
|
||||
};
|
||||
|
||||
doCheck = pythonOlder "3.5";
|
||||
|
||||
buildInputs = with self; [
|
||||
decorator
|
||||
appdirs
|
||||
|
|
Loading…
Reference in a new issue