Skip to content

Commit

Permalink
fix: use copy(v) which works also on str, instead of v.copy() which d…
Browse files Browse the repository at this point in the history
…oesn't

resolves conda#5416
resolves conda#3404 (closed because stale, not because fixed)

Bug was possibly introduced in conda#3344
  • Loading branch information
corneliusroemer committed Jul 18, 2024
1 parent a7b885e commit 0b2e9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_build/variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def _combine_spec_dictionaries(
) != len(ensure_list(v)):
break
else:
values[k] = v.copy()
values[k] = copy(v)
missing_subvalues = [
subvalue
for subvalue in ensure_list(v)
Expand Down

0 comments on commit 0b2e9e3

Please sign in to comment.