Skip to content

Releases: mwouts/jupytext

Version 1.8.1

03 Jan 22:07
Compare
Choose a tag to compare

Changed

  • The dependency on markdown-it-py is conditional on python>=3.6 (#697)

Version 1.8.0

22 Dec 21:34
Compare
Choose a tag to compare

Changed

  • Removed support for Python 2.7 and 3.5, a preliminary step towards a JupyterLab 3.0-compatible extension (#683)
  • The MyST Markdown format uses markdown-it-py~=0.6.0 (#692)

Version 1.7.1

16 Nov 08:17
Compare
Choose a tag to compare

1.7.1 (2020-11-16)

Fixed

  • Text notebooks have the same format and mimetype as ipynb notebooks. This fixes the File Load Error - content.indexOf is not a function error on text notebooks (#659)

Version 1.7.0

14 Nov 13:01
Compare
Choose a tag to compare

Changed

  • Jupytext's contents manager uses the parent CM's get and save methods to read and save text files, and explicitly calls jupytext.reads and jupytext.writes to do the conversion. We don't use mock 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 with jupyterfs (#618)
  • The documentation was reorganized. README.md was simplified and now includes many links to the documentation.
  • The documentation now uses myst_parser rather than recommonmark. And we use conda on RTD (#650, #652)
  • The readf and writef functions were dropped (they had been deprecated in favor of read and write 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 under docs 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)

Version 1.7.0rc1 (bis)

11 Nov 00:09
Compare
Choose a tag to compare
Pre-release

Changed

  • Jupytext's contents manager uses the parent CM's get and save methods to read and save text files, and explicitly calls jupytext.reads and jupytext.writes to do the conversion. We don't use mock 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 with jupyterfs (#618)
  • The documentation was reorganized. README.md was simplified and now includes many links to the documentation.
  • The documentation now uses myst_parser rather than recommonmark. And we use conda on RTD (#650, #652)
  • The readf and writef functions were dropped (they had been deprecated in favor of read and write 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 under docs 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)

Version 1.7.0rc1

10 Nov 23:39
Compare
Choose a tag to compare
Version 1.7.0rc1 Pre-release
Pre-release

Changed

  • Jupytext's contents manager uses the parent CM's get and save methods to read and save text files, and explicitly calls jupytext.reads and jupytext.writes to do the conversion. We don't use mock 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 with jupyterfs (#618)
  • The documentation was reorganized. README.md was simplified and now includes many links to the documentation.
  • The documentation now uses myst_parser rather than recommonmark. And we use conda on RTD (#650, #652)
  • The readf and writef functions were dropped (they had been deprecated in favor of read and write 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 under docs 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)

Version 1.7.0 rc0

05 Oct 11:57
Compare
Choose a tag to compare
Version 1.7.0 rc0 Pre-release
Pre-release

Changed

  • Jupytext's contents manager uses the parent CM's get and save methods to read and save text files, and explicitly calls jupytext.reads and jupytext.writes to do the conversion. We don't use mock 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 with jupyterfs (#618)
  • The documentation was reorganized. README.md was simplified and now includes many links to the documentation.

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)

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)

Version 1.6.0

01 Sep 21:53
Compare
Choose a tag to compare

1.6.0 (2020-09-01)

Added

  • New option hide_notebook_metadata to encapsulate the notebook metadata in an HTML comment (#527)
  • New option root_level_metadata_as_raw_cell. Set it to False if you don't want to see root level metadata
    of R Markdown notebooks as a raw cell in Jupyter (#415)
  • New option doxygen_equation_markers to translate Markdown equations into Doxygen equations (#517)
  • New option custom_cell_magics to comment out cells starting with user-specific cell magics (#513)
  • Documented how to use isort on notebooks (#553)
  • jupytext notebook.ipynb --to filename.py will warn that --to is used in place of --output.
  • jupytext --set-formats filename.py will suggest to use --sync instead of --set-formats (#544)
  • Warn if 'Include Metadata' is off when saving text files in Jupyter (#561)
  • Test that notebooks paired through a configuration file are left unmodified (#598)
  • Test that metadata filters in the configuration files are taken into account when using jupytext --to (#543)
  • New argument --run-path to execute the notebooks at the desired location (#595)
  • Activated GitHub code scanning alerts

Changed

  • Jupytext now depends on markdown-it-py (Python 3.6 and above) and always features the MyST-Markdown format,
    thanks to Chris Sewell (#591)
  • The md:myst and md:pandoc are always included in the Jupytext formats, and an informative runtime
    error will occur if the required dependencies, resp. markdown-it-py and pandoc, are not installed. (#556)
  • The # %% cell marker has the same indentation as the first line in the cell (#562)
  • Jupytext is now installed from source on MyBinder to avoid cache issues (#567)
  • The tests that execute a notebook are now skipped on Windows to avoid timeout issues (#489)

Fixed

  • Only scripts can have an encoding comment, not Markdown or R Markdown files (#576)
  • Spaces in --pipe commands are supported (#562)
  • Bash commands starting with special characters are now correctly detected, thanks to Aaron Gokaslan (#587)
  • MyST Markdown files are recognized as such even if MyST-Markdown is not available (#556)
  • Build JupyterLab with dev-build=False and minimize=False on mybinder to avoid build errors
  • Configured coverage targets in codecov.yml

Version 1.6.0rc0

30 Aug 22:55
Compare
Choose a tag to compare
Version 1.6.0rc0 Pre-release
Pre-release

Added

  • Activated GitHub code scanning alerts
  • New option hide_notebook_metadata to encapsulate the notebook metadata in an HTML comment (#527)
  • New option root_level_metadata_as_raw_cell. Set it to False if you don't want to see root level metadata
    of R Markdown notebooks as a raw cell in Jupyter (#415)
  • New option doxygen_equation_markers to translate Markdown equations into Doxygen equations (#517)
  • New option custom_cell_magics to comment out cells starting with user-specific cell magics (#513)
  • Tested isort on notebooks (#553)
  • jupytext notebook.ipynb --to filename.py will warn that --to is used in place of --output.
  • jupytext --set-formats filename.py will suggest to use --sync instead of --set-formats (#544)
  • Warn if 'Include Metadata' is off when saving text files in Jupyter (#561)
  • Test that notebooks paired through a configuration file are left unmodified (#598)
  • Test that metadata filters in the configuration files are taken into account when using jupytext --to (#543)
  • New argument --run-path to execute the notebooks at the desired location (#595)

Changed

  • Install Jupytext from source on MyBinder to avoid cache issues (#567)
  • Skip the tests that execute a notebook on Windows to avoid timeout issues (#489)
  • The # %% cell marker has the same indentation as the first line in the cell (#562)
  • The md:myst and md:pandoc are always included in the Jupytext formats, and an informative runtime
    error will occur if the required dependencies, resp. markdown-it-py and pandoc, are not installed. (#556)
  • Jupytext now depends on markdown-it-py and always features the MyST-Markdown format (Python 3.6 and above, #591)

Fixed

  • Configured coverage targets in codecov.yml
  • Only scripts can have an encoding comment, not Markdown or R Markdown files (#576)
  • Spaces in --pipe commands are supported (#562)
  • Bash commands starting with special characters are now correctly detected, thanks to Aaron Gokaslan (#587)
  • MyST Markdown files are recognized as such even if myst is missing (#556)
  • Build JupyterLab with dev-build=False and minimize=False on mybinder to avoid build errors

Version 1.5.2

21 Jul 20:04
Compare
Choose a tag to compare

1.5.2 (2020-07-21)

Changed

  • The documentation uses the Alabaster theme

Fixed

  • Preserve indentation when commenting out magic commands (#437)
  • Fixed MyBinder - jupytext.py is not a configuration file (#559, #567)