Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: New: devel/py-rapidfuzz: fuzzy search library
To:
Chris Billington <emulti@disroot.org>, ports@openbsd.org
Date:
Fri, 19 Jun 2026 22:30:19 +0200

Download raw body.

Thread
On Fri Jun 19, 2026 at 01:53:58PM +0100, Stuart Henderson wrote:
> updated version attached. changes:
> 
> - textproc not devel
> - missing WANTLIB/COMPILER lines
> - tweak DESCR
> - enable tests, they don't bring in many dependencies (only numpy
> and pandas). you do have to run "make fake" before running them due
> to how scikit-build works (though I am baking a python.port.mk diff
> to avoid that).
> 
> any OKs to import?

Tested with audio/pyradio, OK rsadowski

> 
> <symphytum:/usr/ports/textproc/py-rapidfuzz>$ make test
> ===>  Regression tests for py3-rapidfuzz-3.14.5
> ============================= test session starts ==============================
> platform openbsd7 -- Python 3.14.5, pytest-9.0.3, pluggy-1.6.0
> rootdir: /usr/obj/ports/py-rapidfuzz-3.14.5/rapidfuzz-3.14.5
> configfile: pyproject.toml
> testpaths: tests
> plugins: hypothesis-6.138.14
> collected 388 items
> 
> tests/distance/test_DamerauLevenshtein.py ................               [  4%]
> tests/distance/test_Hamming.py .....                                     [  5%]
> tests/distance/test_Indel.py ....                                        [  6%]
> tests/distance/test_Jaro.py ...                                          [  7%]
> tests/distance/test_JaroWinkler.py .....                                 [  8%]
> tests/distance/test_LCSseq.py ...                                        [  9%]
> tests/distance/test_Levenshtein.py .........                             [ 11%]
> tests/distance/test_OSA.py ......                                        [ 13%]
> tests/distance/test_Postfix.py ...                                       [ 13%]
> tests/distance/test_Prefix.py ...                                        [ 14%]
> tests/distance/test_distance.py ........................................ [ 25%]
> ........................................                                 [ 35%]
> tests/distance/test_init.py ........................                     [ 41%]
> tests/test_fuzz.py ..................................................... [ 55%]
> ........................................................................ [ 73%]
> ...............................                                          [ 81%]
> tests/test_hypothesis.py .............................                   [ 89%]
> tests/test_process.py .........................................          [ 99%]
> tests/test_utils.py .                                                    [100%]
> 
> =============================== warnings summary ===============================
> ../../../../local/lib/python3.14/site-packages/_hypothesis_pytestplugin.py:466
>   /usr/local/lib/python3.14/site-packages/_hypothesis_pytestplugin.py:466: UserWarning: Skipping collection of '.hypothesis' directory - this usually means you've explicitly set the `norecursedirs` pytest config option, replacing rather than extending the default ignores.
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ======================= 388 passed, 1 warning in 30.49s ========================
>