Subject: CVS commit: pkgsrc/www/py-nbconvert
From: Adam Ciarcinski
Date: 2022-02-05 12:29:16
Message id: 20220205112916.377AEFB24@cvs.NetBSD.org

Log Message:
py-nbconvert: updated to 6.4.1

6.4.0
-----
* Allow passing extra args to code highlighter
* Prevent page breaks in outputs when printing
* Add collapsers to template
* Optionally speed up validation

6.3.0
-----
* Update state filter
* Add slide numbering
* Fix HTML templates mentioned in help docs

6.2.0
-----
* Add the ability to fully customize ``widget_renderer_url``
* Enable users to customize MathJax URLs
* Add CLI configuration for disable-chromium-sandbox
* Enables webpdf to be rendered with templates
* Adds dejavu

6.1.0
-----
This release is mostly a long list of bug fixes and capability
additions. Thanks to the many contributors for helping Improve
nbconvert!

Significant Changes
~~~~~~~~~~~~~~~~~~~
* Dropped Python 3.6 and added Python 3.9
* Convert execute preprocessor wrapper to resemble papermill

Comprehensive notes
~~~~~~~~~~~~~~~~~~~
* Feature: support static widgets in Reveal.js slides
* Feature: add speaker notes to Reveal.js template
* Add correct output mimetype to WebPDF exporter
* Set mimetype for webpdf correctly
* Fix docstring issue and a broken  link
* Add CLI example for removing cell tag syntax
* Include output of stdin stream in lab template
* Don't use a shell to call inkscape
* JupyterLab export as HTML with widgets fails to load widgets
* Move note inside Reveal.js HTML slideshow
* fix issue 1507: broken command line option --CSSHTMLHeaderPreprocessor.style=
* Fix order of template paths
* Changed documentation of external_exporters
* Fix template precedence when using a custom template
* add  pip to docs  envt
* Fix CI  By Adding PIP to  conda envt for docs build
* Explicitly install pip in docs environment.yml
* small update to docs hide cell
* Allow child templates to override mathjax
* Allow get_export_names to skip configuration check
* Update docs: Tex Live package on Ubuntu
* Test jupyter_client
* Update jupyterlab css
* Webpdf: Use a temporary file instead of an URL
* Applied patch for marking network changes
* Change webpdf display name
* Allow disabling pyppeteer sandbox
* Make pagination configurable in webpdf
* Fix Reveal.js version in documentation
* Fix dangling reference to get_template_paths()
* Solved svg2pdf conversion error if Inkscape is installed into the default path \ 
on a windows machine
* fix typo
* Update version dependency of traitlets
* Update execute.py
* Fix code output indentation when running nbconvert --no-input
* fix issue (i'd call it a BUG)
* add docstring
* Update nbconvert_library.ipynb
* Supports isolated iframe when converting to HTML

6.0.7
-----
Primarly a release addressing template extensions issues reported since 6.0 launched.

Comprehensive notes
~~~~~~~~~~~~~~~~~~~
- Comment typo fix
- Documented updated to default conversion changes from 6.0
- Allow custom template files outside of the template system to set their base \ 
template name
- Restored basic template from 5.x
- Added proper support for backwards compatibility templates

6.0.6
-----
A range of bug fixes for webpdf exports

Comprehensive notes
~~~~~~~~~~~~~~~~~~~
- Removed CSS preprocessor from default proprocessor list (fixes classic rendering)
- Fixed error when pickling TemplateExporter
- Support for fractional height html / webpdf exports
- Added short wait time for fonts and rendering in webpdf
- Updated template documentation
- Minor fixes to the webpdf exporter
- Fixup use with a running event loop within webpdf
- Prevent overflow in input areas in lab template

6.0.5
-----
- Revert networkidle2 change which caused custom cdn-fetched widgets in webpdf

6.0.4
-----
Comprehensive notes
~~~~~~~~~~~~~~~~~~~
Fixing Problems
- The webpdf exporters does not add pagebreaks anymore before reaching the \ 
maximum height allowed by Adobe
- Fixes some timeout issues with the webpdf exporter

6.0.3
-----
Execute preprocessor no longer add illegal execution counts to markdown cells

6.0.2
-----
A patch for a few minor issues raised out of the 6.0 release.

Comprehensive notes
~~~~~~~~~~~~~~~~~~~
Fixing Problems
- Added windows work-around fix in CLI for async applications
- Fixed pathed template files to behave correctly for local relative paths \ 
without a dot
- ExecuteProcessor now properly has a ``preprocess_cell`` function to overwrite

Testing, Docs, and Builds
- Updated README and docs with guidance on how to get help with nbconvert
- Fixed documentation that was referencing ``template_path`` instead of \ 
``template_paths``

6.0.1
-----
A quick patch to fix an issue with get_exporter

6.0
---
Significant Changes
~~~~~~~~~~~~~~~~~~~
Nbconvert 6.0 is a major release of nbconvert which includes many significant \ 
changes.

- Python 2 support was dropped. Currently Python 3.6-3.8 is supported and tested \ 
by nbconvert. However, nbconvert 6.0 provides limited support for Python 3.6. \ 
nbconvert 6.1 will drop support for Python 3.6. Limited support means we will \ 
test and run CI on Python 3.6.12 or higher. Issues that are found only affecting \ 
Python 3.6 are not guaranteed to be fixed. We recommend all users of nbconvert \ 
use Python 3.7 and higher.

- Unlike previous versions, nbconvert 6.0 relies on the `nbclient \ 
<https://github.com/jupyter/nbclient/>`__ package for the execute \ 
preprocessor, which allows for asynchronous kernel requests.

- ``template_path`` has become ``template_paths``. If referring to a 5.x style \ 
``.tpl`` template use the full path with the ``template_file`` argument to the \ 
file. On the command line the pattern is \ 
``--template-file=<path/to/file.tpl>``.

- Nbconvert 6.0 includes a new "webpdf" exporter, which renders \ 
notebooks in pdf format through a headless web browser, so that complex outputs \ 
such as HTML tables, or even widgets are rendered in the same way as with the \ 
HTML exporter and a web browser.

- The default template applied when exporting to HTML now produces the same DOM \ 
structure as JupyterLab, and is styled using JupyterLab's CSS. The pygments \ 
theme in use mimics JupyterLab's codemirror mode with the same CSS variables, so \ 
that custom JupyterLab themes could be applied. The classic notebook styling can \ 
still be enabled with

.. code-block:: bash

   jupyter nbconvert --to html --template classic

- Nbconvert 6.0 includes a new system for creating custom templates, which can \ 
now be installed as packages. A custom "foobar" template is installed \ 
in Jupyter's data directory under ``nbconvert/templates`` and has the form of a \ 
directory containing all resources. Templates specify their base template as \ 
well as other configuration parameters in a ``conf.json`` at the root of the \ 
template directory.

- The "slideshow" template now makes use of RevealJS version 4. It can \ 
now be used with the HTML exporter with

.. code-block:: bash

   jupyter nbconvert --to html --template reveal

The ``--to slides`` exporter is still supported for convenience.

- Inkscape 1.0 is now supported, which had some breaking changes that prevented \ 
5.x versions of nbconvert from converting documents on some systems that \ 
updated.

Remaining changes
~~~~~~~~~~~~~~~~~
We merged 105 pull requests! Rather than enumerate all of them we'll link to the \ 
github page which contains the many smaller impact improvements.

Files:
RevisionActionfile
1.3modifypkgsrc/www/py-nbconvert/ALTERNATIVES
1.13modifypkgsrc/www/py-nbconvert/Makefile
1.9modifypkgsrc/www/py-nbconvert/PLIST
1.10modifypkgsrc/www/py-nbconvert/distinfo