mirror: fix error for some specs during concretization (#2806)
This commit is contained in:
parent
481bc91854
commit
de2cb864fa
@ -104,6 +104,9 @@ def get_matching_versions(specs, **kwargs):
|
|||||||
s = Spec(pkg.name)
|
s = Spec(pkg.name)
|
||||||
s.versions = VersionList([v])
|
s.versions = VersionList([v])
|
||||||
s.variants = spec.variants.copy()
|
s.variants = spec.variants.copy()
|
||||||
|
# This is needed to avoid hanging references during the
|
||||||
|
# concretization phase
|
||||||
|
s.variants.spec = s
|
||||||
matching_spec.append(s)
|
matching_spec.append(s)
|
||||||
|
|
||||||
if not matching_spec:
|
if not matching_spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user