You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, when I try to skip a task marked with pytask.mark.latex, I get an error unless latexmk is installed. I imagine you already know this, but I've included a use case and an MRE below, nevertheless.
Use Case
I run/develop a project on multiple machines and want to skip latex- related tasks on some of them; and I do not want to install latexmk on them.
Thanks for the fantastic reproduction! pytask-latex probably checks for latexmk before we evaluate the skip. Maybe we want to check for latexmk only right before the execution.
That would be a nice solution. But wouldn't that imply that, for example, pytask collect won't throw an error if latexmk is not installed (even if there is no skip present)? Though, maybe pytask collect shouldn't raise an error in that case anyway.
Hey!
As the title says, when I try to skip a task marked with
pytask.mark.latex
, I get an error unlesslatexmk
is installed. I imagine you already know this, but I've included a use case and an MRE below, nevertheless.Use Case
I run/develop a project on multiple machines and want to skip
latex
- related tasks on some of them; and I do not want to installlatexmk
on them.MRE
Using
pytask
'sconftest.py
:Which produces:

Versions
The text was updated successfully, but these errors were encountered: