Skip to content
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

Bump rapidfuzz from 3.0.0 to 3.1.0 #2473

Merged
merged 1 commit into from Jun 5, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 5, 2023

Bumps rapidfuzz from 3.0.0 to 3.1.0.

Release notes

Sourced from rapidfuzz's releases.

Release 3.1.0

Changed

  • added keyword argument pad to Hamming distance. This controls whether sequences of different length should be padded or lead to a ValueError
  • improve consistency of exception messages between the C++ and pure Python implementation
  • upgrade required Cython version to Cython==3.0.0b3

Fixed

  • fix missing GIL restore when an exception is thrown inside process.cdist
  • fix incorrect type hints for the process module
Changelog

Sourced from rapidfuzz's changelog.

Changelog

[3.1.0] - 2023-06-02 ^^^^^^^^^^^^^^^^^^^^ Changed

- added keyword argument ``pad`` to Hamming distance. This controls whether sequences of different
  length should be padded or lead to a ``ValueError``
- improve consistency of exception messages between the C++ and pure Python implementation
- upgrade required Cython version to ``Cython==3.0.0b3``

Fixed

- 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(&amp;quot;nan&amp;quot;) in process.cdist as long as the underlying scorer supports it.
    This is the case for all scorers returning normalized results.

Fixed
</code></pre>
<ul>
<li>fix division by zero in simd implementation of normalized metrics leading to incorrect results</li>
</ul>
<p>[2.15.1] - 2023-04-11
^^^^^^^^^^^^^^^^^^^^^
Fixed</p>
<pre><code>- fix incorrect tag dispatching implementation leading to AVX2 instructions in the SSE2 code path

&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/2db511010d03c6453c239066cba85ee1b84dcc1e&quot;&gt;&lt;code&gt;2db5110&lt;/code&gt;&lt;/a> mark function as noexcept</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/887bc7076899ece81c3caf84d1d90ac1e92086b7&quot;&gt;&lt;code&gt;887bc70&lt;/code&gt;&lt;/a> release v3.1.0</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/8d8a80790a8bdfe81793d78ff08a04bffbc75738&quot;&gt;&lt;code&gt;8d8a807&lt;/code&gt;&lt;/a> fix incorrect type hints for the <code>process</code> module</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/a502c278c693d3ade3ca8d28a352a8a6603e8da7&quot;&gt;&lt;code&gt;a502c27&lt;/code&gt;&lt;/a> use similar documentation for scorer</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/8fbe54882d57c128e90d01532aec8cc0cab419a4&quot;&gt;&lt;code&gt;8fbe548&lt;/code&gt;&lt;/a> do not build as debug</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/847361367ef7b07bf677121aedabf6b205dbce12&quot;&gt;&lt;code&gt;8473613&lt;/code&gt;&lt;/a> improve consistency of exception messages between the C++ and pure Python imp...</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/c1251b55c7763121e307728a8cad3095d5663b54&quot;&gt;&lt;code&gt;c1251b5&lt;/code&gt;&lt;/a> do not enforce same message everywhere</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/65c0b8c25687213232f26f4a5cddcecec0461b6a&quot;&gt;&lt;code&gt;65c0b8c&lt;/code&gt;&lt;/a> add pad argument</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/e1bf95946d21342d3492bae1b91c69d74b332a85&quot;&gt;&lt;code&gt;e1bf959&lt;/code&gt;&lt;/a> Merge pull request <a href="https://redirect.github.com/maxbachmann/RapidFuzz/issues/324&quot;&gt;#324&lt;/a> from dheerajck/main</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/2ad7111ddf06d5daa34f9f06426a2edf4761bafb&quot;&gt;&lt;code&gt;2ad7111&lt;/code&gt;&lt;/a> Updated readme, updated reference link</li>
<li>Additional commits viewable in <a href="https://github.com/maxbachmann/RapidFuzz/compare/v3.0.0...v3.1.0&quot;&gt;compare view</a></li>
</ul>
</details>

<br />

Dependabot compatibility score

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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 5, 2023
@pajlada pajlada enabled auto-merge (squash) June 5, 2023 08:15
@dependabot dependabot bot force-pushed the dependabot/pip/rapidfuzz-3.1.0 branch from 1a988c5 to 579fb25 Compare June 5, 2023 08:16
Bumps [rapidfuzz](https://github.com/maxbachmann/RapidFuzz) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/maxbachmann/RapidFuzz/releases)
- [Changelog](https://github.com/maxbachmann/RapidFuzz/blob/main/CHANGELOG.rst)
- [Commits](rapidfuzz/RapidFuzz@v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: rapidfuzz
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/rapidfuzz-3.1.0 branch from 579fb25 to c14c1ae Compare June 5, 2023 08:24
@pajlada pajlada merged commit 3e869d0 into master Jun 5, 2023
10 checks passed
@pajlada pajlada deleted the dependabot/pip/rapidfuzz-3.1.0 branch June 5, 2023 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant