unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: K I <gitlabcanada@runbox.com>, 46132@debbugs.gnu.org
Subject: bug#46132: [bug] build of /gnu/store/~-python2-setuptools-52.0.0.drv failed
Date: Thu, 28 Jan 2021 02:09:22 +0100	[thread overview]
Message-ID: <86zh0thnp9.fsf@gmail.com> (raw)
In-Reply-To: <E1l4n2Z-0001bf-G0@rmmprod05.runbox>

Hi,

On Wed, 27 Jan 2021 at 08:47, "K I" <gitlabcanada@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




  reply	other threads:[~2021-01-28  1:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-27 15:47 bug#46132: [bug] build of /gnu/store/~-python2-setuptools-52.0.0.drv failed K I
2021-01-28  1:09 ` zimoun [this message]
2021-03-11  0:22   ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86zh0thnp9.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=46132@debbugs.gnu.org \
    --cc=gitlabcanada@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).