Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the required group with 13 updates (#5)
Updates the requirements on [frequenz-api-common](https://github.com/frequenz-floss/frequenz-api-common), [frequenz-client-base](https://github.com/frequenz-floss/frequenz-client-base-python), [pydoclint](https://github.com/jsh9/pydoclint), [markdown](https://github.com/Python-Markdown/markdown), [mkdocs-material](https://github.com/squidfunk/mkdocs-material), [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings), [mypy](https://github.com/python/mypy), [types-markdown](https://github.com/python/typeshed), [pylint](https://github.com/pylint-dev/pylint), [pytest](https://github.com/pytest-dev/pytest), [pytest-mock](https://github.com/pytest-dev/pytest-mock), [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) and [async-solipsism](https://github.com/bmerry/async-solipsism) to permit the latest version. Updates `frequenz-api-common` to 0.6.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/frequenz-floss/frequenz-api-common/releases">frequenz-api-common's releases</a>.</em></p> <blockquote> <h2>v0.6.0</h2> <h1>Frequenz Common API Release Notes</h1> <h2>Summary</h2> <ul> <li>Removed dependency on <code>googleapis-common-protos</code> in favor of internal <code>frequenz.api.common.v1.types.Decimal</code>, advising updates to dependencies for users previously relying on Google's types.</li> <li>Renamed voltage and current metrics for clarity and introduced new metrics, including line-to-line voltages and Total Harmonic Distortion (THD) metrics, with updated naming conventions for simplicity and precision.</li> </ul> <h2>Upgrading</h2> <ul> <li> <p>The dependency on <code>googleapis-common-protos</code> / <code>googleapis/googleapis</code> was removed, now the built-in <code>frequenz.api.common.v1.types.Decimal</code> is used internally instead. This is compatible with Google's type, but if you depended indirectly on Google's submodule or python packages, you may need to update your dependencies.</p> <p>Nevertheless it is strongly recommended to remove the dependency on Google repos and use the built-in <code>frequenz.api.common.v1.types.Decimal</code> instead if your project only uses the <code>Decimal</code> type from it too.</p> </li> <li> <p>Voltage metrics have been renamed from <code>METRIC_VOLTAGE_PHASE_[1|2|3]</code> to <code>METRIC_VOLTAGE_PHASE_[1|2|3]_N</code>.</p> </li> <li> <p>The variants in the enum <code>Metric</code> have been renumberd due to the addition of line-to-line voltages.</p> </li> <li> <p>Current metrics have been renamed: <code>METRIC_AC_APPARENT_CURRENT</code> -> <code>METRIC_AC_CURRENT</code> <code>METRIC_AC_APPARENT_CURRENT_PHASE_[1|2|3]</code> -> <code>METRIC_AC_CURRENT_PHASE_[1|2|3]</code></p> </li> <li> <p>Metrics for Total Harmonic Distortion have been un-abbreviated: <code>METRIC_AC_THD_CURRENT</code> -> <code>METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT</code> <code>METRIC_AC_THD_CURRENT_PHASE_[1|2|3]</code> -> <code>METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT_PHASE_[1|2|3]</code></p> </li> <li> <p>Renamed <code>SimpleMetricSample</code> to <code>SimpleMetricValue</code>, because it does not contain a timestamp, so it does not represent a sample but a value.</p> </li> <li> <p>Renamed <code>AggregatedMetricSample</code> to <code>AggregatedMetricValue</code>, because it does not contain a timestamp, so it does not represent a sample but a value.</p> </li> <li> <p>Renamed <code>MetricSampleVariant</code> to <code>MetricValueVariant</code>.</p> </li> <li> <p>Rename <code>MetricSample.sample</code> to <code>MetricSample.value</code>.</p> </li> <li> <p>Rename <code>SensorMetricSample.sample</code> to <code>SensorMetricSample.value</code>.</p> </li> </ul> <h2>New Features</h2> <ul> <li> <p>Added a <code>Frequenz.api.common.v1.types.Decimal</code> type, compatible with <code>google.type.Decimal</code>.</p> </li> <li> <p>The following new metrics have been added:</p> <ul> <li><code>METRIC_VOLTAGE_PHASE_1_PHASE_2</code></li> <li><code>METRIC_VOLTAGE_PHASE_2_PHASE_3</code></li> <li><code>METRIC_VOLTAGE_PHASE_3_PHASE_1</code></li> </ul> </li> </ul> <h2>What's Changed</h2> <ul> <li>Clear release notes by <a href="https://github.com/tiyash-basu-frequenz"><code>@tiyash-basu-frequenz</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/192">frequenz-floss/frequenz-api-common#192</a></li> <li>Remove dependency on <code>googleapis</code> by <a href="https://github.com/llucax"><code>@llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/187">frequenz-floss/frequenz-api-common#187</a></li> <li>Bump the optional group with 3 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/194">frequenz-floss/frequenz-api-common#194</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/08538ce91ebec107668628c14498fa0ae00253ad"><code>08538ce</code></a> Cleanup release notes for release v0.6.0 (<a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/issues/212">#212</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/497893186322abcd64d0f42cff337a36a367ace9"><code>4978931</code></a> Cleanup release notes for release v0.6.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/af97c706663634f8691575a6ff8555094cc6bea8"><code>af97c70</code></a> Rename <code>[Simple|Aggregated]MetricSample</code> to <code>[Simple|Aggregated]MetricValue</code> ...</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/9ccb5b631e45df213c61d64baa9dea2a6de2be80"><code>9ccb5b6</code></a> Rename <code>SensorMetricSample.sample</code> to <code>SensorMetricSample.value</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/5c0214db24e69aa7d8daac4ff8408cbcddb3c013"><code>5c0214d</code></a> Rename <code>MetricSample.sample</code> to <code>MetricSample.value</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/fbcc68bb12f3a75737c3691760e3c7d11da0b76f"><code>fbcc68b</code></a> Rename <code>MetricSampleVariant</code> to <code>MetricValueVariant</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/cb6cc7503612689f13323bfe76863681a89fe8d2"><code>cb6cc75</code></a> Rename <code>AggregatedMetricSample</code> to <code>AggregatedMetricValue</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/56ed2312c7beb05235d9ef0b0b14cf3eb1857fe7"><code>56ed231</code></a> Rename <code>SimpleMetricSample</code> to <code>SimpleMetricValue</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/3a396c0523988eb4252481444dead7c69cd629b0"><code>3a396c0</code></a> Unabbreviate <code>THD</code> in the Metric enum (<a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/issues/209">#209</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/8f06c7bb2b949338f1185013315f5147b631668f"><code>8f06c7b</code></a> Unabbreviate <code>THD</code> in the Metric enum</li> <li>Additional commits viewable in <a href="https://github.com/frequenz-floss/frequenz-api-common/compare/v0.5.3...v0.6.0">compare view</a></li> </ul> </details> <br /> Updates `frequenz-client-base` to 0.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/frequenz-floss/frequenz-client-base-python/releases">frequenz-client-base's releases</a>.</em></p> <blockquote> <h2>v0.3.0</h2> <h1>Frequenz Client Base Library Release Notes</h1> <h2>Summary</h2> <p>This release updates the minimum required <code>frequenz-channels</code> version is updated to v1.0.0-rc1. This is a breaking change, because the channels API has changed.</p> <h2>Upgrading</h2> <p>Follow the upgrading instructions from the new channel release: <a href="https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v1.0.0-rc.1">v1.0.0-rc1</a>.</p> <h2>What's Changed</h2> <ul> <li>Don't create nox sessions twice in cross-arch tests by <a href="https://github.com/llucax"><code>@llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/pull/34">frequenz-floss/frequenz-client-base-python#34</a></li> <li>Clear release notes by <a href="https://github.com/llucax"><code>@llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/pull/33">frequenz-floss/frequenz-client-base-python#33</a></li> <li>Update minimum <code>frequenz-channels</code> version to <code>v1.0.0-rc1</code> by <a href="https://github.com/shsms"><code>@shsms</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/pull/35">frequenz-floss/frequenz-client-base-python#35</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/frequenz-floss/frequenz-client-base-python/compare/v0.2.1...v0.3.0">https://github.com/frequenz-floss/frequenz-client-base-python/compare/v0.2.1...v0.3.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/6230161c22c0ccb3fb61522e6b5b3df9cdca2eaf"><code>6230161</code></a> Update minimum <code>frequenz-channels</code> version to <code>v1.0.0-rc1</code> (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/35">#35</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/e21cc53f5ed3219cd171450dedc5179af6fa5d88"><code>e21cc53</code></a> Update RELEASE_NOTES.md and prepare for release v0.3.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/31de004f9bfe54519f07ae2baa2d9659c78a1f30"><code>31de004</code></a> Update minimum <code>frequenz-channels</code> version to v1.0.0-rc1</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/97196bde8dbaac648bef3acba5268a05d9f90cdb"><code>97196bd</code></a> Clear release notes (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/33">#33</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/1c8d44746c9f341cf12ab99f30286e3f235182f0"><code>1c8d447</code></a> Don't create nox sessions twice in cross-arch tests (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/34">#34</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/43584c489bb8bc44068b3a3fef19e6142b3b2fb2"><code>43584c4</code></a> Don't create nox sessions twice in cross-arch tests</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/56954296b4a01aa44fbf856041f12c2f8aa156fa"><code>5695429</code></a> Clear release notes</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/59c03307ce4eacf6214fbd37e7d2c2acdf314b19"><code>59c0330</code></a> Prepare release notes for v0.2.1 (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/32">#32</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/ba211b86e9e6644f0051a0e08e76141efdc82768"><code>ba211b8</code></a> Prepare release notes for v0.2.1</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/d8c8aa6b3b84eeceaa40894ed38a874bbc9fd7a5"><code>d8c8aa6</code></a> Improve generated docs (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/31">#31</a>)</li> <li>Additional commits viewable in <a href="https://github.com/frequenz-floss/frequenz-client-base-python/compare/v0.1.0...v0.3.0">compare view</a></li> </ul> </details> <br /> Updates `pydoclint` from 0.3.8 to 0.4.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jsh9/pydoclint/releases">pydoclint's releases</a>.</em></p> <blockquote> <h2>0.4.1</h2> <h2>What's Changed</h2> <ul> <li>Fix double quotes in Literal type hint by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/123">jsh9/pydoclint#123</a></li> <li>Remove useless argument <code>--src</code> by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/124">jsh9/pydoclint#124</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jsh9/pydoclint/compare/0.4.0...0.4.1">https://github.com/jsh9/pydoclint/compare/0.4.0...0.4.1</a></p> <h2>0.4.0</h2> <h2>What's Changed</h2> <ul> <li>Include args with different type hints in DOC105 msg by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/120">jsh9/pydoclint#120</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jsh9/pydoclint/compare/0.3.10...0.4.0">https://github.com/jsh9/pydoclint/compare/0.3.10...0.4.0</a></p> <h2>0.3.10</h2> <h2>What's Changed</h2> <ul> <li>Documenting tool integration by <a href="https://github.com/jamesbraza"><code>@jamesbraza</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/104">jsh9/pydoclint#104</a></li> <li>Exclude venv folders in flake8 by <a href="https://github.com/jamesbraza"><code>@jamesbraza</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/116">jsh9/pydoclint#116</a></li> <li>Add option to show filename for each violation msg by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/119">jsh9/pydoclint#119</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jamesbraza"><code>@jamesbraza</code></a> made their first contribution in <a href="https://redirect.github.com/jsh9/pydoclint/pull/104">jsh9/pydoclint#104</a></li> <li><a href="https://github.com/gigi-minds-ai"><code>@gigi-minds-ai</code></a> made their first contribution in <a href="https://redirect.github.com/jsh9/pydoclint/pull/118">jsh9/pydoclint#118</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jsh9/pydoclint/compare/0.3.9...0.3.10">https://github.com/jsh9/pydoclint/compare/0.3.9...0.3.10</a></p> <h2>0.3.9</h2> <h2>What's Changed</h2> <ul> <li>Fix false positive DOC203 in property methods by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/115">jsh9/pydoclint#115</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jsh9/pydoclint/compare/0.3.8...0.3.9">https://github.com/jsh9/pydoclint/compare/0.3.8...0.3.9</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jsh9/pydoclint/blob/main/CHANGELOG.md">pydoclint's changelog</a>.</em></p> <blockquote> <h2>[0.4.1] - 2024-02-17</h2> <ul> <li> <p>Fixed</p> <ul> <li>A bug where using double quotes in Literal type (such as <code>Literal["foo"]</code> could produce a false positive <code>DOC203</code> violation.</li> <li>Removed useless argument <code>--src</code></li> </ul> </li> <li> <p>Full diff</p> <ul> <li><a href="https://github.com/jsh9/pydoclint/compare/0.4.0...0.4.1">https://github.com/jsh9/pydoclint/compare/0.4.0...0.4.1</a></li> </ul> </li> </ul> <h2>[0.4.0] - 2024-02-08</h2> <ul> <li> <p>Changed</p> <ul> <li>Improved the violation message of DOC105: the arguments with inconsistent type hints are now shown in the violation message to make violation correction much easier</li> </ul> </li> <li> <p>Full diff</p> <ul> <li><a href="https://github.com/jsh9/pydoclint/compare/0.3.10...0.4.0">https://github.com/jsh9/pydoclint/compare/0.3.10...0.4.0</a></li> </ul> </li> </ul> <h2>[0.3.10] - 2024-02-07</h2> <ul> <li> <p>Added</p> <ul> <li>A new config option <code>--show-filenames-in-every-violation-message</code> (or <code>-sfn</code>), which makes it more convenient to jump to the corresponding line in IDEs by clicking on the violation message in the terminal</li> </ul> </li> <li> <p>Full diff</p> <ul> <li><a href="https://github.com/jsh9/pydoclint/compare/0.3.9...0.3.10">https://github.com/jsh9/pydoclint/compare/0.3.9...0.3.10</a></li> </ul> </li> </ul> <h2>[0.3.9] - 2024-01-16</h2> <ul> <li> <p>Fixed</p> <ul> <li>False positive violation <code>DOC203</code> when there is no docstring return section for methods with <code>@property</code> decorator</li> </ul> </li> <li> <p>Full diff</p> <ul> <li><a href="https://github.com/jsh9/pydoclint/compare/0.3.8...0.3.9">https://github.com/jsh9/pydoclint/compare/0.3.8...0.3.9</a></li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jsh9/pydoclint/commit/af2c3268119be1701ae0e61ebfc68f84bd120c3c"><code>af2c326</code></a> Update changelog</li> <li><a href="https://github.com/jsh9/pydoclint/commit/3a5e4b02748eb6a3eb1a57665bb8ceef932ea8fb"><code>3a5e4b0</code></a> Remove useless argument <code>--src</code> (<a href="https://redirect.github.com/jsh9/pydoclint/issues/124">#124</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/70eb3c88129d5eb2d3951de225d5e61fa596fd9e"><code>70eb3c8</code></a> Fix double quotes in Literal type hint (<a href="https://redirect.github.com/jsh9/pydoclint/issues/123">#123</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/d2b4b995b1502f85f61c3e8b8768d55e2575026b"><code>d2b4b99</code></a> Include args with different type hints in DOC105 msg (<a href="https://redirect.github.com/jsh9/pydoclint/issues/120">#120</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/fa41757fb29525bfd9ffb71d1a8f5f423e7a3104"><code>fa41757</code></a> Add option to show filename for each violation msg (<a href="https://redirect.github.com/jsh9/pydoclint/issues/119">#119</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/b8b43965303639702120ee8fea75b0a1d07b9251"><code>b8b4396</code></a> Add py312 to CI pipeline</li> <li><a href="https://github.com/jsh9/pydoclint/commit/01893df80dd077217dba7b8f1ea53e0f944e33d1"><code>01893df</code></a> Exclude venv folders in flake8 (<a href="https://redirect.github.com/jsh9/pydoclint/issues/116">#116</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/676847e4de6917ea0e83c585f0fbe0c1293cade7"><code>676847e</code></a> Documenting tool integration (<a href="https://redirect.github.com/jsh9/pydoclint/issues/104">#104</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/75e485b313d1467e56d239841f562cbafe8617c5"><code>75e485b</code></a> Fix false positive DOC203 in property methods (<a href="https://redirect.github.com/jsh9/pydoclint/issues/115">#115</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/55c0fdec67698bee7bba91d2b2481e564a1d6139"><code>55c0fde</code></a> Explain why allow-init-docstring defaults to False</li> <li>Additional commits viewable in <a href="https://github.com/jsh9/pydoclint/compare/0.3.8...0.4.1">compare view</a></li> </ul> </details> <br /> Updates `markdown` from 3.5.1 to 3.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/releases">markdown's releases</a>.</em></p> <blockquote> <h2>Release 3.6</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> <h2>Release 3.5.2</h2> <h3>Fixed</h3> <ul> <li>Fix type annotations for <code>convertFile</code> - it accepts only bytes-based buffers. Also remove legacy checks from Python 2 (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1400">#1400</a>)</li> <li>Remove legacy import needed only in Python 2 (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1403">#1403</a>)</li> <li>Fix typo that left the attribute <code>AdmonitionProcessor.content_indent</code> unset (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1404">#1404</a>)</li> <li>Fix edge-case crash in <code>InlineProcessor</code> with <code>AtomicString</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1406">#1406</a>).</li> <li>Fix edge-case crash in <code>codehilite</code> with an empty <code>code</code> tag (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1405">#1405</a>).</li> <li>Improve and expand type annotations in the code base (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1401">#1401</a>).</li> <li>Fix handling of bogus comments (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1425">#1425</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md">markdown's changelog</a>.</em></p> <blockquote> <h2>[3.6] -- 2024-03-14</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> <h2>[3.5.2] -- 2024-01-10</h2> <h3>Fixed</h3> <ul> <li>Fix type annotations for <code>convertFile</code> - it accepts only bytes-based buffers. Also remove legacy checks from Python 2 (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1400">#1400</a>)</li> <li>Remove legacy import needed only in Python 2 (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1403">#1403</a>)</li> <li>Fix typo that left the attribute <code>AdmonitionProcessor.content_indent</code> unset (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1404">#1404</a>)</li> <li>Fix edge-case crash in <code>InlineProcessor</code> with <code>AtomicString</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1406">#1406</a>).</li> <li>Fix edge-case crash in <code>codehilite</code> with an empty <code>code</code> tag (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1405">#1405</a>).</li> <li>Improve and expand type annotations in the code base (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1401">#1401</a>).</li> <li>Fix handling of bogus comments (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1425">#1425</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Python-Markdown/markdown/commit/e524b8fe938738cb4492411a34cce89051cb9695"><code>e524b8f</code></a> Bump version to 3.6</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/3d8afc6f89e169522f44c1bbec15f66dc359eccb"><code>3d8afc6</code></a> Allow attr_list quoted values to contain curly braces</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/9edba85fc14f034b7109534220702bf60178ff15"><code>9edba85</code></a> Refactor abbr escaping</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/e4ab4a610edc6332ce81a53aa4ae6f97516ce461"><code>e4ab4a6</code></a> Refactor TOC sanitation</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a18765c25cccab23f400edeac94d20f4be00492b"><code>a18765c</code></a> Explicitly omit carot and backslash from abbr</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/421f1e88ff4661b4433b97ec57b040a2a74e5aed"><code>421f1e8</code></a> Give smarty tree processor higher priority than toc</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/c334a3e47e6565469344154f966cf0eb9aca0de3"><code>c334a3e</code></a> Ensure lines after heading in loose list are properly detabbed</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/ea92856855a6314488acb121f21f8fa02860e008"><code>ea92856</code></a> Update the license template so GitHub can detect it</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a2effd6d5191808c8b2e347965f6fcf4aa709e78"><code>a2effd6</code></a> Disable mkdocstrings show_symbol_type_toc option to work around searching iss...</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/91f9a1205d32f3bc6a27ca5f993409c3b97c1931"><code>91f9a12</code></a> Restore Attribute symbol type in mkdocstrings template</li> <li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.5.1...3.6">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.3 to 9.5.18 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p> <blockquote> <h2>mkdocs-material-9.5.18</h2> <ul> <li>Refactored tooltips implementation to fix positioning issues</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7044">#7044</a>: Rendering glitch when hovering contributor avatar in Chrome</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7043">#7043</a>: Highlighted lines in code blocks cutoff on mobile</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6910">#6910</a>: Incorrect position of tooltip for page status in sidebar</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6760">#6760</a>: Incorrect position and overly long tooltip in tables</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6488">#6488</a>: Incorrect position and cutoff tooltip in content tabs</li> </ul> <h2>mkdocs-material-9.5.17</h2> <ul> <li>Updated Serbian translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7003">#7003</a>: Confusing keyboard interaction for palette toggle</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7001">#7001</a>: Blog posts now show time by default (9.5.16 regression)</li> <li>Fixed edge case in backport of social plugin font loading logic</li> </ul> <p>Thanks to <a href="https://github.com/stcksmsh"><code>@stcksmsh</code></a> for their contributions.</p> <h2>mkdocs-material-9.5.16</h2> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/Guts"><code>@Guts</code></a>, <a href="https://github.com/szg-alex-payne"><code>@szg-alex-payne</code></a> and <a href="https://github.com/natakazakova"><code>@natakazakova</code></a> for their contributions</p> <h2>mkdocs-material-9.5.15</h2> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <h2>mkdocs-material-9.5.14</h2> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/yubiuser"><code>@yubiuser</code></a> and <a href="https://github.com/todeveni"><code>@todeveni</code></a> for their contributions</p> <h2>mkdocs-material-9.5.13</h2> <ul> <li>Updated Slovak translations</li> <li>Improved info plugin interop with projects plugin</li> <li>Improved info plugin inclusion/exclusion logic</li> <li>Fixed info plugin not gathering files recursively</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6750">#6750</a>: Ensure info plugin packs up all necessary files</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a> and <a href="https://github.com/scepka"><code>@scepka</code></a> for their contributions</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's changelog</a>.</em></p> <blockquote> <p>mkdocs-material-9.5.18 (2024-04-16)</p> <ul> <li>Refactored tooltips implementation to fix positioning issues</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7044">#7044</a>: Rendering glitch when hovering contributor avatar in Chrome</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7043">#7043</a>: Highlighted lines in code blocks cutoff on mobile</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6910">#6910</a>: Incorrect position of tooltip for page status in sidebar</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6760">#6760</a>: Incorrect position and overly long tooltip in tables</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6488">#6488</a>: Incorrect position and cutoff tooltip in content tabs</li> </ul> <p>mkdocs-material-9.5.17+insiders-4.53.6 (2024-04-05)</p> <ul> <li>Ensure working directory is set for projects when using projects plugin</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6970">#6970</a>: Incorrect relative paths in git submodules with projects plugin</li> </ul> <p>mkdocs-material-9.5.17+insiders-4.53.5 (2024-04-02)</p> <ul> <li>Fixed social plugin crashing when no colors are specified in palettes</li> </ul> <p>mkdocs-material-9.5.17 (2024-04-02)</p> <ul> <li>Updated Serbian translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7003">#7003</a>: Confusing keyboard interaction for palette toggle</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7001">#7001</a>: Blog posts now show time by default (9.5.16 regression)</li> <li>Fixed edge case in backport of social plugin font loading logic</li> </ul> <p>mkdocs-material-9.5.16+insiders-4.53.4 (2024-03-31)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6973">#6973</a>: Escaping issue in tags extra files deprecation helper</li> </ul> <p>mkdocs-material-9.5.16 (2024-03-31)</p> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>mkdocs-material-9.5.15+insiders-4.53.3 (2024-03-23)</p> <ul> <li>Added support for font variants in social plugin</li> <li>Improved resilience of font resolution in social plugin</li> <li>Fixed tag listing sometimes not being auto-populated</li> <li>Fixed tag listing scope not being correctly resolved</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6941">#6941</a>: Meta plugin adding duplicate entries</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6928">#6928</a>: Social plugin crashes for some fonts</li> </ul> <p>mkdocs-material-9.5.15 (2024-03-23)</p> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/3b592abc2108003defb716bc21519ee5ec91ae89"><code>3b592ab</code></a> Prepare 9.5.18 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f028004c597bfe6d15da08b9296bd96523046c5e"><code>f028004</code></a> Merge pull request <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7045">#7045</a> from squidfunk/refactor/tooltip-positioning</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/29658ed9709601a3eda024ac51bd652a37d9c7f4"><code>29658ed</code></a> Merge branch 'master' into refactor/tooltip-positioning</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/851e5bb1941545a35c9a02954efa6380c671aeee"><code>851e5bb</code></a> Fixed rendering glitch when hovering contributor avatar</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/599193edfae0d5c879788115075ef7a1eef2e266"><code>599193e</code></a> Fixed overly long tooltips</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/e15518cfa588d3dfb8113c1ba90f2c0bc5c02fce"><code>e15518c</code></a> Refactored tooltips</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/4eb1a4393741b1ecf8019dd53292b7a4d02e16f5"><code>4eb1a43</code></a> Added missing CSS for highlight fix</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/5707773ce33d58aed0702232b93fadcd4d864765"><code>5707773</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/9d33f8aaa6089708d5f4d377dfeb8e8c69e990d2"><code>9d33f8a</code></a> Fixed highlighted lines in code blocks being cutoff on mobile</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/cd086110bfd65eb6dfeed8c3a01f500e9cdb7468"><code>cd08611</code></a> Updated dependencies</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.3...9.5.18">compare view</a></li> </ul> </details> <br /> Updates `mkdocstrings[python]` from 0.24.0 to 0.24.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/mkdocstrings/releases">mkdocstrings[python]'s releases</a>.</em></p> <blockquote> <h2>0.24.3</h2> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.3">0.24.3</a> - 2024-04-05</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.2...0.24.3">Compare with 0.24.2</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...) (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/7fe3e5f28239c08094fb656728369998f52630ea">7fe3e5f</a> by Timothée Mazzucotelli).</li> </ul> <h2>0.24.2</h2> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.2">0.24.2</a> - 2024-04-02</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.1...0.24.2">Compare with 0.24.1</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Support HTML toc labels with Python-Markdown 3.6+ (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/c0d009000678a2ccbfb0c8adfeff3dc83845ee41">c0d0090</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/143">Issue-mkdocstrings/python-143</a></li> </ul> <h2>0.24.1</h2> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.1">0.24.1</a> - 2024-02-27</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.0...0.24.1">Compare with 0.24.0</a><!-- raw HTML omitted --></p> <h3>Code Refactoring</h3> <ul> <li>Support new pymdownx-highlight options (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/a7a29079aebcd79be84ac38ce275797920e4c75e">a7a2907</a> by Timothée Mazzucotelli).</li> <li>Backup anchors with id and no href, for compatibility with autorefs' Markdown anchors (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/b5236b4333ebde9648c84f6e4b0f4c2b10f3ecd4">b5236b4</a> by Timothée Mazzucotelli). [PR-<a href="https://redirect.github.com/mkdocstrings/mkdocstrings/issues/651">#651</a>](<a href="https://redirect.github.com/mkdocstrings/mkdocstrings/pull/651">mkdocstrings/mkdocstrings#651</a>), <a href="https://redirect.github.com/mkdocstrings/autorefs/pull/39">Related-to-mkdocs-autorefs#39</a>, Co-authored-by: Oleh Prypin <a href="mailto:oleh@pryp.in">oleh@pryp.in</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md">mkdocstrings[python]'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.3">0.24.3</a> - 2024-04-05</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.2...0.24.3">Compare with 0.24.2</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...) (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/7fe3e5f28239c08094fb656728369998f52630ea">7fe3e5f</a> by Timothée Mazzucotelli).</li> </ul> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.2">0.24.2</a> - 2024-04-02</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.1...0.24.2">Compare with 0.24.1</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Support HTML toc labels with Python-Markdown 3.6+ (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/c0d009000678a2ccbfb0c8adfeff3dc83845ee41">c0d0090</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/143">Issue-mkdocstrings/python-143</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.1">0.24.1</a> - 2024-02-27</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.0...0.24.1">Compare with 0.24.0</a><!-- raw HTML omitted --></p> <h3>Code Refactoring</h3> <ul> <li>Support new pymdownx-highlight options (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/a7a29079aebcd79be84ac38ce275797920e4c75e">a7a2907</a> by Timothée Mazzucotelli).</li> <li>Backup anchors with id and no href, for compatibility with autorefs' Markdown anchors (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/b5236b4333ebde9648c84f6e4b0f4c2b10f3ecd4">b5236b4</a> by Timothée Mazzucotelli). [PR-<a href="https://redirect.github.com/mkdocstrings/mkdocstrings/issues/651">#651</a>](<a href="https://redirect.github.com/mkdocstrings/mkdocstrings/pull/651">mkdocstrings/mkdocstrings#651</a>), <a href="https://redirect.github.com/mkdocstrings/autorefs/pull/39">Related-to-mkdocs-autorefs#39</a>, Co-authored-by: Oleh Prypin <a href="mailto:oleh@pryp.in">oleh@pryp.in</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/828bd5921dba610e0ce33be780ac16af0eb0bef6"><code>828bd59</code></a> chore: Prepare release 0.24.3</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/7fe3e5f28239c08094fb656728369998f52630ea"><code>7fe3e5f</code></a> fix: Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...)</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/7b9827c97e396bd76f77315d40baa6596ee8e17e"><code>7b9827c</code></a> chore: Prepare release 0.24.2</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/17bfc87a8d23de5585b4630fd8c2b4595ac88a36"><code>17bfc87</code></a> chore: Use PEP 440 versioning scheme for changelog</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/024ac41024a19cbf45f4d127c75cb709134683db"><code>024ac41</code></a> ci: Ignore mypy warning</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/c0d009000678a2ccbfb0c8adfeff3dc83845ee41"><code>c0d0090</code></a> fix: Support HTML toc labels with Python-Markdown 3.6+</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/ccbbbf1c74a2d29c1ce290ba4a3649c93a0fb27e"><code>ccbbbf1</code></a> chore: Template upgrade</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/56cf7d50f7982b06c70390c77385d76eae6d80ce"><code>56cf7d5</code></a> docs: List VBA handler</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/9e1bf62a06ba72f7ec4d35e2fb2a448b9daebdd0"><code>9e1bf62</code></a> docs: Fix link to Griffe extension</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/f071d5deed49e6a1cb06e227609b9d50511c11ab"><code>f071d5d</code></a> chore: Switch to Copier UV template</li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.0...0.24.3">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.8.0 to 1.9.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Mypy 1.9</h2> <p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h4>Breaking Changes</h4> <p>Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR <a href="https://redirect.github.com/python/mypy/pull/16883">16883</a>)</p> <p>We are planning to enable <a href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types">local partial types</a> (enabled via the <code>--local-partial-types</code> flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.</p> <p>Local partial types can also be enabled in the mypy config file:</p> <pre><code>local_partial_types = True </code></pre> <p>We are looking at providing a tool to make it easier to migrate projects to use <code>--local-partial-types</code>, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.</p> <h4>Basic Support for Type Parameter Defaults (PEP 696)</h4> <p>This release contains new experimental support for type parameter defaults (<a href="https://peps.python.org/pep-0696">PEP 696</a>). Please try it out! This feature was contributed by Marc Mueller.</p> <p>Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import <code>TypeVar</code>, <code>ParamSpec</code> or <code>TypeVarTuple</code> from <code>typing_extensions</code> to use defaults for now.</p> <p>This example adapted from the PEP defines a default for <code>BotT</code>:</p> <pre lang="python"><code>from typing import Generic from typing_extensions import TypeVar <p>class Bot: ...</p> <p>BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/5ff46f8b3706d005fabab2227ec84476d605bfd4"><code>5ff46f8</code></a> Remove +dev.</li> <li><a href="https://github.com/python/mypy/commit/155909ad1bde747d89fcd091621d7cd9b1e15818"><code>155909a</code></a> [Release 1.9] Unsupport targetting 3.7. (<a href="https://redirect.github.com/python/mypy/issues/16883">#16883</a>) (<a href="https://redirect.github.com/python/mypy/issues/16900">#16900</a>)</li> <li><a href="https://github.com/python/mypy/commit/6615cabe57c661114d0ed44784f67301619faadf"><code>6615cab</code></a> [Release 1.9] Stubtest: ignore a new protocol dunder (<a href="https://redirect.github.com/python/mypy/issues/16895">#16895</a>) (<a href="https://redirect.github.com/python/mypy/issues/16899">#16899</a>)</li> <li><a href="https://github.com/python/mypy/commit/b956e6a57c4dd36d670097a3eccf7dc092348fec"><code>b956e6a</code></a> stubtest: Private parameters can be omitted (<a href="https://redirect.github.com/python/mypy/issues/16507">#16507</a>)</li> <li><a href="https://github.com/python/mypy/commit/ede0b200a10186a095378516d840389f8da4edd4"><code>ede0b20</code></a> Bump ruff to 0.2.0 (<a href="https://redirect.github.com/python/mypy/issues/16870">#16870</a>)</li> <li><a href="https://github.com/python/mypy/commit/7bdd61f2d89ecd2cee4ebe6eb2375a72b29f0b10"><code>7bdd61f</code></a> stubgen: Fix crash on star unpack of TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/16869">#16869</a>)</li> <li><a href="https://github.com/python/mypy/commit/8c2ef9dde8aa803e04038427ad84f09664d9d93f"><code>8c2ef9d</code></a> Update hashes in sync-typeshed.py following recent typeshed sync</li> <li><a href="https://github.com/python/mypy/commit/0dd4b6f7576be3d3857fecefb298decdf0711ac7"><code>0dd4b6f</code></a> Revert use of <code>ParamSpec</code> for <code>functools.wraps</code></li> <li><a href="https://github.com/python/mypy/commit/dd12a2d810f2bbe7a8686674397043b18575480f"><code>dd12a2d</code></a> Revert typeshed ctypes change</li> <li><a href="https://github.com/python/mypy/commit/d132999ba631b332d0684173897e5947591f4acc"><code>d132999</code></a> Revert sum literal integer change (<a href="https://redirect.github.com/python/mypy/issues/13961">#13961</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.8.0...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `types-markdown` from 3.5.0.20240129 to 3.6.0.20240316 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `pylint` from 3.0.3 to 3.1.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pylint-dev/pylint/commit/053c2c3a25f97f043e10cdd41d2609e495a68f57"><code>053c2c3</code></a> Bump pylint to 3.1.0, update changelog</li> <li><a href="https://github.com/pylint-dev/pylint/commit/c954636f5fdef9ae05a328704db19dd44f37aac2"><code>c954636</code></a> Upgrade release documentation, and contributors.txt</li> <li><a href="https://github.com/pylint-dev/pylint/commit/7300ed2687701bbcb02eac9baa7f5c2197cf1397"><code>7300ed2</code></a> Discover <code>.pyi</code> files (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9241">#9241</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/9dbf3df4d5259061d204d44111f6c6b8d390f635"><code>9dbf3df</code></a> Merge maintenance 3.0.x into main following 3.0.4 release (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9459">#9459</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/28e89b05c67781806011f052177214de4d2abefc"><code>28e89b0</code></a> Remove changelog fragments pertaining to 3.0.4</li> <li><a href="https://github.com/pylint-dev/pylint/commit/4332ea17cca3936e3e390cbe83e30c1bbf35d78d"><code>4332ea1</code></a> Merge branch 'maintenance/3.0.x' into main following 3.0.4 release</li> <li><a href="https://github.com/pylint-dev/pylint/commit/811538121f07173bab6a8a1e0366ed56b020954c"><code>8115381</code></a> Bump pylint to 3.0.4, update changelog (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9458">#9458</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/4bf3524e84682a924e7115d3aaa6942c3d459ad5"><code>4bf3524</code></a> [false-negative] Fix for consider-using-min/max-builtin (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9127">#9127</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/8c24b1e1178e969823220367b0bd1a96182460cf"><code>8c24b1e</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9448">#9448</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/f4996860edb2dc9fd66be2f60a2035cd72b56956"><code>f499686</code></a> Update astroid version to 3.1.0 (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9457">#9457</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pylint-dev/pylint/compare/v3.0.3...v3.1.0">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.0.0 to 8.1.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a> Prepare release version 8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a> from bluetech/fixtures-rm-arg2index</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a> from bluetech/fixture-teardown-excgroup</li> <li><a href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a> from jakkdl/test_debugging_pythonbreakpoint</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.0.0...8.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.11.1 to 3.14.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-mock/releases">pytest-mock's releases</a>.</em></p> <blockquote> <h2>v3.14.0</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/415">#415</a>: <code>MockType</code> and <code>AsyncMockType</code> can be imported from <code>pytest_mock</code> for type annotation purposes.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/420">#420</a>: Fixed a regression which would cause <code>mocker.patch.object</code> to not being properly cleared between tests.</li> </ul> <h2>v3.13.0</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/417">#417</a>: <code>spy</code> now has <code>spy_return_list</code>, which is a list containing all the values returned by the spied function.</li> <li><code>pytest-mock</code> now requires <code>pytest>=6.2.5</code>.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/410">#410</a>: pytest-mock's <code>setup.py</code> file is removed. If you relied on this file, e.g. to install pytest using <code>setup.py install</code>, please see <a href="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary">Why you shouldn't invoke setup.py directly</a> for alternatives.</li> </ul> <h2>v3.12.0</h2> <ul> <li>Added support for Python 3.12.</li> <li>Dropped support for EOL Python 3.7.</li> <li><code>mocker.resetall()</code> now also resets mocks created by <code>mocker.create_autospec</code> (<a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/390">#390</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst">pytest-mock's changelog</a>.</em></p> <blockquote> <h2>3.14.0 (2024-03-21)</h2> <ul> <li> <p><code>[#415](https://github.com/pytest-dev/pytest-mock/issues/415) <https://github.com/pytest-dev/pytest-mock/pull/415></code>_: <code>MockType</code> and <code>AsyncMockType</code> can be imported from <code>pytest_mock</code> for type annotation purposes.</p> </li> <li> <p><code>[#420](https://github.com/pytest-dev/pytest-mock/issues/420) <https://github.com/pytest-dev/pytest-mock/issues/420></code>_: Fixed a regression which would cause <code>mocker.patch.object</code> to not being properly cleared between tests.</p> </li> </ul> <h2>3.13.0 (2024-03-21)</h2> <ul> <li><code>[#417](https://github.com/pytest-dev/pytest-mock/issues/417) <https://github.com/pytest-dev/pytest-mock/pull/417></code>_: <code>spy</code> now has <code>spy_return_list</code>, which is a list containing all the values returned by the spied function.</li> <li><code>pytest-mock</code> now requires <code>pytest>=6.2.5</code>.</li> <li><code>[#410](https://github.com/pytest-dev/pytest-mock/issues/410) <https://github.com/pytest-dev/pytest-mock/pull/410></code><em>: pytest-mock's <code>setup.py</code> file is removed. If you relied on this file, e.g. to install pytest using <code>setup.py install</code>, please see <code>Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary></code></em> for alternatives.</li> </ul> <h2>3.12.0 (2023-10-19)</h2> <ul> <li>Added support for Python 3.12.</li> <li>Dropped support for EOL Python 3.7.</li> <li><code>mocker.resetall()</code> now also resets mocks created by <code>mocker.create_autospec</code> (<code>[#390](https://github.com…
- Loading branch information