You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2086: Removed support for 2to3 during builds. Projects should port to a unified codebase or pin to an older version of Setuptools using PEP 518 build-requires.
The build fails with:
/usr/bin/python3 setup.py build
/usr/lib64/python3/site-packages/setuptools/dist.py:718: UserWarning: Usage of dash-separated 'upload-dir' will not be supported in future versions. Please use the underscore name 'upload_dir' instead
warnings.warn(
error in parse_type setup command: use_2to3 is invalid.
Deprecated since version 3.10: Python 3.9 will switch to a PEG parser (see PEP 617), and Python 3.10 may include new language syntax that is not parsable by lib2to3’s LL(1) parser. The lib2to3 module may be removed from the standard library in a future Python version. Consider third-party alternatives such as LibCST or parso.
The text was updated successfully, but these errors were encountered:
This project has the option
use_2to3
insetup.py
, which support has been removed in setuptools since version 58.0.0 https://setuptools.readthedocs.io/en/latest/history.html#v58-0-0:The build fails with:
According to docs https://docs.python.org/3/library/2to3.html#module-lib2to3 the whole lib2to3 is
The text was updated successfully, but these errors were encountered: