Changelog#

v0.11.0 (2026-07-12)#

‼️ BREAKING: Python 3.10+ and pytest 7.4+ are now required.

  • ‼️ Drop Python 3.8/3.9 support; add official Python 3.13 support

  • πŸ› Fix compatibility with pytest 8/9: port the notebook collector from the removed py.path/fspath API to the pathlib based API (#73, #81)

  • πŸ› Fix merging notebook coverage into pytest-cov’s data with coverage v7 (the aliases argument was renamed map_path); coverage v7+ is now required for coverage features

  • πŸ› Fix an UnboundLocalError when nb_exec_notebook = False and pytest-cov is active

  • πŸ› Fix removed trailing cells/outputs being diffed at incorrect indices

  • πŸ› Fix nb_diff_ignore/nb_diff_replace paths also matching longer cell indices with the same prefix (e.g. /cells/1 also matching /cells/11)

  • πŸ› Fix backspace characters not being cancelled out by the coalesce_streams post-processor

  • πŸ› Fix NBRegressionFixture.check permanently setting exec_cwd on first use

  • ⬆️ Un-pin attrs (now >=21), nbclient (now >=0.5.10, tested against 0.11) and coverage (now v6.5+, tested against v7) (#84)

  • ✨ Notebooks can now skip themselves at runtime, by raising pytest.skip(...) within a cell (#43)

  • ✨ Add exec_env fixture option / nb_exec_env ini option (lines of KEY=VALUE), to set environment variables for the kernel, e.g. PYTHONPATH (#15, #85)

  • ✨ Add nb_diff_use_nbdime_config ini option, to load diff-ignore paths from an nbdime configuration file (nbdime_config.json) (#38)

  • πŸ”§ Move development dependencies from testing/code_style extras to PEP 735 dependency groups (test, pre_commit); the docs extra is retained

  • πŸ”§ Add AGENTS.md, update pre-commit hooks (ruff v0.15) and CI (Python 3.10-3.13 matrix, PyPI trusted publishing, weekly dependabot)

v0.10.0 (2023-11-28)#

v0.9.0 (2023-11-12)#

v0.8.1 (2022-11-21)#

v0.8.0 (2022-07-30)#

v0.7.0 (2022-01-17)#

πŸ”€ Merge: Update package (#20)

  • ⬆️ UPGRADE: nbconvert -> nbclient (for notebook execution)

  • ⬆️ UPGRADE: coverage v4 -> v5 API (for execution with code coverage)

  • πŸ“š DOCS: Use https for inter-sphinx URLs

  • πŸ“š DOCS: Update documentation packages

  • πŸ”§ Move to flit for PEP 621 packaging

  • πŸ”§ Add isort pre-commit hook

v0.6.1 (2020-10-16)#

  • πŸ› Fixed compatibility with pytest version 6

  • πŸ‘Œ Improved repository and documentation

v0.6.0 (2019-08-13)#

  • Add Coverage Functionality (#3)

    An ExecuteCoveragePreprocessor class has been implemented, and integrated into the NBRegressionFixture and pytest_notebook.plugin. Also, tests and a tutorial have been added.

v0.5.2 (2019-08-12)#

  • Add documentation for beautifulsoup post-processor.

  • Add beautifulsoup post-processor.

  • Add header info for pytest execution.

  • Add minor docstring update.

v0.5.1 (2019-08-12)#

  • Include package data.

v0.5.0 (2019-08-12)#

  • Fix dependency.

v0.4.0 (2019-08-12)#

  • Added regex-replacement functionality (#1)

    Also added:

    • Cell execution logging.

    • Tutorial on configuring pytest-notebook.

  • Added Conda install documentation.

v0.3.1 (2019-08-10)#

  • Add screenshot to manifest.

v0.3.0 (2019-08-10)#

  • Add travis deployment key.

  • Add documentation and make relevant improvements to the code.

  • Add nb_post_processors to configuration options.

  • Add diff configuration via notebook metadata.

  • Added ordering of stdout/stderr outputs.

    Since they are asynchronous, so order isn’t guaranteed.

  • Add collection/execution of notebooks.

  • Add blacken_code post-processor.

  • Add initial working implementation.

  • Commit before changing to nbdime.

  • Initial commit.