Commit 1b7cd426 authored by Ben Darwin's avatar Ben Darwin
Browse files

python311Packages.einops: remove chainer from nativeCheckInputs

Chainer is somewhat obsolete (and currently broken on master; see https://github.com/NixOS/nixpkgs/issues/277008) so doesn't
necessarily make sense to pull into the build-time closure of a great
deal of the Python deep learning dependency tree.
parent d2d95997
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, chainer
, fetchFromGitHub
, hatchling
, jupyter
@@ -15,7 +14,7 @@
buildPythonPackage rec {
  pname = "einops";
  version = "0.7.0";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -29,7 +28,6 @@ buildPythonPackage rec {
  nativeBuildInputs = [ hatchling ];

  nativeCheckInputs = [
    chainer
    jupyter
    nbconvert
    numpy
@@ -38,7 +36,7 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  env.EINOPS_TEST_BACKENDS = "numpy,chainer";
  env.EINOPS_TEST_BACKENDS = "numpy";

  preCheck = ''
    export HOME=$(mktemp -d);