From 6a8e6f77fcb431a59b9d483506adb1b9a66452ae Mon Sep 17 00:00:00 2001 From: Marc Wouts Date: Thu, 14 Jan 2021 23:36:25 +0100 Subject: [PATCH] At the moment Jupytext requires nbformat<=5.0.8 --- .github/workflows/continuous-integration.yml | 2 +- environment-ci.yml | 1 + environment.yml | 2 +- requirements.txt | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c37e7ef5f..baf216357 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -191,7 +191,7 @@ jobs: run: | python -m pip install --upgrade pip # All dependencies but markdown-it-py - pip install nbformat pyyaml toml + pip install 'nbformat<=5.0.8' pyyaml toml pip install -r requirements-dev.txt - name: Install a Jupyter Kernel run: python -m ipykernel install --name python_kernel --user diff --git a/environment-ci.yml b/environment-ci.yml index d41b8d579..117bb8392 100644 --- a/environment-ci.yml +++ b/environment-ci.yml @@ -9,6 +9,7 @@ dependencies: - jupyter - ipykernel - nbconvert + - nbformat<=5.0.8 - pyyaml - toml - pip diff --git a/environment.yml b/environment.yml index c8d2d0a2f..b440245f7 100644 --- a/environment.yml +++ b/environment.yml @@ -4,8 +4,8 @@ channels: - conda-forge dependencies: - python>=3.6 - - jupyter - jupyterlab>=3.0 + - nbformat<=5.0.8 - jupyter-packaging - pyyaml - toml diff --git a/requirements.txt b/requirements.txt index e2f87c770..30c5eb065 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -nbformat>=4.0.0 +nbformat>=4.0.0,<=5.0.8 pyyaml toml markdown-it-py~=0.6.0