Changed
- Jupytext's contents manager uses the parent CM's
get
andsave
methods to read and save text files, and explicitly callsjupytext.reads
andjupytext.writes
to do the conversion. We don't usemock
nor internal parent methods any more. Thanks to Max Klein for helping making this work! (#634, #635) - Thanks to the above, Jupytext can work on top of contents manager that don't derive from
FileContentsManager
, and in particular it works withjupyterfs
(#618) - The documentation was reorganized.
README.md
was simplified and now includes many links to the documentation. - The documentation now uses
myst_parser
rather thanrecommonmark
. And we useconda
on RTD (#650, #652) - The
readf
andwritef
functions were dropped (they had been deprecated in favor ofread
andwrite
in June 2019, v1.2.0) - The description & dependencies of the JupyterLab extension were updated (#654)
- The
--set-kernel -
command, on a Python notebook, gives an explicit error when no kernel is not found that matches the current Python executable. - All the GitHub workflow files were concatenated into a unique file, and we have added an
pypi-publish
step to automatically publish the package on PyPi when new releases are created. - The
CHANGELOG.md
file was moved underdocs
to better expose the history of changes.
Added
- Configuration errors are reported in the console and/or in Jupyter (#613)
- Jupytext's Contents Manager internal errors are logged on the console, and trigger an HTTP Error 500 (#638)
- The GitHub actions run on both push events and pull requests, and duplicate jobs are skipped (#605)
- Jupytext has a
tox.ini
file, thanks to Chris Sewell (#605) - Jupytext is tested against Python 3.9
- The
execution
cell metadata is now filtered by default (#656)
Fixed
- Optional dependency on
sphinx-gallery
frozen to version~=0.7.0
(#614) - Codecov/patch reports should be OK now (#639)
- Jupytext tests work on non-English locales (#636)
- Cell metadata that are already present in text notebook can be filtered out using a config file (#656)
- Optional cell attributes like attachments are preserved (#671)