GNU bug report logs - #57136
Snakemake cannot execute remote jobs

Previous Next

Package: guix;

Reported by: Konrad Hinsen <konrad.hinsen <at> fastmail.net>

Date: Thu, 11 Aug 2022 08:41:02 UTC

Severity: normal

Done: Konrad Hinsen <konrad.hinsen <at> fastmail.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 57136 <at> debbugs.gnu.org (full text, mbox):

From: Matthieu Simonin <matthieu.simonin <at> inria.fr>
To: 57136 <at> debbugs.gnu.org
Subject: Snakemake cannot execute remote jobs
Date: Thu, 25 Aug 2022 13:14:13 +0200
Hi there,

I've taken a stab at using it and restoring the patch as Konrad pointed seems the way to go.

But I also found that the package definition doesn't follow the guidelines[1] regarding the inputs definition.
One should use `propagated-inputs` instead of `inputs` for a python package.

In the current situation we can't invoke `snakemake` as a module:
`python -m snakemake` fails as the input dependencies aren't linked in the guix profile.

This way of invoking snakemake is used internally by snakemake here and there (for instance when calling the unit tests 
generated by `snakemake --generate-unit-tests`[2][3].

[1]: https://guix.gnu.org/manual/en/html_node/package-Reference.html
[2]: https://snakemake.readthedocs.io/en/stable/snakefiles/testing.html
[3]: https://github.com/snakemake/snakemake/blob/v7.7.0/snakemake/unit_tests/templates/ruletest.py.jinja2




This bug report was last modified 2 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.