blob: 87ef7fceec6fc8c32fa5344cdee5377cbe779799 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff --git a/.bazelrc b/.bazelrc
index 5965f963f..1dbad3b09 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -125,6 +125,10 @@ build:darwin_arm64 --cpu=darwin_arm64
# Turn off maximum stdout size
build --experimental_ui_max_stdouterr_bytes=-1
+# Force Bazel hermetic Python to use 3.12 to avoid incompatibility
+# with system Python 3.14+
+common --repo_env=HERMETIC_PYTHON_VERSION=3.12
+
# This bazelrc file is meant to be written by a setup script.
try-import %workspace%/.configure.bazelrc
diff --git a/setup.py b/setup.py
index 2c5a77c4d..4fdc9d5be 100644
--- a/setup.py
+++ b/setup.py
@@ -244,7 +244,6 @@ class BuildExtension(build_ext.build_ext):
'--compilation_mode=opt',
'--copt=-DNDEBUG',
'--keep_going',
- '--define=ENABLE_ODML_CONVERTER=1',
str(ext.bazel_target),
] + GPU_OPTIONS
|