Skip to content

Update rapidfuzz requirement from ^2.10.0 to ^3.0.0 #117

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 17, 2023

Updates the requirements on rapidfuzz to permit the latest version.

Release notes

Sourced from rapidfuzz's releases.

Release 3.0.0

Changed

  • allow the usage of Hamming for different string lengths. Length differences are handled as insertions / deletions
  • remove support for boolean preprocessor functions in rapidfuzz.fuzz and rapidfuzz.process. The processor argument is now always a callable or None.
  • update defaults of the processor argument to be None everywhere. This changes the defaults of some of the functions in rapidfuzz.fuzz and rapidfuzz.process.
  • rapidfuzz.process no longer calls scorers with processor=None. For this reason scorer functions do not need to provide this argument anymore.
  • remove option to pass keyword arguments to scorer via **kwargs in rapidfuzz.process. They can be passed via a scorer_kwargs argument now. This ensures this does not break when extending function parameters and prevents naming clashes.
  • remove rapidfuzz.string_metric module. Replacements for all functions are available in rapidfuzz.distance

Added

  • added support for arbitrary hashable sequence in the pure Python fallback implementation of all functions in rapidfuzz.distance
  • added support for None and float("nan") in process.cdist as long as the underlying scorer supports it. This is the case for all scorers returning normalized results.

Fixed

  • fix division by zero in simd implementation of normalized metrics leading to incorrect results
Changelog

Sourced from rapidfuzz's changelog.

Changelog

[3.0.0] - 2023-04-16 ^^^^^^^^^^^^^^^^^^^^ Changed

- allow the usage of ``Hamming`` for different string lengths. Length differences are handled as
  insertions / deletions
- remove support for boolean preprocessor functions in ``rapidfuzz.fuzz`` and ``rapidfuzz.process``.
  The processor argument is now always a callable or None.
- update defaults of the processor argument to be ``None`` everywhere. This changes the defaults of some of
  the functions in ``rapidfuzz.fuzz`` and ``rapidfuzz.process``.
- ``rapidfuzz.process`` no longer calls scorers with ``processor=None``. For this reason scorer functions
  do not need to provide this argument anymore.
- remove option to pass keyword arguments to scorer via ``**kwargs`` in ``rapidfuzz.process``. They can be passed
  via a ``scorer_kwargs`` argument now. This ensures this does not break when extending function parameters and
  prevents naming clashes.
- remove ``rapidfuzz.string_metric`` module. Replacements for all functions are available in ``rapidfuzz.distance``

Added

- added support for arbitrary hashable sequence in the pure Python fallback implementation of all functions in ``rapidfuzz.distance``
- added support for ``None`` and ``float("nan")`` in ``process.cdist`` as long as the underlying scorer supports it.
  This is the case for all scorers returning normalized results.

Fixed

  • fix division by zero in simd implementation of normalized metrics leading to incorrect results

[2.15.1] - 2023-04-11 ^^^^^^^^^^^^^^^^^^^^^ Fixed

- fix incorrect tag dispatching implementation leading to AVX2 instructions in the SSE2 code path

Added

  • add wheels for windows arm64

[2.15.0] - 2023-04-01 ^^^^^^^^^^^^^^^^^^^^^ Changed

  • allow the usage of finite generators as choices in process.extract

[2.14.0] - 2023-03-31 ^^^^^^^^^^^^^^^^^^^^^ Changed

</tr></table> 

... (truncated)

Commits
  • c8be909 handle empty strings more consistently
  • fd4ba10 skip test if numpy is not installed
  • c4934bf remove strict parameter from zip
  • 5537f9c fix out of bounds read
  • 33a2e8f release 3.0
  • 158b7be fix division by zero
  • f193bfa add support for None / nan in process.cdist
  • 0ea45a5 Merge pull request #317 from maxbachmann/3.0
  • 931709c release v3.0
  • f6953ed improve compatibility between Python and C++ implementation
  • Additional commits viewable in compare view

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)

Updates the requirements on [rapidfuzz](https://github.com/maxbachmann/RapidFuzz) to permit the latest version.
- [Release notes](https://github.com/maxbachmann/RapidFuzz/releases)
- [Changelog](https://github.com/maxbachmann/RapidFuzz/blob/main/CHANGELOG.rst)
- [Commits](rapidfuzz/RapidFuzz@v2.10.0...v3.0.0)

---
updated-dependencies:
- dependency-name: rapidfuzz
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 17, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 5, 2023

Superseded by #119.

@dependabot dependabot bot closed this Jun 5, 2023
@dependabot dependabot bot deleted the dependabot/pip/rapidfuzz-tw-3.0.0 branch June 5, 2023 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants