utils/pypi: update pure Python wheel detection

This commit is contained in:
Dustin Rodrigues 2025-05-31 21:12:27 -04:00
parent 5593a5cab9
commit 073903958f
No known key found for this signature in database
GPG Key ID: 140DABE812A1491D

View File

@ -85,7 +85,7 @@ module PyPI
# If there isn't an sdist, we use the first pure Python3 or universal wheel
if dist.nil?
dist = json["urls"].find do |url|
url["filename"].end_with?("py3-none-any.whl")
url["filename"].match?("py3.*-none-any.whl$")
end
end