X2Go Bug report logs - #1563
python3-x2gobroker: build fails against setuptools 58+

version graph

Package: x2gobroker; Maintainer for x2gobroker is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2gobroker is src:x2gobroker.

Reported by: Stanislav Levin <slev@altlinux.org>

Date: Fri, 17 Sep 2021 13:30:02 UTC

Severity: normal

Found in version x2gobroker-0.0.4.3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1563; Package x2gobroker. (Fri, 17 Sep 2021 13:30:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stanislav Levin <slev@altlinux.org>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 17 Sep 2021 13:30:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Stanislav Levin <slev@altlinux.org>
To: submit@bugs.x2go.org
Subject: python3-x2gobroker: build fails against setuptools 58+
Date: Fri, 17 Sep 2021 16:25:43 +0300
[Message part 1 (text/plain, inline)]
Package: x2gobroker
Version: x2gobroker-0.0.4.3

This project has the option `use_2to3` in `setup.py`, which support has
been removed in setuptools since version 58.0.0
https://setuptools.readthedocs.io/en/latest/history.html#v58-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
518 build-requires.

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
lib2to3 is
> 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 <owner@bugs.x2go.org>. Last modified: Sun Dec 22 05:34:09 2024; Machine Name: ymir.das-netzwerkteam.de

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 from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.