<#21044 [Call-by-name] pathlib subpath exception w...
# github-notifications
q
#21044 [Call-by-name] pathlib subpath exception when using migration outside of main pants repo Issue created by sureshjoshi
Copy code
Exception message: '/Users/sj/Developer/scratch/oss/pants.git/call-by-name-cc/src/python/pants/backend/javascript/package_json.py' is not in the subpath of '/Users/sj/Developer/scratch/oss/pantsanity.git/main' OR one path is relative and the other is absolute.
Caused by the
relative_to
here in migrate_call_by_name.py: item: RuleGraphGet = { "filepath": str(spec_origin.relative_to(build_root)), ... pantsbuild/pants