help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Howto disable unit test runs, when building custom Python packages


From: Csepp
Subject: Re: Howto disable unit test runs, when building custom Python packages
Date: Sun, 02 Jul 2023 11:21:15 +0200

Timothy Washington <twashing@gmail.com> writes:

> I'm trying to figure out "Howto disable unit test runs, when building
> custom Python packages".
> I am trying to create a custom guix package of maurosoria/dirsearch
> <https://github.com/maurosoria/dirsearch>.
> Using this config
> <https://github.com/twashing/dotfiles/blob/main/guix/packages/dirsearch.scm>,
> "guix build" seems to work, except that it runs the project's unit tests.
> But iIt fails when running the project's unit tests, with these logs
> <https://snippet.host/fzavuc>.
>
> Details are in this SO post
> <https://stackoverflow.com/questions/76595986/howto-disable-unit-test-runs-when-building-custom-python-packages>
> .
> But basically, when building a custom (Github hosted) Python package, how
> can we disable unit test runs?
>
> Thanks
> Tim

Usually it should be as simple as:
(arguments '(#:tests? #f))
If it runs the tests as part of the build step, then you'll need to
either create a patch for it, use a custom source, or use substitute* to
patch it programmatically.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]