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.
This commit is contained in:
Ben Darwin 2023-12-27 17:32:14 -05:00
parent d2d95997aa
commit 1b7cd426f9

View file

@ -1,6 +1,5 @@
{ 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);