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

witty-laptop-37343

03/23/2023, 11:36 PM
Hi team, I’m currently using pytest-mock fixture
mocker
, and I have added
Copy code
python_tests(
   dependencies = [.., "//:root#pytest-mock"]
)
but getting
Copy code
A distribution for pytest-mock could not be resolved for /opt/homebrew/Caskroom/miniconda/base/envs/sample/bin/python3.9
what’s the correct way for pants to infer this pytest-mock dependency? am I missing something?
e

enough-analyst-54434

03/23/2023, 11:49 PM
@witty-laptop-37343 please provide full output. I think you snipped the "but getting".
4 Views