Skip to content

Releases: holoviz-dev/nbsmoke

Version 0.6.0

16 Dec 08:42
Compare
Choose a tag to compare

nbsmoke provides basic notebook checks: Do they run? Do they contain lint?

Please see https://github.com/pyviz-dev/nbsmoke/blob/v0.6.0/README.rst for more information.

Since the previous release (v0.5.0):

  • Switch the CI to Github Actions
  • Change template file name for nbconvert >= 6

Full list of changes since the previous release: v0.5.0...v0.6.0

Many thanks to @ianthomas23 and @maximlt for contributing to fixes in this release!

Version 0.5.0

10 Sep 22:15
a9c58a4
Compare
Choose a tag to compare

nbsmoke provides basic notebook checks: Do they run? Do they contain lint?

Please see https://github.com/pyviz-dev/nbsmoke/blob/v0.5.0/README.rst for more information.

Since the previous release (v0.4.1):

  • Compatibility with newer versions of pytest.
  • Compatibility with newer versions of nbconvert.
  • Allow user-specified magic handlers.
  • Testing improvements: periodic tests of latest release.

Full list of changes since the previous release: v0.4.1...v0.5.0

Version 0.4.1

22 Dec 07:28
b667cea
Compare
Choose a tag to compare

nbsmoke provides basic notebook checks: Do they run? Do they contain lint?

The latest release of nbsmoke can be installed via pip install nbsmoke from pypi or via conda install -c pyviz nbsmoke from anaconda.org. Other distributions may also be available.

Please see https://github.com/pyviz/nbsmoke/blob/v0.4.1/README.rst for more information about nbsmoke.

Since the previous release (v0.4.0), there is just a packaging fix:.

  • Don't completely fail to import if beautifulsoup4 and requests are unavailable (only the "verify" functionality requires them; beautifulsoup4 and requests are supposed to be optional dependencies).

Full list of changes since the previous release: v0.4.0...v0.4.1

Version 0.4.0

20 Dec 21:12
be86e2e
Compare
Choose a tag to compare

nbsmoke provides basic notebook checks: Do they run? Do they contain lint?

The latest release of nbsmoke can be installed via pip install nbsmoke from pypi or via conda install -c pyviz nbsmoke from anaconda.org. Other distributions may also be available.

Please see https://github.com/pyviz/nbsmoke/blob/v0.4.0/README.rst for more information about nbsmoke.

Significant changes since the previous release (v0.3.0):

  • The dependencies for the "verify" command are now optional; pip users wanting this feature will need to add the "verify" extra (pip install nbsmoke[verify] or pip install nbsmoke[all]), or add the dependencies manually (pip install requests beautifulsoup4).
  • The dependency for holoviews magics lint checking (i.e. holoviews) is now optional; pip users wanting this feature will need to add the "holoviews-magics" extra (pip install nbsmoke[holoviews-magics] or pip install nbsmoke[all]), or add the dependency manually (pip install holoviews).
  • Bug fix: Avoid importing holoviews if available when nbsmoke is imported (#36). Previously, the mere presence of nbsmoke in an environment could affect test coverage measurement for projects that holoviews itself imports.

Full list of changes since the previous release: v0.3.0...v0.4.0

Version 0.3.0

26 Oct 21:30
Compare
Choose a tag to compare

nbsmoke provides basic notebook checks: Do they run? Do they contain lint?

The latest release of nbsmoke can be installed via pip install nbsmoke from pypi or via conda install -c pyviz nbsmoke from anaconda.org. Other distributions may also be available.

Please see https://github.com/pyviz/nbsmoke/blob/v0.3.0/README.rst for more information about nbsmoke.

Since the previous release (v0.2.8), there are a number of new features:

  • support for flake messages to ignore (by regex) - fixes #22

  • support for magics blacklist (i.e. magics that if present cause a flake) - fixes #21

  • added support for script & capture cell magics (mainly as a demo) - fixes #24

  • increased the number of builtin magics that will be silently ignored (as they don't interact with the python process), e.g. bookmark, edit, who, etc - fixes #24

  • lint failures can be set to be warnings only (potentially useful for systems that report warnings)

There are also a number of internal changes, most of which relate to lint checking of magics. The changes should make flake checking more consistent and reliable, but there may be some differences from previous behavior.

There is also now a reasonable test suite.

Full list of changes since the previous release: v0.2.8...v0.3.0

Version 0.2.8

01 May 19:07
3e0ff4d
Compare
Choose a tag to compare

Please note that nbsmoke is still undergoing heavy development, so you should not rely on it, and various features are likely to change.

nbsmoke can be installed via pip install nbsmoke or conda installed from the pyviz channel (conda install -c pyviz nbsmoke) or conda-forge channel (conda install -c conda-forge nbsmoke`).

Please see https://github.com/pyviz/nbsmoke/blob/v0.2.8/README.rst for more information.

Changes since the previous release (v0.2.7):

  • Shorter lint tracebacks
  • Added --nbsmoke-lint-onlywarn: Report lint failures as warnings
  • Added --nbsmoke-lint-debug: Allow easier investigation (and debugging) of lint failures. nbsmoke lint currently uses nbconvert to convert ipynb to py, then runs pyflakes on that. You can now see the py source that was actually flake checked (pyflakes-reported line numbers correspond to this source). (Note: unhandled magics e.g. from holoviews can cause spurious flakes. I have separate changes that attempt to improve the situation. Meanwhile, this option is also helpful for debugging that situation.)
  • Only supporting html storage in python 3.

Full list of changes since the previous release: v0.2.7...v0.2.8

Version 0.2.7

01 Jun 16:54
Compare
Choose a tag to compare

This is the first release of nbsmoke, a pytest plugin to test jupyter notebooks. Please note that nbsmoke is still undergoing heavy development, so you should not rely on it, and various features are likely to change.

nbsmoke can be installed via pip install nbsmoke or conda install -c conda-forge nbsmoke).

Please see https://github.com/pyviz/nbsmoke/blob/v0.2.7/README.rst for more information.