python310Packages.autograd: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2023-06-25 10:13:04 +02:00 committed by GitHub
parent 78fa8aba5d
commit fd16ac7f20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,9 @@
{ lib, buildPythonPackage, fetchPypi, numpy, future }:
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, future
}:
buildPythonPackage rec {
pname = "autograd";
@ -9,12 +14,19 @@ buildPythonPackage rec {
hash = "sha256-hzHgigxOOJ2GlaQAcq2kUSZBwRO2ys6PTPvo636a7es=";
};
propagatedBuildInputs = [ numpy future ];
propagatedBuildInputs = [
numpy
future
];
# Currently, the PyPI tarball doesn't contain the tests. When that has been
# fixed, enable testing. See: https://github.com/HIPS/autograd/issues/404
doCheck = false;
pythonImportsCheck = [
"autograd"
];
meta = with lib; {
homepage = "https://github.com/HIPS/autograd";
description = "Compute derivatives of NumPy code efficiently";