22 lib ,
33 buildPythonPackage ,
44 fetchFromGitHub ,
5+
6+ # build-system
57 flit-core ,
8+
9+ # dependencies
610 attrs ,
711 jsonschema ,
812 nbclient ,
913 nbdime ,
1014 nbformat ,
15+
16+ # buildInputs
1117 pytest ,
18+
19+ # tests
1220 black ,
1321 coverage ,
1422 ipykernel ,
1523 pytest-cov-stub ,
1624 pytest-regressions ,
1725 pytestCheckHook ,
26+ writableTmpDirAsHomeHook ,
1827} :
1928
2029buildPythonPackage rec {
@@ -29,7 +38,7 @@ buildPythonPackage rec {
2938 hash = "sha256-LoK0wb7rAbVbgyURCbSfckWvJDef3tPY+7V4YU1IBRU=" ;
3039 } ;
3140
32- nativeBuildInputs = [
41+ build-system = [
3342 flit-core
3443 ] ;
3544
@@ -38,7 +47,7 @@ buildPythonPackage rec {
3847 "nbclient"
3948 ] ;
4049
41- propagatedBuildInputs = [
50+ dependencies = [
4251 attrs
4352 jsonschema
4453 nbclient
@@ -57,26 +66,26 @@ buildPythonPackage rec {
5766 pytest-cov-stub
5867 pytest-regressions
5968 pytestCheckHook
69+ writableTmpDirAsHomeHook
6070 ] ;
6171
62- preCheck = ''
63- export HOME="$TEMP"
64- '' ;
65-
6672 disabledTests = [
73+ # AssertionError: FILES DIFFER:
6774 "test_diff_to_string"
75+
76+ # pytest_notebook.execution.CoverageError: An error occurred while executing coverage start-up
77+ # TypeError: expected str, bytes or os.PathLike object, not NoneType
6878 "test_execute_notebook_with_coverage"
6979 "test_regression_coverage"
70- "test_collection"
71- "test_setup_with_skip_meta"
72- "test_run_fail"
73- "test_run_pass_with_meta"
80+
81+ # pytest_notebook.nb_regression.NBRegressionError
82+ "test_regression_regex_replace_pass"
7483 ] ;
7584
7685 __darwinAllowLocalNetworking = true ;
7786
7887 meta = {
79- changelog = "https://github.com/chrisjsewell/pytest-notebook/blob/${ src . rev } /docs/source/changelog.md" ;
88+ changelog = "https://github.com/chrisjsewell/pytest-notebook/blob/${ src . tag } /docs/source/changelog.md" ;
8089 description = "Pytest plugin for regression testing and regenerating Jupyter Notebooks" ;
8190 homepage = "https://github.com/chrisjsewell/pytest-notebook" ;
8291 license = lib . licenses . bsd3 ;
0 commit comments