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

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1563: python3-x2gobroker: build fails against setuptools 58+
Reply-To: Stanislav Levin <slev@altlinux.org>, 1563@bugs.x2go.org
Resent-From: Stanislav Levin <slev@altlinux.org>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 17 Sep 2021 13:30:02 +0000
Resent-Message-ID: <handler.1563.B.16318851649668@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1563
X-X2Go-PR-Package: x2gobroker
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.16318851649668
          (code B); Fri, 17 Sep 2021 13:30:02 +0000
Received: (at submit) by bugs.x2go.org; 17 Sep 2021 13:26:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,SPF_HELO_NONE,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
Received: from air.basealt.ru (air.basealt.ru [194.107.17.39])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id ECE105DA7C
	for <submit@bugs.x2go.org>; Fri, 17 Sep 2021 15:25:46 +0200 (CEST)
Received: by air.basealt.ru (Postfix, from userid 490)
	id C530F589425; Fri, 17 Sep 2021 13:25:45 +0000 (UTC)
Received: from [10.88.129.190] (obninsk.basealt.ru [217.15.195.17])
	by air.basealt.ru (Postfix) with ESMTPSA id B3095589423
	for <submit@bugs.x2go.org>; Fri, 17 Sep 2021 13:25:43 +0000 (UTC)
To: submit@bugs.x2go.org
From: Stanislav Levin <slev@altlinux.org>
Message-ID: <bcba008f-a477-5fbe-12bf-b8fed2b3b768@altlinux.org>
Date: Fri, 17 Sep 2021 16:25:43 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.13.0
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="setSwaOYMe0zL3LtrUq2EOYIwIJr6IYXb"
[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: Thu Mar 28 21:54:57 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.