unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Python's native-inputs
@ 2024-04-17  5:25 Nicolas Graves via Development of GNU Guix and the GNU System distribution.
  2024-04-19  2:07 ` Maxim Cournoyer
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Graves via Development of GNU Guix and the GNU System distribution. @ 2024-04-17  5:25 UTC (permalink / raw)
  To: guix-devel; +Cc: lars, tanguy, marius, me, sharlatanus


Hi Guix,

On some languages, there are a lot of unused native-inputs that are
development & linting dependencies much more than packages that are
actually used to build or test a package (I'm thinking at least Python
and Rust). These fall in the category of tools "useful" at run time, but
unecessary at build time.

Is there a clear policy about their removal? I've seen the case of
pre-commit in Python, and I've commited a series yesterday regarding
pylint, but there are a whole lot of them in Python, at least :

- black and extensions
- codecov
- coveralls
- coverage
- pytest-cov
- pycodestyle
- mypy and extensions
- isort and extensions
- flake8 and extensions
- possibly virtualenv and extensions
and I'm probably forgetting some.

These packages make a lot of sense when considering things like
`guix shell -D` but they are hampering some progress on Python packages
since they are everywhere and a small update in their inputs rebuilds
the whole python world (even though it has NO influence on the
functionality of any other package).

What are the guidelines in this case?

I can propose a huge patch series (currently ~300 patches, and not
finished), to remove them, lint against them and remove them from the
importer as a default, but that's a big decision to make. IMO we should
have a dev-inputs field to handle these cases, but that's even more work.

-- 
Best regards,
Nicolas Graves


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

end of thread, other threads:[~2024-05-10  7:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17  5:25 Python's native-inputs Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2024-04-19  2:07 ` Maxim Cournoyer
     [not found]   ` <draft-87pluisvqb.fsf@ngraves.fr>
2024-04-22 14:19     ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2024-04-22 14:40       ` Ricardo Wurmus
2024-04-23 21:08         ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2024-04-25 16:03         ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2024-05-10  7:54           ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2024-04-22 17:25       ` Maxim Cournoyer

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