mcb-dev / mCodingBot

The Discord bot for the mCoding Discord server.
https://mcoding.io/discord
MIT License
12 stars 4 forks source link

Update rapidfuzz requirement from ^2.10.0 to ^3.1.1 #120

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on rapidfuzz to permit the latest version.

Release notes

Sourced from rapidfuzz's releases.

Release 3.1.1

Changed

  • upgrade to taskflow==3.6

Fixed

  • replace usage of isnan with std::isnan which fixes the build on NetBSD
Changelog

Sourced from rapidfuzz's changelog.

Changelog

[3.1.1] - 2023-06-06 ^^^^^^^^^^^^^^^^^^^^ Changed

- upgrade to ``taskflow==3.6``

Fixed

- replace usage of ``isnan`` with ``std::isnan`` which fixes the build on NetBSD

[3.1.0] - 2023-06-02
^^^^^^^^^^^^^^^^^^^^
Changed
</code></pre>
<ul>
<li>added keyword argument <code>pad</code> to Hamming distance. This controls whether sequences of different
length should be padded or lead to a <code>ValueError</code></li>
<li>improve consistency of exception messages between the C++ and pure Python implementation</li>
<li>upgrade required Cython version to <code>Cython==3.0.0b3</code></li>
</ul>
<p>Fixed</p>
<pre><code>- fix missing GIL restore when an exception is thrown inside ``process.cdist``
- fix incorrect type hints for the ``process`` module

[3.0.0] - 2023-04-16
^^^^^^^^^^^^^^^^^^^^
Changed
</code></pre>
<ul>
<li>allow the usage of <code>Hamming</code> for different string lengths. Length differences are handled as
insertions / deletions</li>
<li>remove support for boolean preprocessor functions in <code>rapidfuzz.fuzz</code> and <code>rapidfuzz.process</code>.
The processor argument is now always a callable or None.</li>
<li>update defaults of the processor argument to be <code>None</code> everywhere. This changes the defaults of some of
the functions in <code>rapidfuzz.fuzz</code> and <code>rapidfuzz.process</code>.</li>
<li><code>rapidfuzz.process</code> no longer calls scorers with <code>processor=None</code>. For this reason scorer functions
do not need to provide this argument anymore.</li>
<li>remove option to pass keyword arguments to scorer via <code>**kwargs</code> in <code>rapidfuzz.process</code>. They can be passed
via a <code>scorer_kwargs</code> argument now. This ensures this does not break when extending function parameters and
prevents naming clashes.</li>
<li>remove <code>rapidfuzz.string_metric</code> module. Replacements for all functions are available in <code>rapidfuzz.distance</code></li>
</ul>
<p>Added</p>
<pre><code>- added support for arbitrary hashable sequence in the pure Python fallback implementation of all functions in ``rapidfuzz.distance``
- added support for ``None`` and ``float(&quot;nan&quot;)`` in ``process.cdist`` as long as the underlying scorer supports it.
  This is the case for all scorers returning normalized results.
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/9ea22697945d5672bd71ef73f13ee7a07d8a9202"><code>9ea2269</code></a> release 3.1.1</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/2db511010d03c6453c239066cba85ee1b84dcc1e"><code>2db5110</code></a> mark function as noexcept</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/887bc7076899ece81c3caf84d1d90ac1e92086b7"><code>887bc70</code></a> release v3.1.0</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/8d8a80790a8bdfe81793d78ff08a04bffbc75738"><code>8d8a807</code></a> fix incorrect type hints for the <code>process</code> module</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/a502c278c693d3ade3ca8d28a352a8a6603e8da7"><code>a502c27</code></a> use similar documentation for scorer</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/8fbe54882d57c128e90d01532aec8cc0cab419a4"><code>8fbe548</code></a> do not build as debug</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/847361367ef7b07bf677121aedabf6b205dbce12"><code>8473613</code></a> improve consistency of exception messages between the C++ and pure Python imp...</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/c1251b55c7763121e307728a8cad3095d5663b54"><code>c1251b5</code></a> do not enforce same message everywhere</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/65c0b8c25687213232f26f4a5cddcecec0461b6a"><code>65c0b8c</code></a> add pad argument</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/e1bf95946d21342d3492bae1b91c69d74b332a85"><code>e1bf959</code></a> Merge pull request <a href="https://redirect.github.com/maxbachmann/RapidFuzz/issues/324">#324</a> from dheerajck/main</li>
<li>Additional commits viewable in <a href="https://github.com/maxbachmann/RapidFuzz/compare/v2.10.0...v3.1.1">compare view</a></li>
</ul>
</details>

<br />
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) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)