Skip to content

conda build traceback in _combine_spec_dictionaries #3404

Closed

Description

Don't have a MWE yet, but hit this on CI with CB v3.17.8 on Windows:

  File "C:\ci\containers\000037pqvih\tmp\build\80754af9\mc\Scripts\conda-build-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\ci\containers\000037pqvih\tmp\build\80754af9\mc\lib\site-packages\conda_build\cli\main_build.py", line 456, in main
    execute(sys.argv[1:])
  File "C:\ci\containers\000037pqvih\tmp\build\80754af9\mc\lib\site-packages\conda_build\cli\main_build.py", line 447, in execute
    verify=args.verify, variants=args.variants)
  File "C:\ci\containers\000037pqvih\tmp\build\80754af9\mc\lib\site-packages\conda_build\api.py", line 208, in build
    notest=notest, need_source_download=need_source_download, variants=variants)
  File "C:\ci\containers\000037pqvih\tmp\build\80754af9\mc\lib\site-packages\conda_build\build.py", line 2292, in build_tree
    bypass_env_check=True)
  File "C:\ci\containers\000037pqvih\tmp\build\80754af9\mc\lib\site-packages\conda_build\render.py", line 803, in render_recipe
    variants = get_package_variants(m, variants=variants)
  File "C:\ci\containers\000037pqvih\tmp\build\80754af9\mc\lib\site-packages\conda_build\variants.py", line 517, in get_package_variants
    combined_spec = combine_specs(specs, log_output=config.verbose)
  File "C:\ci\containers\000037pqvih\tmp\build\80754af9\mc\lib\site-packages\conda_build\variants.py", line 277, in combine_specs
    log_output=log_output)
  File "C:\ci\containers\000037pqvih\tmp\build\80754af9\mc\lib\site-packages\conda_build\variants.py", line 245, in _combine_spec_dictionaries
    values[k] = v.copy()
AttributeError: 'str' object has no attribute 'copy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    locked[bot] locked due to inactivitystale[bot] marked as stale due to inactivitystale::closed[bot] closed after being marked as stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions