refined-addition-53644
05/25/2022, 6:21 PMdefault_resolve
I have a local pants-plugin
folder which has pants_requirements()
and this complains that it can't find a valid resolve name.
I thought if I don't provide it an explicit resolve, it would use the default_resolve
.hundreds-father-404
05/25/2022, 7:16 PMrefined-addition-53644
05/25/2022, 8:01 PM./pants test ::
22:00:07.40 [INFO] Initializing scheduler...
22:00:07.57 [INFO] Scheduler initialized.
22:00:10.67 [ERROR] 1 Exception encountered:
UnrecognizedResolveNamesError: Unrecognized resolve name from the field `resolve` in the target pants-plugins#pantsbuild.pants: pyfleet
All valid resolve names: ['etl', 'vehicle_spec']
This is snippet from pants.toml
[python]
interpreter_constraints = ["CPython>=3.9,<3.11"]
enable_resolves = true
default_resolve = "pyfleet"
[python.resolves]
etl = "3rdparty/pyfleet_etl.lock"
vehicle_spec = "3rdparty/pyfleet_vehicle_spec.lock"
Do I need to define path for the default_resolve
too?