Commit c9c73aa0 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python3Packages.autograd: 1.6.2 -> 1.7.0

parent e2f74a9a
Loading
Loading
Loading
Loading
+12 −13
Original line number Diff line number Diff line
@@ -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 ];
  };