secretflow / psi

The repo of Private Set Intersection(PSI) and Private Information Retrieval(PIR) from SecretFlow.
https://www.secretflow.org.cn/docs/psi
Apache License 2.0
22 stars 16 forks source link

Update dependency myst-parser to v3 #120

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
myst-parser ==0.18.1 -> ==3.0.1 age adoption passing confidence

Release Notes

executablebooks/MyST-Parser (myst-parser) ### [`v3.0.1`](https://togithub.com/executablebooks/MyST-Parser/blob/HEAD/CHANGELOG.md#301---2024-04-28) [Compare Source](https://togithub.com/executablebooks/MyST-Parser/compare/v3.0.0...v3.0.1) ##### ๐Ÿ› Bug Fixes - Account for the final directive option having an empty value, by in - Re-allow indented directive option blocks, by in **Full Changelog**: [v3.0.1...v3.0.0](https://togithub.com/executablebooks/MyST-Parser/compare/v3.0.1...v3.0.0) ### [`v3.0.0`](https://togithub.com/executablebooks/MyST-Parser/blob/HEAD/CHANGELOG.md#300---2024-04-23) [Compare Source](https://togithub.com/executablebooks/MyST-Parser/compare/v2.0.0...v3.0.0) ##### Upgraded dependencies - โฌ†๏ธ Add support for Python 3.12 by in - โฌ†๏ธ Update docutils requirement from >=0.16,<0.21 to >=0.18,<0.22 by in ##### New features - โœจ Allow for use of the `line-block` directive by in - โœจ Emits sphinx include-read event by in ##### Improvements - ๐Ÿ‘Œ Nested parse attribution in `attr_block` by in - ๐Ÿ‘Œ Directive option parsing by in \ in - ๐Ÿ‘Œ Allow for opening external links in new tabs ([#​856](https://togithub.com/executablebooks/MyST-Parser/issues/856)) by in ##### Internal - ๐Ÿ”ง Replace black, isort, pyupgrade with ruff formatter by in - ๐Ÿ”ง remove redundant mypy config by in - ๐Ÿ”ง Add additional Ruff lints (and fix issues) by in - ๐Ÿ”ง mypy- disallow 'any generics' by in - ๐Ÿ”ง Fix docutils deprecation in option parsing by in ##### Documentation - ๐Ÿ“š Fix a broken link in configuration.md by in - ๐Ÿ“š Add linkify dependency to contributing docs. by in - ๐Ÿ“š Fix the double `used` in docs/syntax/math.md by in - ๐Ÿ“š Also add linkify to pip install command in README by in - ๐Ÿ“š Fix the code section title in live preview by in - ๐Ÿ“š Fix admonition example by in - ๐Ÿ“š Fix url for jupyter book gallery by in - ๐Ÿ“š Update theme version by in - ๐Ÿ“š Fix typo by in - ๐Ÿ“š Fix architecture typo ([#​855](https://togithub.com/executablebooks/MyST-Parser/issues/855)) by in **Full Changelog**: [v2.0.0...v3.0.0](https://togithub.com/executablebooks/MyST-Parser/compare/v2.0.0...v3.0.0) ### [`v2.0.0`](https://togithub.com/executablebooks/MyST-Parser/blob/HEAD/CHANGELOG.md#200---2023-06-13) [Compare Source](https://togithub.com/executablebooks/MyST-Parser/compare/v1.0.0...v2.0.0) This release primarily updates core myst-parser dependencies, with some minor changes to parsing behaviour: - โฌ†๏ธ UPGRADE: `markdown-it-py` to v3 () - This is mainly a non-breaking change, fixing some edge cases in parsing - See: and - โฌ†๏ธ UPGRADE: `linkify-it-py` to v2 () - Also fixes some edge cases in parsing - See: - โฌ†๏ธ UPGRADE: Add support for `docutils` v0.20 () - No significant changes, see - โฌ†๏ธ UPGRADE: Add support for `sphinx` v7, and remove v5 support () - No significant changes, see - โฌ†๏ธ UPGRADE: Remove Python 3.7 support and add testing for Python 3.11 () - ๐Ÿ‘Œ Improve default slug generation for heading anchors, thanks to () - This change makes the slug generation closer to GitHub, in that, starting/ending whitespace will not be stripped. For example, `` # ` a` b `c ` `` will now correctly create the slug `-a-b-c-` and not `a-b-c` - ๐Ÿ‘Œ IMPROVE: Substitution extension () - Allow any value type (including dict, list, datetime) and emit a `myst.substitution` warning for errors in resolving the substitution content. - ๐Ÿงช Introduce a gate/check GHA job, thanks to () **Full Changelog**: [v1.0.0...v2.0.0](https://togithub.com/executablebooks/MyST-Parser/compare/v1.0.0...v2.0.0) ### [`v1.0.0`](https://togithub.com/executablebooks/MyST-Parser/blob/HEAD/CHANGELOG.md#100---2023-03-07) [Compare Source](https://togithub.com/executablebooks/MyST-Parser/compare/v0.19.2...v1.0.0) ๐ŸŽ‰ **MyST-Parser 1.0.0** ๐ŸŽ‰ This changes absolutely nothing in the code, or about the maintenance/release policy of this project. But it does feel about time ๐Ÿ˜„ ### [`v0.19.2`](https://togithub.com/executablebooks/MyST-Parser/blob/HEAD/CHANGELOG.md#0192---2023-03-02) [Compare Source](https://togithub.com/executablebooks/MyST-Parser/compare/v0.19.1...v0.19.2) โœจ NEW: Add myst_fence_as_directive config () Setting the following config, for example: ```python extensions = ["myst_parser", "sphinxcontrib.mermaid"] myst_fence_as_directive = ["mermaid"] ``` ### [`v0.19.1`](https://togithub.com/executablebooks/MyST-Parser/blob/HEAD/CHANGELOG.md#0191---2023-03-07) [Compare Source](https://togithub.com/executablebooks/MyST-Parser/compare/v0.19.0...v0.19.1) ๐Ÿ› FIX `NoURI` error in doc reference resolution, for texinfo builds () ### [`v0.19.0`](https://togithub.com/executablebooks/MyST-Parser/blob/HEAD/CHANGELOG.md#0190---2023-03-01) [Compare Source](https://togithub.com/executablebooks/MyST-Parser/compare/v0.18.1...v0.19.0) This release brings a number of exciting new features, improvements, and upgrades ๐ŸŽ‰ Full Changelog: [v0.18.1...v0.19.0](https://togithub.com/executablebooks/MyST-Parser/compare/v0.18.1...v0.19.0) ##### ๐Ÿ“š Rewritten documentation The documentation has been almost completely rewritten, with a clearer structure, many more examples, rich hover tips, and a new live preview page โšก๏ธ (powered by [pyscript](https://pyscript.readthedocs.io/), ). The code base API is also now fully documented by [sphinx-autodoc2](https://sphinx-autodoc2.readthedocs.io/), which even allows for MyST docstrings! (). ##### โฌ†๏ธ Add Sphinx 6 support, drop Sphinx 4 The code base has been updated to support sphinx v6, and is no longer tested against sphinx v4 () ##### ๐Ÿ“„ Extended docutils (single-page) support The `docutils` parser now supports many more features, and improvements to support live previews: - `myst_suppress_warnings` option added, mirroring Sphinx, to suppress MyST warnings () - `myst_meta_html` and `myst_substitutions` options are now supported () - `myst_heading_anchors` option is now supported () - Math block labels syntax is now supported () - Missing directive/role errors errors are now suppressable warnings () - Non-fatal directive parsing errors are now suppressable warnings () - Most of the extended markdown syntax below is also supported ##### ๐Ÿ”— Extended Markdown links See the [Extended Markdown links](docs/syntax/cross-referencing.md) section for the full guide. You can now use standard Markdown link syntax to reference many different types of targets, in a more consistent way. - `[text](relative/path/myfile.md)` work as previously, to link to files, but they can also be relative to source directory: `[text](/path/from/srcdir/myfile.md)`. You can also use `` - `` will link specifically to a downloadable file - `[text](#target)` or `` will link (in order of priority) to any local target, local heading anchor, target in the same project, or intersphinx (inventory) target - `[text](inv:name:domain:type#target)` will link specifically to a Sphinx inventory target, or to any inventory ``, and can even use `*` wildcards like `` - This can even be used in docutils, with the new `myst_inventories` config option - The `myst-inv` CLI makes it easy to find the correct inventory target :::{tip} It is advised (although not immediately necessary) to prefix all internal references with `#`. For example, `[...](my-reference)`, should be changed to `[...](#my-reference)`. ::: ##### `{}` Attributes syntax The [`attrs_inline` and `attrs_block`](docs/syntax/optional.md#attributes) extensions allow for common Markdown syntaxes to be extended with greater control over the output. For example, you can now add classes, ids, and other attributes to inline code, images, and links, as well as to code blocks and directives. - Inline code: `` `a = 1`{#id .class l=python} `` - Images: `![image](image.png){#id .class width=100px}` - Text spans: `[some text]{#id .class}` A paragraph block can have attributes too: ```markdown {#id .class} This is a paragraph with an id and class ``` A code fence can be given line numbers and line emphasis: ````markdown {#id .class lineno-start=1 emphasize-lines="2,3"} ```python a = 1 b = 2 c = 3 ``` ```` A definition list can be turned into a glossary, with referenceable terms: ```markdown {.glossary} term name : Definition of the term ``` Quote blocks can be given an attribution: ```markdown {attribution="Chris Sewell"} > My quote ``` ##### ๐Ÿ‘Œ Miscellaneous improvements - Nested headings (e.g. inside directives) are now allowed in MyST and are correctly rendered in HTML () - The `colon_fence` extension now renders internal content as MyST, rather than as a code block () - The `include` directive in MyST documents now supports a `:heading-offset:` option, to offset the heading levels in the included document - The `myst_heading_slug_func` option now supports setting a `str` which points to a fully qualified function name, e.g. `"module.path.func"` () - The `myst_enable_checkboxes` option allows for task list checkboxes to be enabled/disabled () ##### Additional contributions - ๐Ÿ› FIX: Remove unnecessary assert in , thanks to - ๐Ÿ”ง ci(deps): setup dependabot (), thanks to - ๐Ÿ”ง: Depend on typing_extensions only on `Python<3.8` in , thanks to

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 1 month ago

Stale pull request message. Please comment to remove stale tag. Otherwise this pr will be closed soon.

renovate[bot] commented 1 month ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.