GNU bug report logs -
#46132
[bug] build of /gnu/store/~-python2-setuptools-52.0.0.drv failed
Previous Next
Reported by: "K I" <gitlabcanada <at> runbox.com>
Date: Wed, 27 Jan 2021 15:48:02 UTC
Severity: normal
Merged with 46158
Done: zimoun <zimon.toutoune <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 46132 <at> debbugs.gnu.org (full text, mbox):
Hi,
On Wed, 27 Jan 2021 at 08:47, "K I" <gitlabcanada <at> runbox.com> wrote:
> File "pkg_resources/__init__.py", line 1367
> raise SyntaxError(e) from e
> ^
> SyntaxError: invalid syntax
> command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed with status 1
It is expected because Setuptools removed the compatibility with Python 2,
see the ChangeLog:
--8<---------------cut here---------------start------------->8---
v47.0.0
28 May 2020
Breaking Changes
#2094: Setuptools now actively crashes under Python 2. Python 3.5 or later is required. Users of Python 2 should use setuptools<45.
--8<---------------cut here---------------end--------------->8---
<https://setuptools.readthedocs.io/en/latest/history.html>
<https://github.com/pypa/setuptools/issues/2094>
The question is: do we remove ’python2-setuptools’ since it is defined
by the usual ’package-with-python2’?
--8<---------------cut here---------------start------------->8---
(define-public python2-setuptools
(package-with-python2 python-setuptools))
--8<---------------cut here---------------end--------------->8---
Or do we define python2-setuptools with the version v46.4.0? Which,
IMHO does not make sense since Python 2 is end of life since one year.
All the best,
simon
This bug report was last modified 4 years and 125 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.