Timothy Washington <[email protected]> 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.
