Skip to content

Nextflow version check happens after loading the plugins #6540

@maxulysse

Description

@maxulysse

Bug report

Manifest has (cf https://github.com/nf-core/rnavar/blob/dev/nextflow.config#L349)

    nextflowVersion = '!>=25.10.0'

Yes I can see this when I run on 25.04.8, when I would expect the pipeline to stop

Nextflow 25.10.0 is available - Please consider updating your version to it
N E X T F L O W  ~  version 25.04.8
Pulling nf-core/rnavar ...
 downloaded from https://github.com/nf-core/rnavar.git
Launching `https://github.com/nf-core/rnavar` [nostalgic_morse] DSL2 - revision: 9bcf75c395 [dev]
Downloading plugin [email protected]
Downloading plugin [email protected]
ERROR ~ Plugin nf-core-utils with version @0.4.0 does not exist in the repository

Error is misleading and due to the fact that this plugin minimal Nextflow version is 25.10.0.

Expected behavior and actual behavior

I would expect the pipeline not to start, and after talking with @bentsherman we believe it's caused by the fact that this version check happens after the plugins are loaded.

Steps to reproduce the problem

(Provide a test case that reproduces the problem either with a self-contained script or GitHub repository)

Program output

(Copy and paste the output produced by the failing execution. Please highlight it as a code block. Whenever possible upload the .nextflow.log file.)

Environment

  • Nextflow version: [?]
  • Java version: [?]
  • Operating system: [macOS, Linux, etc]
  • Bash version: (use the command $SHELL --version)

Additional context

(Add any other context about the problem here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions