Skip to content

Commit 9bb8224

Browse files
committed
Pass correct relenv python version
1 parent 7da0257 commit 9bb8224

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

relenv/build/linux.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def update_expat(version):
353353
- 3.12.11
354354
- 3.13.7
355355
"""
356-
relenv_version = Version(env["RELENV_PY_MAJOR_VERSION"])
356+
relenv_version = Version(version)
357357
if relenv_version.minor == 9 and relenv_version.micro <= 23:
358358
return True
359359
elif relenv_version.minor == 10 and relenv_version.micro <= 18:
@@ -403,7 +403,7 @@ def build_python(env, dirs, logfp):
403403
]
404404
)
405405

406-
if update_expat(env["RELENV_PY_MAJOR_VERSION"]):
406+
if update_expat(env["RELENV_PY_VERSION"]):
407407
bash_refresh = pathlib.Path(dirs.source) / "Modules" / "expat" / "refresh.sh"
408408
runcmd(
409409
[

0 commit comments

Comments
 (0)