Hi. I'm planning to update the fastp version in th...
# modules
o
Hi. I'm planning to update the fastp version in the nf-core/fastp module. While linting the warning
Copy code
bioconda_version: Conda version not specified correctly: bioconda::fastp=1.3.6
keeps popping up. it seems whatever module i check, the warning also appears there as well. How do i need to format
environments.yml
to make this warning vanish?
Copy code
$ cat modules/nf-core/fastp/environment.yml
---
# yaml-language-server: $schema=<https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json>
channels:
  - conda-forge
  - bioconda
dependencies:
  # renovate: datasource=conda depName=bioconda/fastp
  - bioconda::fastp=1.3.6
m
did you run
nf-core modules bump-version fastp
?
it lint's fine for me. which version of nf-core tools are you using?
o
nf-core 4.0.2 didn't know the function bump-version. Have to check it. Maybe it solves all the work i wanted to do in one command... oops
m
i would recommend to do it with the latest dev version of tools actually (
pip install --upgrade --force-reinstall git+<https://github.com/nf-core/tools.git@dev>
) then you get the containers also updated correctly
o
Copy code
nf-core/tools version 4.0.3.dev0 - <https://nf-co.re>

Conda version not specified correctly: modules/nf-core/fastp/environment.yml
it keeps it's opinion
m
weird, i copy pasted yours and it was fine... let me check if there might be some caching issue on your side
can you try to run
nf-core --verbose modules bump-version fastp
and see if you see something in the logs?
o
Wouldn't be surprised, if something strange happens on our IT...
Copy code
DEBUG    Popen(['git', 'version'], cwd=[redacted]/scripts/nf-core.modules.fork.260720, stdin=None, shell=False, universal_newlines=False)                                                                                                              cmd.py:1406
DEBUG    Popen(['git', 'version'], cwd=[redacted]/scripts/nf-core.modules.fork.260720, stdin=None, shell=False, universal_newlines=False)                                                                                                              cmd.py:1406
DEBUG    sys.platform='linux', git_executable='git'                                                                                                                                                                                                                                                          util.py:497
Pulling from 'nf-core/modules' (<https://github.com/nf-core/modules.git>) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Waiting for response
DEBUG    Popen(['git', 'version'], cwd=[redacted]/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=False)                                                                                                                                                                    cmd.py:1406
DEBUG    Popen(['git', 'fetch', '-v', '--progress', '--', 'origin'], cwd=[redacted]/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=True)                                                                                                                                   cmd.py:1406
DEBUG    Popen(['git', 'checkout', 'master'], cwd=[redacted]/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=False)                                                                                                                                                         cmd.py:1406
DEBUG    Popen(['git', 'merge', 'origin/master'], cwd=[redacted]/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=False)                                                                                                                                                     cmd.py:1406
DEBUG    Got '[redacted]/.config/nfcore/nf-core/modules' as path                                                                                                                                                                                                                                       utils.py:509
DEBUG    Found a config cache, loading: [redacted]/.nextflow/nf-core/wf-config-cache-9f4bce35ba6f9f759cbf54fa7.json                                                                                                                                                                                    utils.py:543
DEBUG    Using config file: [redacted]/.config/nfcore/nf-core/modules/.nf-core.yml                                                                                                                                                                                                                    utils.py:1287
DEBUG    Got '.' as path                                                                                                                                                                                                                                                                                    utils.py:509
DEBUG    Found a config cache, loading: [redacted]/.nextflow/nf-core/wf-config-cache-9f4bce35ba6f9f759cbf54fa7.json                                                                                                                                                                                    utils.py:543
DEBUG    Using config file: .nf-core.yml                                                                                                                                                                                                                                                                   utils.py:1287
DEBUG    Got '.' as path                                                                                                                                                                                                                                                                                    utils.py:509
DEBUG    Found a config cache, loading: [redacted]/.nextflow/nf-core/wf-config-cache-9f4bce35ba6f9f759cbf54fa7.json                                                                                                                                                                                    utils.py:543
DEBUG    Using config file: .nf-core.yml                                                                                                                                                                                                                                                                   utils.py:1287
DEBUG    Starting new HTTPS connection (1): <http://api.anaconda.org:443|api.anaconda.org:443>                                                                                                                                                                                                                                  connectionpool.py:1062
DEBUG    Printing bump_versions results
m
looks like it. (maybe because of the "defaults" channel fiasco. try to update it then trough a github codespace