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

Prevent import loop with nbconvert 6 #3

Merged
merged 1 commit into from
Apr 23, 2021
Merged

Conversation

vidartf
Copy link
Collaborator

@vidartf vidartf commented Apr 23, 2021

This change in nbconvert meant that importing from nbconvert.nbconvertapp import NbConvertApp in the global scope causes a circular import. That change seems to undo the efforts of jupyter/nbconvert#423, so there might be case to be made to clean it up on the nbconvert side, but this change should at least make this module workable with nbconvert 6 for now.

[This change in nbconvert](jupyter/nbconvert#1273) meant that importing `from nbconvert.nbconvertapp import NbConvertApp` in  the global scope causes a circular import. That change seems to undo the efforts of jupyter/nbconvert#423, so there might be case to be made to clean it up on the nbconvert side, but this change should at least make this module workable with nbconvert 6 for now.
@timkpaine timkpaine merged commit 374e5e2 into timkpaine:master Apr 23, 2021
@vidartf vidartf deleted the patch-1 branch April 23, 2021 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants