bitter-ability-32190
10/10/2022, 4:02 PMMappingError: Failed to parse ./path/to/BUILD.pants:
Name 'wo_resolved_system_packages' is not defined.
...
All registered symbols: ['__defaults__', ..., 'wo_resolved_system_packages', ...]
๐งตbuild_file_prelude_globs = [
# These are our Watson Orders macros (for reducing boilerplate)
"pants-plugins/wo_syspkg_macros.py",
"pants-plugins/wo_macros.py",
]
The first defines wo_resolved_system_packages
and the latter uses it inside another macro.
The BUILD.pants
file is referring to a macro in the latter which refers to the former.
This "works" on 2.13pants.engine.internals.build_files.parse_address_family
is where the error isThis also means that if multiple
# prelude files are present, they probably cannot see each others' symbols. We may choose
# to change this at some point.
hundreds-father-404
10/10/2022, 5:56 PMbitter-ability-32190
10/10/2022, 5:57 PMhundreds-father-404
10/10/2022, 5:58 PMbitter-ability-32190
10/10/2022, 5:59 PM__defaults__
seems to be the only substantial change for 2.14.xhundreds-father-404
10/10/2022, 5:59 PMbitter-ability-32190
10/10/2022, 6:00 PM