New version of conda-build throws error if channel URL path is `conda`
Created by: Zaharid
This seems like a specific conda one. If I look at
https://travis-ci.com/github/NNPDF/nnpdf/jobs/380787948
I see a weird error at the very end.
It can be that the version of conda build is different. Or something specific to our package repositories (given the error).
compiling .pyc files...
number of files: 1703
Traceback (most recent call last):
File "/Users/travis/miniconda3/bin/conda-build", line 11, in <module>
sys.exit(main())
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/cli/main_build.py", line 474, in main
execute(sys.argv[1:])
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/cli/main_build.py", line 463, in execute
outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/api.py", line 209, in build
return build_tree(sorted(absolute_recipes), config, stats, build_only=build_only, post=post,
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/build.py", line 3031, in build_tree
packages_from_this = build(metadata, stats,
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/build.py", line 2314, in build
newly_built_packages = bundlers[pkg_type](output_d, m, env, stats)
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/build.py", line 1595, in bundle_conda
files = post_process_files(metadata, initial_files)
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/build.py", line 1444, in post_process_files
post_build(m, new_files, build_python=python)
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/post.py", line 1314, in post_build
check_overlinking(m, files, host_prefix)
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/post.py", line 1220, in check_overlinking
return check_overlinking_impl(m.get_value('package/name'),
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/post.py", line 1055, in check_overlinking_impl
package_nature = {package: library_nature(package, run_prefix, subdir, bldpkgs_dirs, output_folder, channel_urls)
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/post.py", line 1055, in <dictcomp>
package_nature = {package: library_nature(package, run_prefix, subdir, bldpkgs_dirs, output_folder, channel_urls)
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/post.py", line 601, in library_nature
dsos, run_exports, _ = determine_package_nature(pkg, prefix, subdir, bldpkgs_dirs, output_folder, channel_urls)
File "/Users/travis/miniconda3/lib/python3.8/site-packages/conda_build/post.py", line 583, in determine_package_nature
assert isinstance(channeldata, dict) or isinstance(pkg, FakeDist)