This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6.3.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("@rules_python//python:defs.bzl", "py_runtime", "py_runtime_pair") | |
load(":venv.bzl", "py_venv") | |
load(":wrapper.bzl", "py_wrapper") | |
py_venv( | |
name = "py3_venv", | |
# caching the venv interpreter doesn't work for two reasons: | |
# | |
# * there are no platform dependencies on this target: the cache will contain binaries for the wrong OS | |
# * there are no dependencies on the interpreter binary or standard library: the cache may contain stale versions |