Make downloads from list_url deterministic (#10047)
This commit is contained in:
parent
22446d7303
commit
ad046402b6
@ -328,7 +328,7 @@ def find_versions_of_archive(archive_urls, list_url=None, list_depth=0):
|
||||
|
||||
# Build a dict version -> URL from any links that match the wildcards.
|
||||
versions = {}
|
||||
for url in links:
|
||||
for url in sorted(links):
|
||||
if any(re.search(r, url) for r in regexes):
|
||||
try:
|
||||
ver = spack.url.parse_version(url)
|
||||
|
Loading…
Reference in New Issue
Block a user