Merge pull request #277192 from bcdarwin/einops-remove-chainer-dep

python311Packages.einops: remove chainer from nativeCheckInputs
This commit is contained in:
OTABI Tomoya 2023-12-28 15:23:26 +09:00 committed by GitHub
commit c0bcc26229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);