unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Théo Maxime Tyburn" <theo.tyburn@gmail.com>
To: guix-devel@gnu.org
Subject: python: setuptools version doens’t match guix package version / packaging python-ipydatawidgets
Date: Wed, 10 Nov 2021 19:52:58 +0100	[thread overview]
Message-ID: <87k0hfg63o.fsf@gmail.com> (raw)

Hi Guixs,

I am trying to package "python-ipydatawidgets" which relies on
"python-jupyter-packaging" which in turn relies on
"python-setuptools". It fails seemingly because the setuptools version
is outdated (41.2.0) even if the guix pakage python-setuptools is said
to have version 52.0.0 or 58.0.0

To test the version of setuptools I ran:
> guix shell --pure python-setuptools@52.0.0 python python-ipython --
> ipython -c "import setuptools; setuptools.__version__"
>Out[1]: '41.2.0'

Looking at the source code of setuptools in my store and comparing it to
the setuptools source on github I seems outdated indeed. I located the
source in the store with
> guix shell --pure python-setuptools@52.0.0 python python-ipython --
> ipython -c "import setuptools; setuptools.__file__"
> Out[1]:
> '/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/site-packages/setuptools/__init__.py' 

I don’t understand how this could happen though since the definition of
python-setuptools seems just fine in python-xyz.scm ...

I pretty knew to packaging so I might be missing something obvious. Any idea ?

Cheers,

Théo


             reply	other threads:[~2021-11-11 11:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 18:52 Théo Maxime Tyburn [this message]
2021-11-10 21:00 ` python: setuptools version doens’t match guix package version / packaging python-ipydatawidgets Théo Maxime Tyburn
2021-11-11 13:27 ` Lars-Dominik Braun
2021-11-11 21:34   ` Théo Maxime Tyburn
2021-11-12  7:47     ` Lars-Dominik Braun

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=87k0hfg63o.fsf@gmail.com \
    --to=theo.tyburn@gmail.com \
    --cc=guix-devel@gnu.org \
    /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).