-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: O(n³) runtime fix #185
Open
Masara
wants to merge
13
commits into
various_fixes
Choose a base branch
from
fix-docstring-runtime
base: various_fixes
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…or the loaded griffe data instead of parsing through it every time we search for a specific docstring
…e stub generator, which probably takes about O(n^3) right now.
…docstring-runtime
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 24.1.2 to 24.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/semantic-release/semantic-release/releases">semantic-release's releases</a>.</em></p> <blockquote> <h2>v24.2.0</h2> <h1><a href="https://github.com/semantic-release/semantic-release/compare/v24.1.3...v24.2.0">24.2.0</a> (2024-10-25)</h1> <h3>Features</h3> <ul> <li>clarify branch existence requirement in error messages (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3462">#3462</a>) (<a href="https://github.com/semantic-release/semantic-release/commit/05a2ea9a060e6508abf92087e8c8cc4a7a85604f">05a2ea9</a>)</li> </ul> <h2>v24.1.3</h2> <h2><a href="https://github.com/semantic-release/semantic-release/compare/v24.1.2...v24.1.3">24.1.3</a> (2024-10-18)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>branch-naming:</strong> prevent non-range versions from being identified as maintenance branches (<a href="https://github.com/semantic-release/semantic-release/commit/07f2672e25626b7f8c7329216496bfa962b3c6e9">07f2672</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/semantic-release/semantic-release/commit/05a2ea9a060e6508abf92087e8c8cc4a7a85604f"><code>05a2ea9</code></a> feat: clarify branch existence requirement in error messages (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3462">#3462</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/8940f32ccce455a01a4e32c101bb0f4a809ab00d"><code>8940f32</code></a> ci(action): update actions/setup-node action to v4.1.0 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3489">#3489</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/789ac43192fa789f160d3bd96e75ede3a91ab70c"><code>789ac43</code></a> chore(deps): update dependency publint to v0.2.12 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3488">#3488</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/3ba76aeb0d9d8712b08de346e394dffd4dfc0dba"><code>3ba76ae</code></a> ci(action): update actions/checkout action to v4.2.2 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3486">#3486</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/8612ff146683886fc3fed8e8c257945aa2750fd6"><code>8612ff1</code></a> chore(deps): update dependency npm-run-all2 to v7.0.1 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3487">#3487</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/e29a8925ebdfb92b9996e36c878553f42295e676"><code>e29a892</code></a> ci(action): update github/codeql-action action to v3.27.0 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3485">#3485</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/98d606e8f069f2fc8d7ed39a7684ab8cfb56acac"><code>98d606e</code></a> chore(deps): update dependency npm-run-all2 to v7 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3483">#3483</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/55938c355cc5e254e3adbc2f5a3f9fa90583a4aa"><code>55938c3</code></a> docs(plugins): community plugin <code>semantic-release-kaniko</code> (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3450">#3450</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/2b4c86cf118d837964385b74deb39ef9e9de8906"><code>2b4c86c</code></a> chore(deps): lock file maintenance (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3481">#3481</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/41c95020fecb8b4dde156c65d2f503eb85b36a9f"><code>41c9502</code></a> ci(action): update github/codeql-action action to v3.26.13 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3424">#3424</a>)</li> <li>Additional commits viewable in <a href="https://github.com/semantic-release/semantic-release/compare/v24.1.2...v24.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=semantic-release&package-manager=npm_and_yarn&previous-version=24.1.2&new-version=24.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 5.0.0 to 6.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst">pytest-cov's changelog</a>.</em></p> <blockquote> <h2>6.0.0 (2024-10-29)</h2> <ul> <li>Updated various documentation inaccuracies, especially on subprocess handling.</li> <li>Changed fail under checks to use the precision set in the coverage configuration. Now it will perform the check just like <code>coverage report</code> would.</li> <li>Added a <code>--cov-precision</code> cli option that can override the value set in your coverage configuration.</li> <li>Dropped support for now EOL Python 3.8.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/95404375a0e436178e012e20b8865c23c54c8a50"><code>9540437</code></a> Bump version: 5.0.0 → 6.0.0</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/9f8175467afc67db9001fb364ad1f2dfe79b51f1"><code>9f81754</code></a> Further trim down envs and drop Python 3.8.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/b12b5ec65da4c66bbc0c35918957f9f875f465c3"><code>b12b5ec</code></a> Update conf.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/23f4b27b432a54fcc3b6df7363f0e73e568233fb"><code>23f4b27</code></a> Update changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/291a04f49566054bb19644aba27c3799ac8b7f42"><code>291a04f</code></a> Bump test deps and trim config.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/08f1101455ba293dda388fdb3b61e62fd95a827d"><code>08f1101</code></a> Add <code>--cov-precision</code> option. Close <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/655">#655</a>.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/76fe2a7e48e5c9c53644994c5ba5a421c84286f5"><code>76fe2a7</code></a> Move the warnings/errors in a place that doesn't import anything.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/a9ea7b71711479d4c5ccc5e21e2eb1694b259cb0"><code>a9ea7b7</code></a> Implement error/warning for the bad dynamic_context being set in config.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/c299e01b6422284a6a7f7322e6b9bf8f44aa3c25"><code>c299e01</code></a> Add explicit suffixing to make it easier to see the identify the sources/usag...</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/c87e54643ef696ed2b0e2b9a4209581da8467fcb"><code>c87e546</code></a> Add reproducer for weird xdist dynamic_context interaction. Ref <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/604">#604</a>.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-cov&package-manager=pip&previous-version=5.0.0&new-version=6.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.39 to 9.5.43. <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.43</h2> <ul> <li>Added support for external images in SVGs in privacy plugin</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7651">#7651</a>: Privacy plugin doesn't handle quoted URLs in CSS</li> </ul> <p>Thanks go to <a href="https://github.com/nejch"><code>@nejch</code></a> for their contributions</p> <h2>mkdocs-material-9.5.42</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7625">#7625</a>: Invalid encoding of boolean attributes in privacy plugin</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7624">#7624</a>: Crash when disabling privacy plugin (9.5.41 regression)</li> </ul> <h2>mkdocs-material-9.5.41</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7619">#7619</a>: Improved tooltip on logo disappears after instant navigation</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7616">#7616</a>: Race condition in built-in privacy plugin when inlining assets</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7615">#7615</a>: Comments and "Was this page helpful?" visible when printing</li> </ul> <h2>mkdocs-material-9.5.40</h2> <ul> <li>Updated Latvian translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7597">#7597</a>: Social cards not using site name on home page</li> </ul> <p>Thanks go to <a href="https://github.com/pekkaklarck"><code>@pekkaklarck</code></a> and <a href="https://github.com/klejejs"><code>@klejejs</code></a> for their contributions</p> </blockquote> </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.43 (2024-10-31)</p> <ul> <li>Added support for external images in SVGs in privacy plugin</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7651">#7651</a>: Privacy plugin doesn't handle quoted URLs in CSS</li> </ul> <p>mkdocs-material-9.5.42 (2024-10-20)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7625">#7625</a>: Invalid encoding of boolean attributes in privacy plugin</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7624">#7624</a>: Crash when disabling privacy plugin (9.5.41 regression)</li> </ul> <p>mkdocs-material-9.5.41 (2024-10-15)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7619">#7619</a>: Improved tooltip on logo disappears after instant navigation</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7616">#7616</a>: Race condition in built-in privacy plugin when inlining assets</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7615">#7615</a>: Comments and "Was this page helpful?" visible when printing</li> </ul> <p>mkdocs-material-9.5.40 (2024-10-10)</p> <ul> <li>Updated Latvian translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7597">#7597</a>: Social cards not using site name on home page</li> </ul> <p>mkdocs-material-9.5.39+insiders-4.53.14 (2024-09-29)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7567">#7567</a>: Empty headlines when using typeset plugin with anchorlinks</li> </ul> <p>mkdocs-material-9.5.39 (2024-09-29)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7226">#7226</a>: not staying on page when using mike's canonical versioning</li> </ul> <p>mkdocs-material-9.5.38 (2024-09-26)</p> <ul> <li>Added Albanian translations</li> </ul> <p>mkdocs-material-9.5.37 (2024-09-25)</p> <ul> <li>Added 4th and 5th level ordered list styles</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7548">#7548</a>: Tags have no spacing in search</li> </ul> <p>mkdocs-material-9.5.36 (2024-09-21)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7544">#7544</a>: Social cards incorrectly rendering HTML entities</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7542">#7542</a>: Improved support for setting custom list styles</li> </ul> <p>mkdocs-material-9.5.35 (2024-09-18)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7498">#7498</a>: Search not showing for Vietnamese language</li> </ul> <p>mkdocs-material-9.5.34+insiders-4.53.13 (2024-09-14)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7520">#7520</a>: Social plugin errors for generated files (MkDocs 1.6+)</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/8a60b49328520778a5c6b6164031d644f9a6111a"><code>8a60b49</code></a> Prepare 9.5.43 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f82a345f3a721f60e80d0914f84921ad55f7a15f"><code>f82a345</code></a> Documentation</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/4918a10d8fe45e27831799e123b7e08571af2e2f"><code>4918a10</code></a> Added support for quoted external CSS URLs in privacy plugin (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7651">#7651</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/7dc96f1e13fbdf96eec3cba01f1e041b03d182f1"><code>7dc96f1</code></a> Added support for downloading external images in SVG for privacy plugin (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7650">#7650</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/1357cd26af7cbbe9dd6e3b3a355feba8b5b2999d"><code>1357cd2</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/198a6801fcf687ecb4d22e5c493fdf80427bdd33"><code>198a680</code></a> Documentation (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7633">#7633</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/9aebe1498e18cb897dfd1dd923896753279d0afa"><code>9aebe14</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f3a390e07061cc2e78c67f3d902b87f636aa5d5c"><code>f3a390e</code></a> Prepare 9.5.42 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/ade227cbbb2a2debcf7c56cc2426696029e74978"><code>ade227c</code></a> Updated README.md (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7631">#7631</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/cc1508f1dc58ad56b71e769b9033acd3ff63f02a"><code>cc1508f</code></a> Fixed encoding of boolean attributes in privacy plugin</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.39...9.5.43">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mkdocs-material&package-manager=pip&previous-version=9.5.39&new-version=9.5.43)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [syrupy](https://github.com/syrupy-project/syrupy) from 4.7.1 to 4.7.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/syrupy-project/syrupy/releases">syrupy's releases</a>.</em></p> <blockquote> <h2>v4.7.2</h2> <h2><a href="https://github.com/syrupy-project/syrupy/compare/v4.7.1...v4.7.2">4.7.2</a> (2024-10-06)</h2> <h3>Bug Fixes</h3> <ul> <li>allow snapshot dir to be different (<a href="https://redirect.github.com/syrupy-project/syrupy/issues/892">#892</a>) (<a href="https://github.com/syrupy-project/syrupy/commit/548ec0660c2f8f3c80f2b7f0188e8bb2b0c81fc8">548ec06</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/syrupy-project/syrupy/blob/main/CHANGELOG.md">syrupy's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/syrupy-project/syrupy/compare/v4.7.1...v4.7.2">4.7.2</a> (2024-10-06)</h2> <h3>Bug Fixes</h3> <ul> <li>allow snapshot dir to be different (<a href="https://redirect.github.com/syrupy-project/syrupy/issues/892">#892</a>) (<a href="https://github.com/syrupy-project/syrupy/commit/548ec0660c2f8f3c80f2b7f0188e8bb2b0c81fc8">548ec06</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/syrupy-project/syrupy/commit/f87f54af6d32102c7413aa2531bcb457381eeb26"><code>f87f54a</code></a> chore(release): 4.7.2 [skip ci]</li> <li><a href="https://github.com/syrupy-project/syrupy/commit/07b78fef2a64a9765ec640117f1225065ac16cc5"><code>07b78fe</code></a> docs: add joostlek as a contributor for code (<a href="https://redirect.github.com/syrupy-project/syrupy/issues/893">#893</a>)</li> <li><a href="https://github.com/syrupy-project/syrupy/commit/548ec0660c2f8f3c80f2b7f0188e8bb2b0c81fc8"><code>548ec06</code></a> fix: allow snapshot dir to be different (<a href="https://redirect.github.com/syrupy-project/syrupy/issues/892">#892</a>)</li> <li><a href="https://github.com/syrupy-project/syrupy/commit/e79cd0447887c7d47de0e1009a288d5543179f06"><code>e79cd04</code></a> chore(deps): update actions/checkout action to v4.2.0 (<a href="https://redirect.github.com/syrupy-project/syrupy/issues/891">#891</a>)</li> <li><a href="https://github.com/syrupy-project/syrupy/commit/ba5616cc479cb1201c5ffc0c32b6e7eed2f55056"><code>ba5616c</code></a> chore(deps): update cycjimmy/semantic-release-action action to v4.1.1 (<a href="https://redirect.github.com/syrupy-project/syrupy/issues/890">#890</a>)</li> <li><a href="https://github.com/syrupy-project/syrupy/commit/42a118813e451926af9c69ff5fea2c5b67d75401"><code>42a1188</code></a> chore(deps): update actions/setup-python action to v5.2.0 (<a href="https://redirect.github.com/syrupy-project/syrupy/issues/888">#888</a>)</li> <li><a href="https://github.com/syrupy-project/syrupy/commit/078c928db1e26a0d3679e61b728bcca8242b7666"><code>078c928</code></a> chore: add link to inline-snapshots (<a href="https://redirect.github.com/syrupy-project/syrupy/issues/884">#884</a>)</li> <li><a href="https://github.com/syrupy-project/syrupy/commit/a77f641160cd6a4737595feee160a79b0d7e5529"><code>a77f641</code></a> chore: update renovate config (<a href="https://redirect.github.com/syrupy-project/syrupy/issues/883">#883</a>)</li> <li>See full diff in <a href="https://github.com/syrupy-project/syrupy/compare/v4.7.1...v4.7.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=syrupy&package-manager=pip&previous-version=4.7.1&new-version=4.7.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [mypy](https://github.com/python/mypy) from 1.11.2 to 1.13.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>Next release</h2> <h3>Change to enum membership semantics</h3> <p>As per the updated <a href="https://typing.readthedocs.io/en/latest/spec/enums.html#defining-members">typing specification for enums</a>, enum members must be left unannotated.</p> <pre lang="python"><code>class Pet(Enum): CAT = 1 # Member attribute DOG = 2 # Member attribute WOLF: int = 3 # New error: Enum members must be left unannotated <pre><code>species: str # Considered a non-member attribute </code></pre> <p></code></pre></p> <p>In particular, the specification change can result in issues in type stubs (<code>.pyi</code> files), since historically it was common to leave the value absent:</p> <pre lang="python"><code># In a type stub (.pyi file) <p>class Pet(Enum):<br /> # Change in semantics: previously considered members, now non-member attributes<br /> CAT: int<br /> DOG: int</p> <pre><code># Mypy will now issue a warning if it detects this situation in type stubs: # &gt; Detected enum &quot;Pet&quot; in a type stub with zero members. # &gt; There is a chance this is due to a recent change in the semantics of enum membership. # &gt; If so, use `member = value` to mark an enum member, instead of `member: type` </code></pre> <p>class Pet(Enum):<br /> # As per the specification, you should now do one of the following:<br /> DOG = 1 # Member attribute with value 1 and known type<br /> WOLF = cast(int, ...) # Member attribute with unknown value but known type<br /> LION = ... # Member attribute with unknown value and unknown type<br /> </code></pre></p> <p>Contributed by Terence Honles in PR <a href="https://redirect.github.com/python/mypy/pull/17207">17207</a> and Shantanu Jain in PR <a href="https://redirect.github.com/python/mypy/pull/18068">18068</a>.</p> <h2>Mypy 1.13</h2> <p>We’ve just uploaded mypy 1.13 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/eb310343be0399ea6755fabc259755ce1f6711e8"><code>eb31034</code></a> Bump version to 1.13.0</li> <li><a href="https://github.com/python/mypy/commit/2eeb5880184970ae1c0b20c0e06855b6d311bc19"><code>2eeb588</code></a> Update changelog for 1.12.1 (<a href="https://redirect.github.com/python/mypy/issues/17999">#17999</a>)</li> <li><a href="https://github.com/python/mypy/commit/bc0386b7f96aa131cbf345698a22a9d4b79e9cb4"><code>bc0386b</code></a> Changelog for 1.13 (<a href="https://redirect.github.com/python/mypy/issues/18000">#18000</a>)</li> <li><a href="https://github.com/python/mypy/commit/5c4d2db7009fa9035b8b3fcffe25182aaa4dc846"><code>5c4d2db</code></a> Add faster-cache extra, test in CI (<a href="https://redirect.github.com/python/mypy/issues/17978">#17978</a>)</li> <li><a href="https://github.com/python/mypy/commit/854ad189ab7c4f487950ad34e142fd327dce3227"><code>854ad18</code></a> Make is_sub_path faster (<a href="https://redirect.github.com/python/mypy/issues/17962">#17962</a>)</li> <li><a href="https://github.com/python/mypy/commit/50aa4ca8425d0bb668d514b8ee5c6aeacb605b27"><code>50aa4ca</code></a> Speed up stubs suggestions (<a href="https://redirect.github.com/python/mypy/issues/17965">#17965</a>)</li> <li><a href="https://github.com/python/mypy/commit/7c27808a0be2fc205788a826be83cbb0a68f89e1"><code>7c27808</code></a> Use orjson instead of json, when available (<a href="https://redirect.github.com/python/mypy/issues/17955">#17955</a>)</li> <li><a href="https://github.com/python/mypy/commit/2cd2406117e86838de36a9f73ba47c67fa763e1a"><code>2cd2406</code></a> Use fast path in modulefinder more often (<a href="https://redirect.github.com/python/mypy/issues/17950">#17950</a>)</li> <li><a href="https://github.com/python/mypy/commit/e20aaeeaa215b2e617d460599c4310427ba8f902"><code>e20aaee</code></a> Let mypyc optimise os.path.join (<a href="https://redirect.github.com/python/mypy/issues/17949">#17949</a>)</li> <li><a href="https://github.com/python/mypy/commit/159974cc59de459cfb3e31ba3e1d8f279734f66d"><code>159974c</code></a> Use sha1 for hashing (<a href="https://redirect.github.com/python/mypy/issues/17953">#17953</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.11.2...v1.13.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mypy&package-manager=pip&previous-version=1.11.2&new-version=1.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Big libraries like PyTorch had a runtime of about 20-30 Minutes, which was because of unoptimized code in the
_check_publicity_in_reexports()
function. Now the runtime takes about ~2 minutes for PyTorch.Either merge this branch into the
various_fixes
branch or mergevarious_fixes
intomain
first, followed by this branch.Summary of Changes
_check_publicity_in_reexports()
code, which has a runtime of O(n³)