Skip to content

fix(deps): update sphinx packages#20

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sphinx-pkgs
Open

fix(deps): update sphinx packages#20
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sphinx-pkgs

Conversation

@renovate

@renovate renovate Bot commented Jun 18, 2022

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
Sphinx (changelog) 4.4.04.5.0 age confidence
myst-parser ^0.17^0.19.0 age confidence
sphinx-rtd-theme 1.0.01.3.0 age confidence

Release Notes

sphinx-doc/sphinx (Sphinx)

v4.5.0

Compare Source

Changelog: https://www.sphinx-doc.org/en/master/changes.html

executablebooks/MyST-Parser (myst-parser)

v0.19.2

Compare Source

✨ NEW: Add myst_fence_as_directive config (gh-pr:742)

Setting the following config, for example:

extensions = ["myst_parser", "sphinxcontrib.mermaid"]
myst_fence_as_directive = ["mermaid"]

v0.19.1

Compare Source

🐛 FIX NoURI error in doc reference resolution, for texinfo builds (gh-pr:734)

v0.19.0

Compare Source

This release brings a number of exciting new features, improvements, and upgrades 🎉

Full Changelog: 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, gh-pr:717).

The code base API is also now fully documented by sphinx-autodoc2, which even allows for MyST docstrings! (gh-pr:704).

⬆️ 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 (gh-pr:664)

📄 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 (gh-pr:655)
  • myst_meta_html and myst_substitutions options are now supported (gh-pr:672)
  • myst_heading_anchors option is now supported (gh-pr:678)
  • Math block labels syntax is now supported (gh-pr:668)
  • Missing directive/role errors errors are now suppressible warnings (gh-pr:687)
  • Non-fatal directive parsing errors are now suppressible warnings (gh-pr:682)
  • Most of the extended markdown syntax below is also supported
🔗 Extended Markdown links

See the Extended Markdown links 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 <project:file.md>
  • <path:myfile.txt> will link specifically to a downloadable file
  • [text](#target) or <project:#target> 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 <inv:#target>, and can even use * wildcards like <inv:*:*:*#*.target>
    • 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 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:

{#id .class}
This is a paragraph with an id and class

A code fence can be given line numbers and line emphasis:

{#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:

{.glossary}
term name
: Definition of the term

Quote blocks can be given an attribution:

{attribution="Chris Sewell"}
> My quote
👌 Miscellaneous improvements
  • Nested headings (e.g. inside directives) are now allowed in MyST and are correctly rendered in HTML (gh-pr:711)
  • The colon_fence extension now renders internal content as MyST, rather than as a code block (gh-pr:713)
  • 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" (gh-pr:696)
  • The myst_enable_checkboxes option allows for task list checkboxes to be enabled/disabled (gh-pr:686)
Additional contributions
  • 🐛 FIX: Remove unnecessary assert in gh-pr:659, thanks to gh-user:n-peugnet
  • 🔧 ci(deps): setup dependabot (gh-pr:669), thanks to gh-user:mmorel-35
  • 🔧: Depend on typing_extensions only on Python<3.8 in gh-pr:642, thanks to gh-user:hukkin

v0.18.1

Compare Source

Full Changelog: v0.18.0...v0.18.1

  • ⬆️ UPGRADE: docutils 0.19 support in gh-pr:611
  • ✨ NEW: Add attrs_image (experimental) extension in gh-pr:620
    • e.g. ![image](image.png){#id .class width=100px}
    • See: Optional syntax section
    • Important: This is an experimental extension, and may change in future releases

v0.18.0

Compare Source

Full Changelog: v0.17.2...v0.18.0

This release adds support for Sphinx v5 (dropping v3), restructures the code base into modules, and also restructures the documentation, to make it easier for developers/users to follow.

It also introduces document-level configuration via the Markdown front-matter, under the myst key.
See the Local configuration section for more information.

Breaking changes

This should not be breaking, for general users of the sphinx extension (with sphinx>3),
but will be for anyone directly using the Python API, mainly just requiring changes in import module paths.

The to_docutils, to_html, to_tokens (from myst_parser/main.py) and mock_sphinx_env/parse (from myst_parser.sphinx_renderer.py) functions have been removed, since these were primarily for internal testing.
Instead, for single page builds, users should use the docutils parser API/CLI (see ),
and for testing, functionality has been moved to https://github.com/chrisjsewell/sphinx-pytest.

The top-level html_meta and substitutions front-matter keys have also been deprecated (i.e. they will still work but will emit a warning), as they now form part of the myst config, e.g.

---
html_meta:
  "description lang=en": "metadata description"
substitutions:
  key1: I'm a **substitution**
---

is replaced by:

---
myst:
  html_meta:
    "description lang=en": "metadata description"
  substitutions:
    key1: I'm a **substitution**
---
Key PRs
  • ♻️📚 Restructure code base and documentation (gh-pr:566)
  • ⬆️ Drop Sphinx 3 and add Sphinx 5 support (gh-pr:579)
  • 🐛 FIX: parse_directive_text when body followed by options (gh-pr:580)
  • 🐛 FIX: floor table column widths to integers (gh-pr:568), thanks to gh-user:Jean-Abou-Samra!

v0.17.2

Compare Source

Full Changelog: v0.17.1...v0.17.2

  • ♻️ REFACTOR: Replace attrs by dataclasses for configuration (gh-pr:557)

v0.17.1

Compare Source

Full Changelog: v0.17.0...v0.17.1

  • 🐛 FIX: Heading anchor resolution for parallel builds (gh-pr:525)
  • 🔧 MAINTAIN: Move packaging from setuptools to flit (gh-pr:553)
  • 🔧 MAINTAIN: Directly specify attrs dependency (gh-pr:555)
readthedocs/sphinx_rtd_theme (sphinx-rtd-theme)

v1.3.0

Compare Source

v1.2.2

Compare Source

v1.2.1

Compare Source

v1.2.0

Compare Source

v1.1.1

Compare Source

v1.1.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 18, 2022
@codecov

codecov Bot commented Jun 18, 2022

Copy link
Copy Markdown

Codecov Report

Merging #20 (d252afe) into main (29b376c) will not change coverage.
The diff coverage is n/a.

❗ Current head d252afe differs from pull request most recent head a8ab8a1. Consider uploading reports for the commit a8ab8a1 to get more accurate results

@@            Coverage Diff            @@
##              main       #20   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines            3         3           
=========================================
  Hits             3         3           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@renovate renovate Bot force-pushed the renovate/sphinx-pkgs branch from d252afe to a8ab8a1 Compare March 16, 2023 11:30
@renovate renovate Bot changed the title fix(deps): update dependency myst-parser to ^0.18 fix(deps): update sphinx packages Mar 16, 2023
@renovate

renovate Bot commented Mar 16, 2023

Copy link
Copy Markdown
Author

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Creating virtualenv owlery-XCUhN_yr-py3.12 in /home/ubuntu/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...


Because no versions of myst-parser match >0.19.0,<0.19.1 || >0.19.1,<0.19.2 || >0.19.2,<0.20.0
 and myst-parser (0.19.0) depends on sphinx (>=5,<7), myst-parser (>=0.19.0,<0.19.1 || >0.19.1,<0.19.2 || >0.19.2,<0.20.0) requires sphinx (>=5,<7).
And because myst-parser (0.19.1) depends on sphinx (>=5,<7)
 and myst-parser (0.19.2) depends on sphinx (>=5,<7), myst-parser (>=0.19.0,<0.20.0) requires sphinx (>=5,<7).
So, because owlery depends on both Sphinx (^4.0) and myst-parser (^0.19.0), version solving failed.

@renovate renovate Bot changed the title fix(deps): update sphinx packages chore(deps): update sphinx packages Apr 17, 2023
@renovate renovate Bot changed the title chore(deps): update sphinx packages fix(deps): update sphinx packages Aug 27, 2023
@renovate

renovate Bot commented Aug 28, 2024

Copy link
Copy Markdown
Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...


Because no versions of myst-parser match >0.19.0,<0.19.1 || >0.19.1,<0.19.2 || >0.19.2,<0.20.0
 and myst-parser (0.19.0) depends on sphinx (>=5,<7), myst-parser (>=0.19.0,<0.19.1 || >0.19.1,<0.19.2 || >0.19.2,<0.20.0) requires sphinx (>=5,<7).
And because myst-parser (0.19.1) depends on sphinx (>=5,<7)
 and myst-parser (0.19.2) depends on sphinx (>=5,<7), myst-parser (>=0.19.0,<0.20.0) requires sphinx (>=5,<7).
So, because owlery depends on both Sphinx (^4.0) and myst-parser (^0.19.0), version solving failed.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants