python310Packages.nbval: Fix build

Exclude nbdime tests, since it was marked broken due to jupyter-server 2
incompatibilities.

Also set explicit format.
This commit is contained in:
Martin Weinelt
2023-03-03 23:59:32 +01:00
parent b7b6f3f991
commit fe19a48e7b
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, coverage
, ipykernel
, jupyter-client
@@ -16,6 +17,9 @@
buildPythonPackage rec {
pname = "nbval";
version = "0.10.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
@@ -32,7 +36,6 @@ buildPythonPackage rec {
jupyter-client
nbformat
pytest
six
];
nativeCheckInputs = [
@@ -51,6 +54,8 @@ buildPythonPackage rec {
"tests/test_timeouts.py"
# No value for us
"tests/test_coverage.py"
# nbdime marked broken
"tests/test_nbdime_reporter.py"
];
# Some of the tests use localhost networking.