conda-forge / nvcc-feedstock

A conda-smithy repository for nvcc.
BSD 3-Clause "New" or "Revised" License
12 stars 23 forks source link

Re-rendering currently fails #18

Closed jakirkham closed 5 years ago

jakirkham commented 5 years ago

When running conda-smithy locally, I encounter the following error. Likely fallout from PR ( https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/285 ). Will need to investigate more closely to determine a fix.

Traceback (most recent call last):
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_build/variants.py", line 514, in get_package_combined_spec
    validate_spec(spec)
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_build/variants.py", line 129, in validate_spec
    zip_groups = _get_zip_groups(spec)
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_build/variants.py", line 372, in _get_zip_groups
    groups.append(_get_zip_dict_of_lists(combined_variant, group))
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_build/variants.py", line 355, in _get_zip_dict_of_lists
    key, combined_variant[key]))
ValueError: zip field cuda_compiler_version (['None', '9.2', '10.0', '10.1']) length does not match zip field docker_image (['condaforge/linux-anvil-cuda:10.1', 'condaforge/linux-anvil-cuda:10.0', 'condaforge/linux-anvil-cuda:9.2']) length.  All zip fields within a group must be the same length.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/jkirkham/miniconda/bin/conda-smithy", line 10, in <module>
    sys.exit(main())
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_smithy/cli.py", line 485, in main
    args.subcommand_func(args)
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_smithy/cli.py", line 361, in __call__
    check=args.check,
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_smithy/configure_feedstock.py", line 1570, in main
    render_azure(env, config, forge_dir)
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_smithy/configure_feedstock.py", line 1097, in render_azure
    upload_packages=upload_packages,
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_smithy/configure_feedstock.py", line 563, in _render_ci_provider
    channel_urls=forge_config.get("channels", {}).get("sources", []),
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_build/api.py", line 45, in render
    permit_unsatisfiable_variants=permit_unsatisfiable_variants)
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_build/render.py", line 813, in render_recipe
    variants = get_package_variants(m, variants=variants)
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_build/variants.py", line 547, in get_package_variants
    combined_spec, specs = get_package_combined_spec(recipedir_or_metadata, config=config, variants=variants)
  File "/Users/jkirkham/miniconda/lib/python3.7/site-packages/conda_build/variants.py", line 516, in get_package_combined_spec
    raise ValueError("Error in config {}: {}".format(f, str(e)))
ValueError: Error in config argument_variants: zip field cuda_compiler_version (['None', '9.2', '10.0', '10.1']) length does not match zip field docker_image (['condaforge/linux-anvil-cuda:10.1', 'condaforge/linux-anvil-cuda:10.0', 'condaforge/linux-anvil-cuda:9.2']) length.  All zip fields within a group must be the same length.
jakirkham commented 5 years ago

Fixing with PR ( https://github.com/conda-forge/nvcc-feedstock/pull/19 ).