python3Packages.autograd: 1.6.2 -> 1.7.0

This commit is contained in:
Martin Weinelt
2024-10-13 11:02:57 +02:00
parent e2f74a9a1a
commit c9c73aa0ca
@@ -2,37 +2,36 @@
lib,
buildPythonPackage,
fetchPypi,
hatchling,
numpy,
future,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "autograd";
version = "1.6.2";
format = "setuptools";
version = "1.7.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-hzHgigxOOJ2GlaQAcq2kUSZBwRO2ys6PTPvo636a7es=";
hash = "sha256-3nQ/02jW31I803MF3NFxhhqXUqFESTZ30sn1pWmD/y8=";
};
propagatedBuildInputs = [
numpy
future
];
build-system = [ hatchling ];
# 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;
dependencies = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "autograd" ];
meta = with lib; {
homepage = "https://github.com/HIPS/autograd";
description = "Compute derivatives of NumPy code efficiently";
homepage = "https://github.com/HIPS/autograd";
changelog = "https://github.com/HIPS/autograd/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ jluttine ];
};