Skip to content

Fuzzing is available in Debian #28

Description

@rrthomas

There's the following block of code in setup.py:

        # 20211026 Debian does not have rapidfuzz. Checking for
        # DEB_BUILD_ARCH in the environ may be robust for checking if
        # this is a Debian build. If it's Debian, use the debian
        # packaged thefuzz, else use the quicker rapidfuzz. Note
        # that wajig/util.py tries rapidfuzz first, and utilises it if
        # installed, otherwise falls back to thefuzz.
        #
        # 20240304 gjw remove due to removal of python-levenshtein 8 March 2024
        #

        # 'thefuzz' if 'DEB_BUILD_ARCH' in environ else 'rapidfuzz',
        # 'python-Levenshtein',

I'm not clear on whether rapidfuzz and python-levenshtein are both needed or alternatives, but both have been in Debian now for the last few years, and are in current stable, so it seems you can go back to using it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions