enable the tests only for python older than 3.5
This commit is contained in:
parent
be0ade9d03
commit
1a55add4ca
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user