@Grant Fullston, Thank you for posting this question on Microsoft Q&A.
Based on the error message, they are coming from the resolve_download_url()
method here - https://github.com/azureautomation/runbooks/blob/164cf84ac66b444ea443a9f8c736c5042c64eeb3/Utility/Python/import_py3package_from_pypi.py#L63
For cryptography-42.0.7-cp39-abi3-manylinux_2_28_x86_64.whl
it seems to be failing because of the following test condition:
for url in urls:
if 'abi3-win_amd64.whl' in url and 'cp36' in url and version in url:
print ("Detected download uri %s for %s" % (url, packagename))
return(url)
Note that list of .whl files at cryptography 42.0.7 does not match any of the other criteria. There is a partial match here but fails for condition 'cp36' in url
. The match should have been 'cp39' in url
or for cp37 (no cp36 available).
I have not tested it yet (as I am running into some issues with respect to my automation account), but I believe that adding a new test scenario in the resolve_download_url
function like below should help resolve this particular error:
for url in urls:
if 'abi3-win_amd64.whl' in url and 'cp39' in url and version in url:
print ("Detected download uri %s for %s" % (url, packagename))
return(url)
Hope this helps.
Please let me know if you have any questions.