bioconda-utils
bioconda-utils copied to clipboard
Internal AssertionError in build command
When locally testing my package (this PR: https://github.com/bioconda/bioconda-recipes/pull/34519), bioconda-utils
raises this exception:
09:47:59 BIOCONDA INFO (ERR) File "/home/jakni/miniconda3/envs/bioconda/lib/python3.7/site-packages/conda_build/build.py", line 2128, in build
INFO:bioconda_utils.utils:(ERR) create_build_envs(top_level_pkg, notest)
09:47:59 BIOCONDA INFO (ERR) create_build_envs(top_level_pkg, notest)
INFO:bioconda_utils.utils:(ERR) File "/home/jakni/miniconda3/envs/bioconda/lib/python3.7/site-packages/conda_build/build.py", line 1996, in create_build_envs
09:47:59 BIOCONDA INFO (ERR) File "/home/jakni/miniconda3/envs/bioconda/lib/python3.7/site-packages/conda_build/build.py", line 1996, in create_build_envs
INFO:bioconda_utils.utils:(ERR) channel_urls=tuple(m.config.channel_urls))
09:47:59 BIOCONDA INFO (ERR) channel_urls=tuple(m.config.channel_urls))
INFO:bioconda_utils.utils:(ERR) File "/home/jakni/miniconda3/envs/bioconda/lib/python3.7/site-packages/boa/cli/mambabuild.py", line 126, in mamba_get_install_actions
09:47:59 BIOCONDA INFO (ERR) File "/home/jakni/miniconda3/envs/bioconda/lib/python3.7/site-packages/boa/cli/mambabuild.py", line 126, in mamba_get_install_actions
INFO:bioconda_utils.utils:(ERR) conflict_packages = parse_problems(str(e))
09:47:59 BIOCONDA INFO (ERR) conflict_packages = parse_problems(str(e))
INFO:bioconda_utils.utils:(ERR) File "/home/jakni/miniconda3/envs/bioconda/lib/python3.7/site-packages/boa/cli/mambabuild.py", line 41, in parse_problems
09:47:59 BIOCONDA INFO (ERR) File "/home/jakni/miniconda3/envs/bioconda/lib/python3.7/site-packages/boa/cli/mambabuild.py", line 41, in parse_problems
INFO:bioconda_utils.utils:(ERR) assert words[1] == "package"
09:47:59 BIOCONDA INFO (ERR) assert words[1] == "package"
INFO:bioconda_utils.utils:(ERR) AssertionError
09:47:59 BIOCONDA INFO (ERR) AssertionError
ERROR:bioconda_utils.utils:COMMAND FAILED (exited with 1): /home/jakni/miniconda3/envs/bioconda/bin/conda mambabuild --override-channels --no-anaconda-upload -c conda-forge -c bioconda -c defaults -e /home/jakni/miniconda3/envs/bioconda/conda_build_config.yaml -e /home/jakni/miniconda3/envs/bioconda/lib/python3.7/site-packages/bioconda_utils/bioconda_utils-conda_build_config.yaml recipes/vamb/meta.yaml
Since it is an assert being violated, I assume this is a bug.