https://pantsbuild.org/ logo
#general
Title
# general
l

little-train-28371

09/06/2022, 5:50 PM
Hi, is it possible to lock a specific transitive dependency ? When running
./pants test ::
I am running into an issue with protocol buffers that require me to lock them to 3.20.x, I already do in one requirements file at the root level. packages inside src/ pick the dependency, but tests don’t
folder structure has src and tests separately ├── requirements-common.txt ├── src │ ├── ├── tests │ ├── i’ve tried adding a
python_requirement()
in tests/BUILD, but not sure that is the way to go
2 Views