proud-dentist-22844
08/05/2025, 10:51 PMPythonToolBase subsystem (in the pants repo), how do you generate the initial lockfile? I tried adding my new subsystem to build_support/bin/generate_builtin_lockfiles.py and then running pants run build-support/bin/generate_builtin_lockfiles.py -- --debug elfdeps (where elfdeps is the option scope of my new subsystem).
But it complains that the lockfile can't be found (I know. That's why I asked to generate it.). Using --keep-sandboxes is not helpful because of the secondary sandbox that gets created by the generate_builtin_lockfiles.py script.
Do I need to copy some other random lockfile and use it as a seed?proud-dentist-22844
08/05/2025, 11:23 PMproud-dentist-22844
08/05/2025, 11:25 PMPythonTool arg under all_python_tools) to something other than the WIP backend also works. Apparently pants can't load the backend until after I generate the file. 🤷proud-dentist-22844
08/05/2025, 11:27 PMPythonTool backend with the actual backend, because the backend is now loadable.