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.0.0 #117

Closed dependabot[bot] closed 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.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)
dependabot[bot] commented 1 year ago

Superseded by #119.