Skip to content

Commit 9a9c844

Browse files
authored
Disable bytecode optimization during wheel installation (#949)
1 parent d400f6b commit 9a9c844

File tree

1 file changed

+1
-0
lines changed
  • python/pip_install/extract_wheels

1 file changed

+1
-0
lines changed

python/pip_install/extract_wheels/wheel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def unzip(self, directory: str) -> None:
8484
interpreter="/dev/null",
8585
script_kind="posix",
8686
destdir=directory,
87+
bytecode_optimization_levels=[],
8788
)
8889

8990
with installer.sources.WheelFile.open(self.path) as wheel_source:

0 commit comments

Comments
 (0)