Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebook 7 compatibility fixes #122

Merged
merged 2 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# History

## 0.5.2 (2023-07-28)

- Fixes compatibility with Notebook 7. ([PR #122](https://github.com/drivendataorg/nbautoexport/pull/122))

## 0.5.1 (2023-07-18)

- Add support for `pydantic>=2.0.0` ([PR #119](https://github.com/drivendataorg/nbautoexport/pull/119))
Expand Down
2 changes: 1 addition & 1 deletion nbautoexport/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from nbconvert.nbconvertapp import NbConvertApp
from nbconvert.postprocessors.base import PostProcessorBase
from notebook.services.contents.filemanager import FileContentsManager
from jupyter_server.services.contents.filemanager import FileContentsManager

from nbautoexport.clean import FORMATS_WITH_IMAGE_DIR
from nbautoexport.sentinel import (
Expand Down
2 changes: 1 addition & 1 deletion tests/test_jupyter_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys
import textwrap

from notebook.services.contents.filemanager import FileContentsManager
from jupyter_server.services.contents.filemanager import FileContentsManager
from traitlets.config.loader import Config

from nbautoexport import __version__
Expand Down
2 changes: 1 addition & 1 deletion tests/test_post_save.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import shutil

import nbformat
from notebook.services.contents.filemanager import FileContentsManager
from jupyter_server.services.contents.filemanager import FileContentsManager
import pytest
from traitlets.config import Config

Expand Down
Loading