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

Update myst-parser requirement from ~=0.13.7 to >=0.13.7,<0.15.0 #1520

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 13, 2021

Updates the requirements on myst-parser to permit the latest version.

Release notes

Sourced from myst-parser's releases.

v0.14.0

See CHANGELOG.md

Changelog

Sourced from myst-parser's changelog.

0.14.0 - 2021-05-04

Upgrade to markdown-it-py v1.0 ⬆️

This release updates the code-base to fully support the markdown-it-py v1.0.0 release. In particular for users, this update alters the parsing of tables to be consistent with the Github Flavoured Markdown (GFM) specification.

New Features ✨

  • Task lists utilise the markdown-it-py tasklists plugin, and are applied to Markdown list items starting with [ ] or [x].

    - [ ] An item that needs doing
    - [x] An item that is complete

    Add "tasklist" to the myst_enable_extensions configuration to enable.

    See the optional syntax guide for further information.

  • The sub-ref role has been added for use identical to ReST's |name| syntax.

    This allows one to access Sphinx's built-in |today|, |release| and |version| substitutions, and also introduces two new substitutions: wordcount-words and wordcount-minutes, computed by the markdown-it-py wordcount_plugin.

    > {sub-ref}`today` | {sub-ref}`wordcount-words` words | {sub-ref}`wordcount-minutes` min read

    See the roles syntax guide for further information.

  • The dmath_double_inline configuration option allows display math (i.e. $$) within an inline context. See the math syntax guide for further information.

Remove v0.13 deprecations ‼️

The deprecations made to extension configurations and colon fences in 0.13.0 (see below) have now been removed:

  • Configuration variables: myst_admonition_enable, myst_figure_enable, myst_dmath_enable, myst_amsmath_enable, myst_deflist_enable, myst_html_img_enable
  • :::{admonition,class} -> :::{admonition}\n:class: class
  • :::{figure} -> :::{figure-md}

Fix extraction of nested footnotes 🐛

Previously footnote definitions in block elements like lists would crash the parsing:

- [^e]: footnote definition in a block element

These are now correctly extracted.

... (truncated)

Commits
  • 15ff74e 🚀 RELEASE: v0.14.0 (#371)
  • a450808 ✨ NEW: Add tasklist extension (#370)
  • ac7e1f7 ✨ NEW: Add dmath_double_inline configuration option (#369)
  • 726b38f 🐛 FIX: Extract nested footnotes (#368)
  • 4954f5c ✨ NEW: Add sub-ref role and word-counting (#367)
  • fb8c8fd ⬆️ UPGRADE: markdown-it-py v1
  • 99431c0 ♻️ REFACTOR: DocutilsRenderer.env -> DocutilsRenderer.md_env
  • ee5abf0 ‼️ BREAKING: Remove v0.13 deprecations
  • 4f8a39a 📚 DOCS: Add link to sphinx-external-toc (#363)
  • See full diff in compare view

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 dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 13, 2021
@codecov
Copy link

codecov bot commented May 13, 2021

Codecov Report

Merging #1520 (b4c0f90) into latest (6f1caf5) will increase coverage by 5.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           latest    #1520      +/-   ##
==========================================
+ Coverage   90.24%   95.27%   +5.02%     
==========================================
  Files         126       99      -27     
  Lines       21104    17404    -3700     
  Branches     1589     1589              
==========================================
- Hits        19046    16582    -2464     
+ Misses       1829      593    -1236     
  Partials      229      229              
Flag Coverage Δ
python 95.27% <ø> (ø)
rust ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/core/src/ffi/hyperloglog.rs
src/core/src/index/linear.rs
src/core/src/index/mod.rs
src/core/src/from.rs
src/core/src/lib.rs
src/core/src/ffi/nodegraph.rs
src/core/src/ffi/signature.rs
src/core/src/sketch/minhash.rs
src/core/src/index/bigsi.rs
src/core/src/encodings.rs
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f1caf5...b4c0f90. Read the comment docs.

Copy link
Member

@luizirber luizirber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for some reason this works now, and #1516 wasn't necessary? 🤷

@luizirber luizirber merged commit 1633121 into latest May 13, 2021
@luizirber luizirber deleted the dependabot/pip/myst-parser-gte-0.13.7-and-lt-0.15.0 branch May 13, 2021 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant