average-breakfast-91545
03/13/2024, 4:53 PMexperimental
directory when doing, eg pants --changed-since whenever --changed-dependents=transitive
? or pants dependees some_lib
? I was hopeful that if I added a tag to the defaults for the dir, and excluded the tag in pants.toml, all my problems would go away. The problem is that code in that directory is subject to rot. Mostly I can just ignore it, but it does interfere with dependency tracking.gorgeous-winter-99296
03/13/2024, 6:07 PM--pants-ignore
? Or maybe --filter-address-regex
?average-breakfast-91545
03/13/2024, 6:19 PM❯ pants --changed-since=HEAD --changed-dependents=transitive --filter-address-regex='-^exp.+' check
18:16:01.58 [ERROR] 1 Exception encountered:
UnownedDependencyError: Pants cannot infer owners for the following imports in the target exp/users/michael/cui/grad_model_on_data.py:
* exp.users.michael.feature_transforms (line: 41)
so that's a nay on address regex? ignore does work if I stick it in pants.toml, but then i need to work out how I opt back in again. I probably could just specify the ignore on each command cos this is mostly to support ciaverage-breakfast-91545
03/13/2024, 6:19 PMgorgeous-winter-99296
03/13/2024, 6:20 PMaverage-breakfast-91545
03/13/2024, 6:21 PMaverage-breakfast-91545
03/13/2024, 6:21 PMcurved-television-6568
03/14/2024, 7:55 AM# .pants.bootstrap
if [ -n $work_on_experimental ]; then
export PANTS_IGNORE="+['exp/']"
fi
average-breakfast-91545
03/14/2024, 10:32 AM