Skip to content

Instantly share code, notes, and snippets.

@vonschultz
vonschultz / .bazelversion
Created August 18, 2023 13:03
Bazel + mmh3 version 4.0.0 and version 4.0.1
6.3.2
@vonschultz
vonschultz / BUILD
Last active January 13, 2022 19:19 — forked from NathanHowell/BUILD
Seal Python with a VirtualEnv toolchain
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