mirror of
https://github.com/pyenv/pyenv.git
synced 2026-08-08 13:20:37 +09:00
Fix regexes
This commit is contained in:
parent
0e2e214f56
commit
1cc9e770ae
4
.github/workflows/modified_scripts_build.yml
vendored
4
.github/workflows/modified_scripts_build.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
|
||||
for line in os.environ['versions'].splitlines():
|
||||
if m:=re.match(r'miniconda3-\d+\.\d+-(\d+\.\d+.\d+)', line):
|
||||
if m:=re.match(r'miniconda3-\d+\.\d+-(\d+\.\d+\.\d+)', line):
|
||||
version = packaging.version.Version(m.group(1))
|
||||
|
||||
# Miniconda dropped MacOS x64 support
|
||||
@ -63,7 +63,7 @@ jobs:
|
||||
if version >= packaging.version.Version('2025.12'):
|
||||
exclude_macos_intel(result, 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user