quaint-telephone-89068
01/17/2023, 9:10 AM[scrooge-gen]
==== stdout ====
==== stderr ====
Error: Unknown option --import-path
Reason:
In commit [1] the deprecated --import-path option has been removed, but Pants' Scrooge plugin still uses this option [2].
I guess it could be enough just to replace the usage of this option in 1.30.x branch with just -i or --include-path.
Even though I understand that Pants 1.x is unsupported now, I think it make sense to release a patch update to address this issue to allow legacy projects continue using Pants 1.30.x.
Pants version
1.30.4
OS
macOS, but issue is not dependent on OS.
Additional info
[1] twitter/scrooge@c9767cd
[2] https://github.com/pantsbuild/pants/blob/1.30.x/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/scrooge_gen.py#L188
pantsbuild/pants