Hello everyone! I've been following the instructio...
# general
b
Hello everyone! I've been following the instructions on Pants to lock the Pytest version here: https://www.pantsbuild.org/2.21/docs/python/overview/lockfiles#sharing-lockfiles-between-tools-and-code However, I'm getting the following error:
Copy code
Engine traceback:
  in `test` goal

ResolveError: The address 3rdparty/python:python from the requirements of the `pytest` tool does not exist.

The target name ':python' is not defined in the directory 3rdparty/python. Did you mean one of these target names?

  * :_python-default_lockfile
The following is in
pants.toml
Copy code
[pytest]
install_from_resolve = "python-default"
requirements = [
  "//3rdparty/python/default.lock#pytest",
  "//3rdparty/python/default.lock#pytest-cov",
  "//3rdparty/python/default.lock#ipdb",
]
Never mind, forgot to include a BUILD file in 3rparty/python https://www.pantsbuild.org/2.21/docs/python/overview/lockfiles#lockfiles-for-tools
😅 1