From f388436e70daa9f4c89fd471e0ff20677ca2caa8 Mon Sep 17 00:00:00 2001 From: Pieter Moris <13552343+pmoris@users.noreply.github.com> Date: Tue, 29 Oct 2024 21:14:25 +0100 Subject: [PATCH] Update nf-core - Add missing linkify dependency (#51762) * Add missing linkify dependency The bioconda version of nf-core tools produced errors when running commands that launched the trogon TUI. The reason was the missing package linkify, which gets pulled in as a dependency of textual in the PyPi build, but not in the conda-forge recipe. See https://github.com/Textualize/textual/blob/22770300252deb28d266fe4ed4766d6e2a2f5dd2/pyproject.toml#L44, https://github.com/conda-forge/textual-feedstock/blob/main/recipe/meta.yaml and https://github.com/nf-core/tools/issues/3257. * Pin linkify version Code Rabbit AI suggestion: The textual package version 0.71.0 depends on markdown-it-py[linkify]>=2.1.0, which in turn requires linkify-it-py>=2.0.0. However, checking the actual dependencies of markdown-it-py, it seems it wants linkify-it-py to be >=1,<3. * Update build number * fix typo --------- Co-authored-by: Joshua Zhuang <71105179+mencian@users.noreply.github.com> --- recipes/nf-core/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/nf-core/meta.yaml b/recipes/nf-core/meta.yaml index b546fdafe2ee0..c518daa0d9876 100644 --- a/recipes/nf-core/meta.yaml +++ b/recipes/nf-core/meta.yaml @@ -12,7 +12,7 @@ source: build: noarch: python - number: 0 + number: 1 script: "touch requirements.txt && {{ PYTHON }} -m pip install . --no-deps --no-build-isolation --no-cache-dir -vvv" entry_points: - nf-core=nf_core.__main__:run_nf_core @@ -50,6 +50,7 @@ requirements: - ruamel.yaml - tabulate - textual ==0.71.0 + - linkify-it-py >=1,<3 - trogon - nextflow >=24.04.4 - nf-test