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

Import CellExecutionError from nbconvert from the right place #772

Merged

Conversation

HealthyPear
Copy link
Contributor

@HealthyPear HealthyPear commented Dec 21, 2023

newer versions of nbconvert now define CellExecutionError only from nbconvert.preprocessors

I guess also a test is missing which made this part of code never trigger the crash ( I get it because in my sphinx build something is triggering it)

@mgeier
Copy link
Member

mgeier commented Dec 23, 2023

Thanks for this PR!

If we want to be very clear, we should change the dependency in setup.py to nbconvert>=5.3,!=5.4, because this was added in jupyter/nbconvert@c62f6e4.

BTW, I still have to figure out the CI failure, but it has nothing to do with your changes.

@HealthyPear
Copy link
Contributor Author

Thanks for this PR!

If we want to be very clear, we should change the dependency in setup.py to nbconvert>=5.3,!=5.4, because this was added in jupyter/nbconvert@c62f6e4.

will do

BTW, I still have to figure out the CI failure, but it has nothing to do with your changes.

I see that the error has to do with the absence of pkg_resources.
As far as I know that dependency to deal with resources is deprecated in recent python versions in favor of importlib_resources.

@HealthyPear
Copy link
Contributor Author

The CI issues seem gone anyway

@mgeier
Copy link
Member

mgeier commented Feb 3, 2024

The CI error has been fixed (or rather worked-around) in #773.

Can you please re-base?

HealthyPear and others added 2 commits February 4, 2024 13:51
newer versions of nbconvert now define CellExecutionError only from nbconvert.preprocessors
@HealthyPear HealthyPear force-pushed the fix-import_CellExecutionError branch from a8b1a8b to f8d0400 Compare February 4, 2024 12:52
@HealthyPear
Copy link
Contributor Author

The CI error has been fixed (or rather worked-around) in #773.

Can you please re-base?

Done.

@mgeier mgeier merged commit 6145052 into spatialaudio:master Feb 4, 2024
4 checks passed
@mgeier
Copy link
Member

mgeier commented Feb 4, 2024

Thanks!

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