File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
py/tests/py-external-venv Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ common --heap_dump_on_oom
105105# notices when a directory changes, if you have a directory listed in the srcs of some target.
106106# Recommended when using [copy_directory](https://github.com/bazel-contrib/bazel-lib/blob/main/docs/copy_directory.md)
107107# and [rules_js](https://github.com/aspect-build/rules_js) since npm package are source directories inputs to copy_directory actions.
108- startup --host_jvm_args="-DBAZEL_TRACK_SOURCE_DIRECTORIES=1"
108+ # startup --host_jvm_args="-DBAZEL_TRACK_SOURCE_DIRECTORIES=1"
109109# Docs: https://registry.build/flag/bazel?filter=host_jvm_args
110110
111111# By default, Bazel automatically creates __init__.py files for py_binary and py_test targets.
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22
3- import os
43import sys
54import site
65
1918# use a different layout.
2019
2120# The virtualenv changes the sys.prefix, which should be in our runfiles
22- assert sys .prefix .endswith ("/py/tests/py-external-venv/.venv " )
21+ assert sys .prefix .endswith ("/py/tests/py-external-venv/.test " )
2322
2423# That prefix should also be "the" prefix per site.PREFIXES
25- assert site .PREFIXES [0 ].endswith ("/py/tests/py-external-venv/.venv " )
24+ assert site .PREFIXES [0 ].endswith ("/py/tests/py-external-venv/.test " )
2625
2726# The virtualenv also changes the sys.executable (if we've done this right)
28- assert sys .executable .find ("/py/tests/py-external-venv/.venv /bin/python" ) != - 1
27+ assert sys .executable .find ("/py/tests/py-external-venv/.test /bin/python" ) != - 1
You can’t perform that action at this time.
0 commit comments