Hi, I have updated pants to `2.17` and I have a me...
# general
c
Hi, I have updated pants to
2.17
and I have a message for deprecation:
DEPRECATED: option 'dependees' in scope 'changed' is scheduled to be removed in version 2.23.0.dev0.
so I have changed then my command from
pants --changed-since=master --changed-dependees=direct lint
to
pants --changed-since=master --dependents=direct lint
but now I get this error:
Unknown flags --dependents on global scope
Could you know what I am doing wrong base on the documentation: https://www.pantsbuild.org/v2.16/docs/reference-changed#deprecated-options Thanks in advance
1
n
It should probably be
--changed-dependents
, not
--dependents
:)
c
well the documentation says something different: https://www.pantsbuild.org/v2.16/docs/reference-changed#dependents
or maybe I understood wrong when I read
n
For subsystem options you need to also prepend the subsystem of the option, since the
dependents
is in the
changed
scope/subsystem, the flag is
--changed-dependents
(as shown in the docs you linked).
c
👍 thanks
now it got this , and this is mistery for me:
./pants --changed-since=origin/master --changed-dependents=direct lint
And the error
Copy code
ERROR] Conflicting options used. You used the new, preferred `--changed-dependents`, but also used the deprecated `--changed-dependees`.
where possibly I could be using
-changed-dependees
as I don’t see that property at all in my repo
c
in env vars or
pants.toml
or
.pants.rc
files…?
c
🤔 very unlikely ,
dependees
is not even in any place of the repo. and I am using gitactions and I think I don’t have anything cached
actually it seems cached in the gitactions or taken from somwhere else, thanks
👍 1
it seems it is being taken from some where but no idea where. as in local is working fine, it is really a mystery in gitactions 🤷‍♂️