Lightning Talk – Python Dependencies the Right Way
summary
30-engineer monorepo with ~100 Python apps (300,000 LOC) faces chaotic third-party deps for Bazel builds. The team builds beve, Starlark macros plus command-line glue that uses pip-tools/pip-compile to produce one lock file per application from Bazel’s transitive requires attributes. Each lock generates a reproducible venv for testing and a wheel for deployment. Result: exact pinned dependency sets tracked in git and easy wheels. Tradeoffs: developers must switch venvs, Bazel caching weakens, and dependency propagation is manual.
AI-written summary · about
related talks
27mPython in Bazel
26mDependency Management in Python
06mLightning Talk: Do You Love or Hate Your C++ Build System?
21mTeach Your Old Code New Tricks: Automating Code Quality in Large Projects
21mFast/Correct: Choose two using Bazel for a monorepo
18mDesigning a language Agnostic CI using Bazel queries
28mManaging Python Dependencies at scale
34mBuilding Real-time Systems with Bazel
