From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 70570@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#70570] [PATCH 0/2] Python: Ignore unwanted development inputs.
Date: Thu, 25 Apr 2024 17:42:35 +0200 [thread overview]
Message-ID: <20240425155529.30747-1-ngraves@ngraves.fr> (raw)
This patch series implements a way to robustly and with minimal burden on maintainers to remove some python packages that are often put in native inputs. This allows these packages to be removed almost seemlessly in most cases from native-inputs where they are of no use, enabling to cut down the dependent rebuilds upon update, and more easily update them and their real dependents.
It is for the python-team branch. It will be followed by a more consequential patch series upon the python-team branch to actually remove these unwanted developement inputs, but is send before for reviews.
The patch series handles :
- guix lint warnings against the inclusion of these packages
- guix import pypi will automatically not include them when read in the package result
- ignoring pytest arguments defined in pytest.ini or setup.cfg regarding those packages
The patch series doesn't handle:
- ignoring these packages when they are explicitely listed as required for installation (which means that sometimes a snippet or a patch are necessary, but this is not the general case).
Nicolas Graves (2):
guix: import: pypi: Ignore pypi-ignored-inputs.
guix: pyproject-build-system: Ignore unwanted pytest flags.
guix/build/pyproject-build-system.scm | 88 ++++++++++++++++++++++++++-
guix/import/pypi.scm | 20 +++++-
guix/lint.scm | 11 ++--
tests/pypi.scm | 3 +-
4 files changed, 111 insertions(+), 11 deletions(-)
--
2.41.0
next reply other threads:[~2024-04-25 15:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-25 15:42 Nicolas Graves via Guix-patches via [this message]
2024-04-25 15:59 ` [bug#70570] [PATCH 1/2] guix: import: pypi: Ignore pypi-ignored-inputs Nicolas Graves via Guix-patches via
2024-04-25 15:59 ` [bug#70570] [PATCH 2/2] guix: pyproject-build-system: Ignore unwanted pytest flags Nicolas Graves via Guix-patches via
2024-04-26 8:47 ` Lars-Dominik Braun
2024-04-26 10:14 ` Nicolas Graves via Guix-patches via
2024-04-27 16:09 ` Nicolas Graves via Guix-patches via
2024-04-26 8:26 ` [bug#70570] [PATCH 1/2] guix: import: pypi: Ignore pypi-ignored-inputs Lars-Dominik Braun
2024-04-26 10:23 ` Nicolas Graves via Guix-patches via
2024-04-27 16:54 ` [bug#70570] [PATCH v2 " Nicolas Graves via Guix-patches via
2024-04-27 16:54 ` [bug#70570] [PATCH v2 2/2] guix: pyproject-build-system: Ignore unwanted pytest flags Nicolas Graves via Guix-patches via
2024-04-28 10:14 ` Nicolas Graves via Guix-patches via
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=20240425155529.30747-1-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=70570@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/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).