From slev@altlinux.org Fri Sep 17 15:26:01 2021 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 ; 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 ; Fri, 17 Sep 2021 13:25:43 +0000 (UTC) To: submit@bugs.x2go.org From: Stanislav Levin Subject: python3-x2gobroker: build fails against setuptools 58+ Message-ID: 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" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --setSwaOYMe0zL3LtrUq2EOYIwIJr6IYXb Content-Type: multipart/mixed; boundary="QY948mjJTUr9VCNqYhS0Tk4ovegRPsErG"; protected-headers="v1" From: Stanislav Levin To: submit@bugs.x2go.org Message-ID: Subject: python3-x2gobroker: build fails against setuptools 58+ --QY948mjJTUr9VCNqYhS0Tk4ovegRPsErG Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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=E2=80=99s 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. --QY948mjJTUr9VCNqYhS0Tk4ovegRPsErG-- --setSwaOYMe0zL3LtrUq2EOYIwIJr6IYXb Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEyZWA1UChsdCFaW6bq6v+jV2aGegFAmFEl1cFAwAAAAAACgkQq6v+jV2aGei7 ng/+MT+MWvrJ7IR1rfTdjfzGMaQ/x30O7wCKyY1L+cymp3lUhZFfrFpmnOP1vfKhw/OFJDq2xlNs T4dhhh+QSdzZjtu6+Xk2BgSowDt7JbMylPNr/OUqBVBmLkCkYlfWHRQgingO5G7aDvdUcADCVpgS z2CNkSDnO2z2SgGlhfKujVqm7Xhynccp8F3tpnY5FlcqyHi0m2QAmC20ahG/cHRtPlr/wjs/0VB7 GdmpYzqDzmDd+lHGsl8xzlVgL1IkCzhMj+7GAsrV6F3Su1oXifhcZGH0OL8WplGwgu9RUfmIc9QW KhhRzRCTehdiVXRUuDarI05lnQoV7uDZQs6B6zXMOLNLXmBmVhA30U9ZON5vEcLwvhjpimxhZ1/N p4+83TTQssKxBHy1uADuQzATlvvTta9SF/0U9JccQ01CYvhCh7L6pTaL06eclr9qvEH7yVyOZoEd wmQJRArtkpU/MKGk7yqgu+dL7IbYJVxW6h9lE0gvjCSlDaS5A/CfenWXcAGEuLSAtAmAfNKwS4N5 8m1j62NrKrWzwnMSXI9zeJvLo9e1/4ljDOYNpOF+/Wa5g/0gemaXwLFLuds0asYEjNtheq1DUe6W jlR+J+ImIdjSLC1us3qoYDCv6yjEOeGmvu5P/DRLnjvqfzNIOmAxKVF7CZ/nFmNnHTc5/gR2xHwj huc= =1DOo -----END PGP SIGNATURE----- --setSwaOYMe0zL3LtrUq2EOYIwIJr6IYXb--