mmdeploy icon indicating copy to clipboard operation
mmdeploy copied to clipboard

Bump mistune from 0.8.4 to 2.0.3 in /requirements

Open dependabot[bot] opened this issue 2 years ago • 2 comments

Bumps mistune from 0.8.4 to 2.0.3.

Release notes

Sourced from mistune's releases.

Version 2.0.2

Fix escape_url via lepture/mistune#295

Version 2.0.1

Fix XSS for image link syntax.

Version 2.0.0

First release of Mistune v2.

Version 2.0.0 RC1

In this release, we have a Security Fix for harmful links.

Version 2.0.0 Alpha 1

This is the first release of v2. An alpha version for users to have a preview of the new mistune.

Changelog

Sourced from mistune's changelog.

Changelog

Here is the full history of mistune v2.

Version 2.0.4


Released on Jul 15, 2022
  • Fix url plugin in <a> tag
  • Fix * formatting

Version 2.0.3

Released on Jun 27, 2022

  • Fix table plugin
  • Security fix for CVE-2022-34749

Version 2.0.2


Released on Jan 14, 2022

Fix escape_url

Version 2.0.1

Released on Dec 30, 2021

XSS fix for image link syntax.

Version 2.0.0


Released on Dec 5, 2021

This is the first non-alpha release of mistune v2.

Version 2.0.0rc1

Released on Feb 16, 2021

Version 2.0.0a6


</tr></table> 

... (truncated)

Commits
  • 3f422f1 Version bump 2.0.3
  • a6d4321 Fix asteris emphasis regex CVE-2022-34749
  • 5638e46 Merge pull request #307 from jieter/patch-1
  • 0eba471 Fix typo in guide.rst
  • 61e9337 Fix table plugin
  • 76dec68 Add documentation for renderer heading when TOC enabled
  • 799cd11 Version bump 2.0.2
  • babb0cf Merge pull request #295 from dairiki/bug.escape_url
  • fc2cd53 Make mistune.util.escape_url less aggressive
  • 3e8d352 Version bump 2.0.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

dependabot[bot] avatar Aug 01 '22 03:08 dependabot[bot]

@RunningLeon Is mistune ncessary?

lvhan028 avatar Aug 04 '22 13:08 lvhan028

@RunningLeon Is mistune ncessary?

@lvhan028 Yes, it is the dependency of m2r. But mistune==2.0.3 would trigger error on my machine, that's why it is locked to 0.8.4

(pt1.8) pj\xxx@pc:~/projects/openmmlab/mmdeploy/docs/en$ pip show m2r mistune
WARNING: Ignoring invalid distribution -mcv-full (/home/pj/xxx/anaconda3/envs/pt1.8/lib/python3.7/site-packages)
Name: m2r
Version: 0.2.1
Summary: Markdown and reStructuredText in a single file.
Home-page: https://github.com/miyakogi/m2r
Author: Hiroyuki Takagi
Author-email: [email protected]
License: MIT
Location: /home/pj/xxx/anaconda3/envs/pt1.8/lib/python3.7/site-packages
Requires: docutils, mistune
Required-by: 
---
Name: mistune
Version: 2.0.4
Summary: A sane Markdown parser with useful plugins and renderers
Home-page: https://github.com/lepture/mistune
Author: Hsiaoming Yang
Author-email: [email protected]
License: BSD 3-Clause License
Location: /home/pj/xxx/anaconda3/envs/pt1.8/lib/python3.7/site-packages
Requires: 
Required-by: m2r, nbconvert
(pt1.8) pj\xxx@pc:~/projects/openmmlab/mmdeploy/docs/en$ make html
正在运行 Sphinx v4.0.2

Configuration error:
配置文件中有程序上的错误:

Traceback (most recent call last):
  File "/home/pj/xxx/anaconda3/envs/pt1.8/lib/python3.7/site-packages/sphinx/config.py", line 323, in eval_config_file
    exec(code, namespace)
  File "/home/pj/xxx/projects/openmmlab/mmdeploy/docs/en/conf.py", line 18, in <module>
    from m2r import MdInclude
  File "/home/pj/xxx/anaconda3/envs/pt1.8/lib/python3.7/site-packages/m2r.py", line 59, in <module>
    class RestBlockGrammar(mistune.BlockGrammar):
AttributeError: module 'mistune' has no attribute 'BlockGrammar'

Makefile:19: recipe for target 'html' failed
make: *** [html] Error 2

RunningLeon avatar Aug 05 '22 01:08 RunningLeon

closed as to keep it unchanged.

RunningLeon avatar Aug 29 '22 07:08 RunningLeon

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

dependabot[bot] avatar Aug 29 '22 07:08 dependabot[bot]

Hi @dependabot !We are grateful for your efforts in helping improve this open-source project during your personal time.

Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA If you have a WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:)

Thank you again for your contribution❤

OpenMMLab-Assistant001 avatar Apr 13 '23 11:04 OpenMMLab-Assistant001