language/python: update pure Python wheel detection

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

View File

@ -399,7 +399,7 @@ module Language
if t.is_a?(Resource)
t.stage do
target = Pathname.pwd
target /= t.downloader.basename if t.url&.end_with?("-none-any.whl")
target /= t.downloader.basename if t.url&.match?("py3.*-none-any.whl$")
do_install(target, build_isolation:)
end
else