Jim Downie
04/30/2026, 2:57 PMconda does not give me prek, so I get errors when running. Bioconda recipe probably wants updating?James Fellows Yates
04/30/2026, 3:00 PMThom Griffioen
04/30/2026, 3:07 PMJames Fellows Yates
04/30/2026, 3:11 PMJames Fellows Yates
04/30/2026, 3:11 PMThom Griffioen
04/30/2026, 3:13 PMJames Fellows Yates
04/30/2026, 3:14 PMThom Griffioen
04/30/2026, 3:16 PMmashehu
04/30/2026, 3:18 PMJames Fellows Yates
04/30/2026, 3:22 PMJames Fellows Yates
04/30/2026, 3:22 PMThom Griffioen
04/30/2026, 3:23 PMprek in the runtime dependenciesJames Fellows Yates
04/30/2026, 3:24 PMThom Griffioen
04/30/2026, 3:24 PMThom Griffioen
04/30/2026, 3:25 PMJim Downie
04/30/2026, 3:29 PMtools needs a nf-core validate-ext-deps command that just checks that nextflow, prek, nf-test etc. are on the path? And that gets run in the bioconda recipeThom Griffioen
04/30/2026, 3:32 PMJim Downie
04/30/2026, 3:34 PMThom Griffioen
04/30/2026, 3:47 PMprek is a listed dependency in pyproject.toml/PyPI. James' suggestion that the bot checks the pip dependencies against the ones listed in the recipe may make this process less error prone. Also for other python package recipes. But I also understand that this kind of checks can become non-trivial very quickly given how complex dependency resolution can get.Arthur
04/30/2026, 4:46 PMprek and pre-commit are a bit weird because they are runtime tool dependencies but because they are also python packages you can sort of make them get installed by making the packages become dependencies of your package. But this is not really what package dependencies are meant for, it's intended for libraries which you use in your code. I'm not even sure that if the Python packaging peps guarantee any cli commands will be installed.
Given these tools are not used as libraries in the code I would actually prefer we removed them as library deps and just made users install them like we do other cli dependencies like git