-
Notifications
You must be signed in to change notification settings - Fork 571
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
Add support for mistune 3.1.0 #2199
Conversation
Unsure about the mypy error, should I just ignore them?
|
Hey @fcollonval! |
Ah, the try:
from mistune.plugins import Plugin
except ImportError:
class Plugin(Protocol):
def __call__(self, markdown: "Markdown") -> None: ... But really much of it could be hidden behind |
for more information, see https://pre-commit.ci
Thanks a lot for the hints @bollwyvl |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
So a quick glance a the CI doesn't tell me whether we're getting coverage against older versions of For the offending link: http://damianavila.github.io/blog/posts/one-line-deployment-of-your-site-to-gh-pages.html
# changed to
https://damianavila.github.io/blog/posts/one-line-deployment-of-your-site-to-gh-pages |
Here's a thing from test_minimum_versions:
name: Test Minimum Versions
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
dependency_type: minimum
- name: Run the unit tests
run: |
hatch run test:nowarn || hatch run test:nowarn --lf We should probably get that in there and and least see what we can see. |
It looks like nbconvert/.github/workflows/tests.yml Lines 104 to 127 in 6e5fdb3
|
Thanks @krassowski for pushing this. I arrived at the same conclusion. So I pushed a new commit to add a test for mistune 3.0 ... hopefully. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @fcollonval!
Huzzah! Happy New Year! |
Fixes #2198