./www/py-nbconvert, Converting Jupyter Notebooks

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


Branch: CURRENT, Version: 5.6.1, Package name: py37-nbconvert-5.6.1, 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:

SHA1: 60cfa578696b3723f6113c6767d50ff910eda7a3
RMD160: 47b6634e6660409d8fc9dda92757eaad6252e9c8
Filesize: 686.751 KB

Version history: (Expand)


CVS history: (Expand)


   2019-11-08 14:13:45 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nbconvert: updated to 5.6.1

5.6.1:

Significant Changes
RegExRemove applies to all cells
RegExRemove preprocessor now removes cells regardless of cell outputs. Before \ 
this only cells that had outputs were filtered.

Comprehensive notes

New Features
- Add support for alt tags for jpeg and png images
- Allow HTML header anchor text to be HTML
- Change RegExRemove to remove code cells with output
- Added cell tag data attributes to HTML exporter

Fixing Problems
- Update svg2pdf.py to search the PATH for inkscape
- Fix latex dependencies installation command for Ubuntu systems

Testing, Docs, and Builds
- Added Circle CI builds for documentation
- Fix typo in argument name in docstring (TagRemovePreprocessor)
- Changelog typo fix
- Updated API page for TagRemovePreprocessor and TemplateExporter
- Added remove_input_tag traitlet to the docstring
   2019-08-26 08:46:38 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-nbconvert: mark as incompatible with Python 2.7
   2019-08-21 14:59:54 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nbconvert: updated to 5.6.0

5.6.0:
Significant Changes

Jupter Client Pin
The jupyter_client dependency is now pinned to >5.3.1. This is done to \ 
support the Parallel NBConvert below, and future versions may require interface \ 
changes from that version.

Parallel NBConvert
NBConvert --execute can now be run in parallel via threads, multiprocessing, or \ 
async patterns! This means you can now parallelize nbconvert via a bash loop, or \ 
a python concurrency pattern and it should be able to execute those notebooks in \ 
parallel.

Kernels have varying support for safe concurrent execution. The ipython kernel \ 
(ipykernel version 1.5.2 and higher) should be safe to run concurrently using \ 
Python 3. However, the Python 2 ipykernel does not always provide safe \ 
concurrent execution and sometimes fails with a socket bind exception. Unlike \ 
ipykernel which is maintained by the project, other community-maintained kernels \ 
may have varying support for concurrent execution, and these kernels were not \ 
tested heavily.

Issues for nbconvert can be viewed here:
.. note: We'll keep an eye for issues related to this new capability and try to \ 
quickly patch any discovered issues post release. The improvement required \ 
touching three projects with separate releases, so if you do find an issue try \ 
upgrading dependencies and listing your dependencies for your environment when \ 
reporting.

Execute Loop Rewrite
This release completely rewrote the execution loop responsible for monitoring \ 
kernel messages until cell execution is completed. This removes an error where \ 
kernel messages could be dropped if too many were posted too quickly. \ 
Furthermore, the change means that messages are not buffered. Now, messages can \ 
be logged immediately rather than waiting for the cell to terminate.

Comprehensive notes

New Features
- Make a default global location for custom user templates
- Parallel execution improvements
- Added store_history option to preprocess_cell and run_cell
- Simplify the function signature for preprocess()
- Set flag to not always stop kernel execution on errors
- setup_preprocessor passes kwargs to start_new_kernel

Fixing Problems
- Very fast stream outputs no longer drop some messages
- LaTeX errors now properly raise exceptions
- Improve template whitespacing
- Fixes for character in LaTeX exports and filters
- Mistune pinned in preparation for 2.0 release
- Require mock only on Python 2
- Fix selection of mimetype when converting to HTML
- Correct a few typos
- Update export_from_notebook names
- Dedenting html in ExtractOutputPreprocessor
- Fix backwards incompatibility with markdown2html
- Fixed html image tagging
- Remove unnecessary css

Testing, Docs, and Builds
- Pip-install nbconvert on readthedocs.org
- Fix various doc build issues
- Add issue templates
- Added instructions for bumping the version forward when releasing
- Fix Testing on Windows
- Refactored test_run_notebooks
- Fixed documentation typos
   2019-07-22 10:42:50 by Nia Alarie | Files touched by this commit (5)
Log message:
Use https for jupyter.org.
   2019-06-14 16:49:12 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nbconvert: updated to 5.5.0

5.5.0:

New Features
- IPyWidget Support
- A new ClearMetadata Preprocessor is available
- Support for pandoc 2
- New, and better, latex template

Fixing Problems
- Refactored execute preprocessor to have a process_message function
- Fixed OOM kernel failures hanging
- Fixed latex export for svg data in python 3
- Enabled configuration to be shared to exporters from script exporter
- Make latex errors less verbose
- Typo in template syntax
- Improved attachments +fix supporting non-unique names
- PDFExporter "output_mimetype" traitlet is not longer 'text/latex'
- FIX: respect wait for clear_output
- address deprecation warning in cgi.escape
- Correct inaccurate description of available LaTeX template
- Fixed kernel death detection for executions with timeouts
- Fixed export names for various templates

Deprecations
- Dropped support for python 3.4
- Removed deprecated export_by_name

Testing, Docs, and Builds
- Added tests for each branch in execute's run_cell method
- Mention formats in --to options more clearly
- Adds ascii output type to command line docs page, mention image folder output
- Simplify setup.py
- Use utf-8 encoding in execute_api example
- Upgrade pytest on Travis
- Fix LaTeX base template name in docs
- Updated release instructions based on 5.4 release walk-through
- Fixed broken link to jinja docs
   2019-03-22 12:20:41 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nbconvert: updated to 5.4.1

5.4.1:
New Features
- Expose pygments styles
- Tornado 6.0 support -- Convert proxy handler from callback to coroutine
- Add option to overwrite the highlight_code filter

Fixing Problems
- Mathjax.tpl fix for rendering Latex in html
- Backwards compatbility for empty kernel names

Testing, Docs, and Builds
- DOC: Add missing language specification to code-block
   2018-11-29 19:26:33 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-nbconvert: updated to 5.4.0

5.4.0:

New Features
- No input flag (--no-input)
- Add alias --to ipynb for notebook exporter
- Add export_from_notebook
- If set, use nb.metadata.authors for LaTeX author line
- Populate language_info metadata when executing
- Support for \mathscr
- Allow the execute preprocessor to make use of an existing kernel
- Refactor ExecutePreprocessor
- Update widgets CDN for ipywidgets 7 w/fallback
- Add support for adding custom exporters to the "Download as" menu.
- Enable ANSI underline and inverse
- Update notebook css to 5.4.0
- Change default for slides to direct to the reveal cdn rather than locally
- Use "title" instead of "name" for metadata to match the \ 
notebook format
- Img filename metadata
- Added MathJax compatibility definitions
- Per cell exception
- Simple API for in-memory templates
- Set BIBINPUTS and BSTINPUTS environment variables when making PDF
- If nb.metadata.title is set, default to that for notebook

Deprecations
- Drop support for python 3.3

Fixing Problems
- Fix api break
- Don't remove empty cells by default
- Handle attached images in html converter
- No need to check for the channels already running
- Update font-awesome version for slides
- Properly treat JSON data
- Skip executing empty code cells
- Ppdate log.warn (deprecated) to log.warning
- Cleanup notebook.tex during PDF generation
- Windows unicode error fixed, nosetest added to setup.py
- Better content hiding; template & testing improvements
- Fix Jinja syntax in custom template example.
- Fix for an issue with empty math block
- Add parser for Multiline math for LaTeX blocks
- Use defusedxml to parse potentially untrusted XML
- Fixes for traitlets 4.1 deprecation warnings

Testing, Docs, and Builds
- A couple of typos
- Add python_requires metadata.
- Document --inplace command line flag.
- Fix minor typo in usage.rst
- Add note about local reveal_url_prefix
- Move onlyif_cmds_exist decorator to test-specific utils
- Include LICENSE file in wheels
- Added Ubuntu Linux Instructions
- Check for too recent of pandoc version
- Removing more nose remnants via dependencies.
- Remove offline statement and add some clarifications in slides docs
- Linkify PR number
- Added shebang for python
- Upgrade mistune dependency
- add feature to improve docs by having links to prs
- Update notebook CSS from version 4.3.0 to 5.1.0
- Explicitly exclude or include all files in Manifest.
   2017-10-17 20:31:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nbconvert: update to 5.3.1

5.3.1
MANIFEST.in updated to include LICENSE and scripts/ when creating sdist.