Skip to content

Commit 78fd96e

Browse files
committed
Re-enable updates on 3.12 and up
1 parent cf15a09 commit 78fd96e

File tree

1 file changed

+6
-21
lines changed

1 file changed

+6
-21
lines changed

relenv/build/windows.py

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -368,27 +368,12 @@ def build_python(env: EnvMapping, dirs: Dirs, logfp: IO[str]) -> None:
368368
externals_dir = dirs.source / "externals"
369369
externals_dir.mkdir(parents=True, exist_ok=True)
370370

371-
# SQLITE
372-
# TODO: Python 3.12 started creating an SBOM. We're doing something wrong
373-
# TODO: updating sqlite so SBOM creation is failing. Gating here until we
374-
# TODO: fix this. Here's the original gate:
375-
# if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11", "3.12"]:
376-
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11"]:
377-
update_sqlite(dirs=dirs, env=env)
378-
379-
# XZ-Utils
380-
# TODO: Python 3.12 started creating an SBOM. We're doing something wrong
381-
# TODO: updating XZ so SBOM creation is failing. Gating here until we fix
382-
# TODO: this. Here's the original gate:
383-
# if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11", "3.12", "3.13", "3.14"]:
384-
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11"]:
385-
update_xz(dirs=dirs, env=env)
386-
387-
# TODO: This was my attempt to fix the expat error during build... it failed
388-
# TODO: so we're just skipping for now.
389-
if env["RELENV_PY_MAJOR_VERSION"] in ["3.10", "3.11"]:
390-
if update_expat_check(env=env):
391-
update_expat(dirs=dirs, env=env)
371+
update_sqlite(dirs=dirs, env=env)
372+
373+
update_xz(dirs=dirs, env=env)
374+
375+
if update_expat_check(env=env):
376+
update_expat(dirs=dirs, env=env)
392377

393378
arch_to_plat = {
394379
"amd64": "x64",

0 commit comments

Comments
 (0)