all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars-Dominik Braun <lars@6xq.net>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 65010@debbugs.gnu.org, Marius Bakke <marius@gnu.org>
Subject: [bug#65010] [PATCH 0/8] Misc Python build system improvements
Date: Fri, 16 Feb 2024 13:38:51 +0100	[thread overview]
Message-ID: <Zc9XW1fJ3LiNLNtR@noor.fritz.box> (raw)
In-Reply-To: <87h6igsecw.fsf@elephly.net>

Hi again,

> Lars, do you have a final version of this patch series that we could
> merge into the python-team branch?  It looks like apart from very minor
> issues this is ready.

as you suggested I pushed the updated version to the python-team branch,
deleting my own pyproject-toml branch.

Unfortunately the python-setuptools/python-wheel situation is not
easily resolvable, since – contrary to my initial assumption –
python-setuptools does not depend on python-wheel, but rather the latter
extends the former and is only required when using setuptools, but not
for other build backends like flit or poetry. Therefore I kept my
changes as-is, adding python-setuptools and python-wheel to
native-inputs/propagated-inputs where needed. Not pretty, but that’s
PEP 517 in a nutshell.

Since it’s been a while and more packages have been migrated to use
pyproject-build-system this will probably break a few packages, which
do not have these two packages added yet. We’ll have to wait for
https://ci.guix.gnu.org/eval/1123219 to finish to assess the damage
done. There are two possible failure modes:

1) Build-time failure: Usually the build will complain about setuptools
not being found. That’s an easy fix, just add setuptools and wheel to
the native-inputs.
2) Run-time failure: The deprecated but still heavily used pkg_resources
is missing during runtime, because it’s part of setuptools. This one
is harder to detect, but once all packages have been built we should
`grep` for pkg_resources and figure out which of the consumers don’t
propagate python-setuptools.

Cheers,
Lars





      parent reply	other threads:[~2024-02-16 12:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-02 10:37 [bug#65010] [PATCH 0/8] Misc Python build system improvements Lars-Dominik Braun
2023-09-07 21:55 ` [bug#65010] Sharlatan Hellseher
2023-09-22  4:01 ` [bug#65010] [PATCH 0/8] Misc Python build system improvements Marius Bakke
2023-09-23  6:31   ` Lars-Dominik Braun
2024-02-10 12:15 ` Ricardo Wurmus
2024-02-16  6:50   ` Lars-Dominik Braun
2024-02-16 12:38   ` Lars-Dominik Braun [this message]

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=Zc9XW1fJ3LiNLNtR@noor.fritz.box \
    --to=lars@6xq.net \
    --cc=65010@debbugs.gnu.org \
    --cc=marius@gnu.org \
    --cc=rekado@elephly.net \
    /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.