hundreds-father-40403/25/2022, 5:21 AM
branch, where you install from a file on the filesystem? John just landed support for VCS/git requirements with Pex lockfiles 🎉 We're trying to figure out how to prioritize local requirements
enough-analyst-5443403/25/2022, 2:09 PM
sparse-lifeguard-9573703/25/2022, 6:49 PM
branch that we install via
(we’re still midway through our migration onto pants and haven’t gotten to the point of needing a work-around for it yet)
best-florist-4504103/28/2022, 4:24 PM
(https://www.getdbt.com/) is a key dependency. We have our own
plugin as first-party python code.
uses namespace packages to define plugins, e.g.
. So far, fine. But `dbt`'s python api is experimental, so projects that interact with it prefer to use its CLI using
. Without our first-party plugin being installed into site-packages along with the
command does not have the current working directory in the python path, hence the
command is unable to see our plugin. So ideally, pants could include this plugin as a local file requirement. This is what you are starting to work on, correct? Existing workarounds: a) push our plugin to a pypi server separately and include as a 3rd party dep. This misses the point of having a monorepo. b) without pants, shamefully append the source root to
before calling to the CLI. Would love to hear any other ideas.
hundreds-father-40403/28/2022, 5:54 PM