unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70570] [PATCH 0/2] Python: Ignore unwanted development inputs.
@ 2024-04-25 15:42 Nicolas Graves via Guix-patches via
  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-27 16:54 ` [bug#70570] [PATCH v2 " Nicolas Graves via Guix-patches via
  0 siblings, 2 replies; 11+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-04-25 15:42 UTC (permalink / raw)
  To: 70570; +Cc: ngraves

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





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-28 10:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25 15:42 [bug#70570] [PATCH 0/2] Python: Ignore unwanted development inputs Nicolas Graves via Guix-patches via
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

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).