Skip to content

Commit 06a6132

Browse files
committed
Don't update stuff on 3.12 & 3.13
1 parent 442ea74 commit 06a6132

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

relenv/build/windows.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -332,20 +332,23 @@ def build_python(env, dirs, logfp):
332332
# TODO: Python 3.12 started creating an SBOM. We're doing something wrong
333333
# TODO: updating sqlite so SBOM creation is failing. Gating here until we
334334
# TODO: fix this. Here's the original gate:
335-
# if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11"]:
336-
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11", "3.12"]:
335+
# if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11", "3.12"]:
336+
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11"]:
337337
update_sqlite(dirs=dirs, env=env)
338338

339339
# XZ-Utils
340340
# TODO: Python 3.12 started creating an SBOM. We're doing something wrong
341341
# TODO: updating XZ so SBOM creation is failing. Gating here until we fix
342342
# TODO: this. Here's the original gate:
343-
# if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11"]:
344-
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11", "3.12", "3.13", "3.14"]:
343+
# if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11", "3.12", "3.13", "3.14"]:
344+
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11"]:
345345
update_xz(dirs=dirs, env=env)
346346

347-
if update_expat_check(env=env):
348-
update_expat(dirs=dirs, env=env)
347+
# TODO: This was my attempt to fix the expat error during build... it failed
348+
# TODO: so we're just skipping for now.
349+
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11"]:
350+
if update_expat_check(env=env):
351+
update_expat(dirs=dirs, env=env)
349352

350353
arch_to_plat = {
351354
"amd64": "x64",

0 commit comments

Comments
 (0)