python39Packages.nbclient.passthru.tests.check: fix tests
This commit is contained in:
parent
f97ef46344
commit
c047171df6
|
@ -1,16 +1,18 @@
|
|||
{ lib
|
||||
{ async_generator
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, async_generator
|
||||
, traitlets
|
||||
, fetchFromGitHub
|
||||
, ipykernel
|
||||
, ipywidgets
|
||||
, jupyter-client
|
||||
, lib
|
||||
, nbconvert
|
||||
, nbformat
|
||||
, nest-asyncio
|
||||
, jupyter-client
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, traitlets
|
||||
, xmltodict
|
||||
, nbconvert
|
||||
, ipywidgets
|
||||
}:
|
||||
|
||||
let nbclient = buildPythonPackage rec {
|
||||
|
@ -20,9 +22,11 @@ let nbclient = buildPythonPackage rec {
|
|||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-uAcm/B+4mg6Pi+HnfijQAmsejtkLwUPIoMdiLk+M3Z4=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jupyter";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ofyJNJeNkXbZ9qHLTuzJ13PgEXU9lDQ9NkT4nG/R8Ic=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ];
|
||||
|
@ -30,7 +34,14 @@ let nbclient = buildPythonPackage rec {
|
|||
# circular dependencies if enabled by default
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = [ pytestCheckHook xmltodict nbconvert ipywidgets ];
|
||||
checkInputs = [
|
||||
ipykernel
|
||||
ipywidgets
|
||||
nbconvert
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
xmltodict
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
|
|
Loading…
Reference in a new issue