Skip to content
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

build failure against setuptools 66+ #345

Open
stanislavlevin opened this issue Feb 7, 2023 · 0 comments · May be fixed by #347
Open

build failure against setuptools 66+ #345

stanislavlevin opened this issue Feb 7, 2023 · 0 comments · May be fixed by #347

Comments

@stanislavlevin
Copy link

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
stanislavlevin added a commit to stanislavlevin/wfuzz that referenced this issue Feb 14, 2023
wildcard(*) is not allowed in inclusive comparison:
https://peps.python.org/pep-0440/#inclusive-ordered-comparison

Version is adjusted according to:
xmendez#206 (comment)

Fixes: xmendez#345
Signed-off-by: Stanislav Levin <[email protected]>
@stanislavlevin stanislavlevin linked a pull request Feb 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant