xmendez / wfuzz

Web application fuzzer
http://wfuzz.io
GNU General Public License v2.0
5.86k stars 1.35k forks source link

build failure against setuptools 66+ #345

Open stanislavlevin opened 1 year ago

stanislavlevin commented 1 year ago

setuptools 66+ no longer supports LegacyVersion: https://setuptools.pypa.io/en/stable/history.html#v66-0-0

#2497: Support for PEP 440 non-conforming versions has been removed. Environments containing packages with non-conforming versions may fail or the packages may not be recognized.

Build fails with:

[builder@localhost wfuzz]$ python3 -m build
* Creating venv isolated environment...
* Installing packages in isolated environment... (setuptools >= 40.8.0, wheel)
* Getting build dependencies for sdist...
Warning: 'classifiers' should be a list, got type 'tuple'
error in wfuzz setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
    pyparsing>=2.4*;python_version>="3.5"
             ~~~~~^

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_sdist