all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Théo Maxime Tyburn" <theo.tyburn@gmail.com>
To: guix-devel@gnu.org
Subject: Re: python: setuptools version doens’t match guix package version / packaging python-ipydatawidgets
Date: Wed, 10 Nov 2021 22:00:25 +0100	[thread overview]
Message-ID: <87fss3g1tc.fsf@gmail.com> (raw)
In-Reply-To: <87k0hfg63o.fsf@gmail.com>


I managed to package "python-ipydatawidgets" in the end. I just added
"python-setuptools" to the inputs. So it was easy. I thought setuptools
is always present in the build phase of python packages, my
bad.

Though this still doesn’t clear this mystery about the version of
setuptools not being the right one...

Théo Maxime Tyburn <theo.tyburn@gmail.com> writes:

> 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:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 18:52 python: setuptools version doens’t match guix package version / packaging python-ipydatawidgets Théo Maxime Tyburn
2021-11-10 21:00 ` Théo Maxime Tyburn [this message]
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

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

  git send-email \
    --in-reply-to=87fss3g1tc.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.