./www/py-nbconvert, Converting Jupyter Notebooks

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


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

Filesize: 686.751 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2020-08-10 01:37:32 by Joerg Sonnenberger | Files touched by this commit (3)
Log message:
Apply python restrict of py-ipykernel cursively
   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