./www/py-nbconvert, Converting Jupyter Notebooks

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.5.0nb1, Package name: py39-nbconvert-6.5.0nb1, Maintainer: pkgsrc-users

Converting Jupyter Notebooks


Required to run:
[textproc/py-pygments] [textproc/py-jinja2] [www/py-bleach] [www/py-tornado] [textproc/py-defusedxml] [textproc/py-mistune] [devel/py-traitlets] [devel/py-ipykernel] [devel/py-jupyter_core] [devel/py-testpath] [devel/py-jupyter_client] [devel/py-entrypoints] [textproc/py-pandocfilters] [www/py-nbformat] [lang/python37] [www/py-ipywidgets]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 887.087 KB

Version history: (Expand)


CVS history: (Expand)


   2022-05-17 14:57:07 by Ryo ONODERA | Files touched by this commit (1)
Log message:
py-nbconvert: Fix runtime error of www/py-notebook

setup.py says tinycss2 is required for bleach>=5, however
with bleach-3.3.1, tinycss2 is required to find python3 kernel.
Bump PKGREVISION.
   2022-04-19 13:45:05 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nbconvert: updated to 6.5.0

6.5.0
-----
* Support bleach 5, add packaging and tinycss2 dependencies by @bollwyvl
* Drop dependency on testpath. by @anntzer
* Adopt pre-commit by @blink1073
* Add pytest settings and handle warnings by @blink1073
* Update cli example by @leahecole
* Clean up workflows by @blink1073
   2022-04-07 09:22:22 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-nbconvert: add missing dependency on www/py-beautifulsoup4
   2022-03-29 09:39:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nbconvert: updated to 6.4.5

6.4.4
-----
* HTMLExporter: Respect the embed_images flag for HTML blocks
   2022-03-12 09:34:54 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nbconvert: updated to 6.4.3

6.4.3
-----
* Remove ipython genutils
* Add section to customizing showing how to use template inheritance
   2022-02-10 11:46:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-nbconvert: updated to 6.4.2

6.4.2
Bug fixes
   2022-02-05 12:29:16 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
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.
   2022-01-10 09:05:24 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-nbconvert: convert to egg.mk