Skip to content

Commit 0aa2da6

Browse files
committed
Gate XZ update to python 3.10 & 3.11
1 parent 90d9b32 commit 0aa2da6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

relenv/build/windows.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,11 @@ def build_python(env, dirs, logfp):
119119
shutil.move(str(extracted_dir), str(target_dir))
120120

121121
# XZ-Utils
122-
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11", "3.12", "3.13", "3.14"]:
122+
# TODO: Python 3.12 started creating an SBOM. We're doing something wrong
123+
# TODO: updating XZ so SBOM creation is failing. Gating here until we fix
124+
# TODO: this. Here's the original gate
125+
# TODO: if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11", "3.12", "3.13", "3.14"]:
126+
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11"]:
123127
version = "5.6.2"
124128
url = f"https://github.com/tukaani-project/xz/releases/download/v{version}/xz-{version}.tar.xz"
125129
sha256 = "8bfd20c0e1d86f0402f2497cfa71c6ab62d4cd35fd704276e3140bfb71414519"

0 commit comments

Comments
 (0)