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

Issues with mistune V3.1.0 #2198

Closed
abbasidaniyal opened this issue Dec 30, 2024 · 2 comments · Fixed by #2199
Closed

Issues with mistune V3.1.0 #2198

abbasidaniyal opened this issue Dec 30, 2024 · 2 comments · Fixed by #2199

Comments

@abbasidaniyal
Copy link

In the latest release of mistune (3.1.0), they have renamed all the "axt" typos Link

This has broken nbconvert as in the dependencies, we have "mistune>=2.0.3,<4".

As a quick fix, we should probably cap the upper limit of the version in the dependencies whilst updating the MathBlock class to support the new convention.

For context, I have suggesed the mistune maintainers to add support for the old name convention as it is not a major version release. Refer

I'd be more than happy to take up the required changes based on the approach we want to take.

@fcollonval
Copy link
Contributor

To be more specific, the issue is in the following line:

"axt_heading": AXT_HEADING_WITHOUT_LEADING_SPACES,

avigailmo added a commit to Ultimagen/ugbio-utils that referenced this issue Dec 31, 2024
inbalzelig-ugi pushed a commit to Ultimagen/ugbio-utils that referenced this issue Jan 1, 2025
* mistune_cap

---------

Co-authored-by: avigailmo <avigailmo@users.noreply.github.com>
avigailmo added a commit to Ultimagen/ugbio-utils that referenced this issue Jan 2, 2025
avigailmo added a commit to Ultimagen/ugbio-utils that referenced this issue Jan 2, 2025
* add single_sample_qc report resources to core

* add reports optional deps

* cap mistune to solve jupyter/nbconvert#2198

* add test to report

* use iloc to prevent FutureWarning: Series.__getitem__ treating keys.
morotti added a commit to man-group/notebooker that referenced this issue Jan 2, 2025
mistune had a bad release 3 days ago that renamed functions and nbconvert.

waiting for fixes to be merged
jupyter/nbconvert#2198
@krassowski
Copy link
Member

nbconvert v7.16.5 includes the fix. Thank you!

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 a pull request may close this issue.

3 participants