-
Notifications
You must be signed in to change notification settings - Fork 350
Closed
Description
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 py-junos-eznc]$ python3 -m build
* Creating venv isolated environment...
* Installing packages in isolated environment... (setuptools >= 40.8.0, wheel)
* Getting build dependencies for sdist...
/usr/src/tmp/build-env-uhrd3xqh/lib64/python3/site-packages/setuptools/dist.py:285: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
warnings.warn(msg, SetuptoolsDeprecationWarning)
error in junos-eznc setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.*'
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_sdist