X2Go Bug report logs -
python3-x2gobroker: build fails against setuptools 58+
Reply or subscribe to this bug.
Toggle useless messages
firstname.lastname@example.org, X2Go Developers <email@example.com>:
(Fri, 17 Sep 2021 13:30:02 GMT) (full text, mbox, link).
Stanislav Levin <firstname.lastname@example.org>:
New Bug report received and forwarded. Copy sent to
X2Go Developers <email@example.com>.
(Fri, 17 Sep 2021 13:30:03 GMT) (full text, mbox, link).
Message #5 received at firstname.lastname@example.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
This project has the option `use_2to3` in `setup.py`, which support has
been removed in setuptools since version 58.0.0
> #2086: Removed support for 2to3 during builds. Projects should port to
a unified codebase or pin to an older version of Setuptools using PEP
The build fails with:
> python3 setup.py build
error in x2gobroker setup command: use_2to3 is invalid.
make: *** [Makefile:69: build_pymodule] Error 1
Moreover, according to docs
https://docs.python.org/3/library/2to3.html#module-lib2to3 the whole
> 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.
As far as I can see, Python code in x2gobroker is Python3 compatible,
thus, most likely, the conversion on build is extra operation and it can
be safely dropped.
[OpenPGP_signature (application/pgp-signature, attachment)]
Send a report that this bug log contains spam.
X2Go Developers <email@example.com>.
Mon May 29 02:11:50 2023;
X2Go Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.