Adjust GraalPy version detection with the new naming scheme

This commit is contained in:
Ivan Pozdeev 2026-06-30 21:05:47 +03:00
parent d26af4be7f
commit 52b03c9a02

View file

@ -59,7 +59,7 @@ jobs:
if name == 'anaconda3' and version >= packaging.version.Version('2025.12'):
result.append({'os':'macos-15-intel','python-version':line})
if m:=re.match(r'graalpy-(community-)?(\d+\.\d+.\d+)', line):
if m:=re.match(r'graalpy[^-]*-(community-)?(\d+\.\d+.\d+)', line):
version = packaging.version.Version(m.group(2))
# GraalPy dropped MacOS x64 support