In my current pip setup, we use <URL fragments> to...
# general
l
In my current pip setup, we use URL fragments to refer to a subdirectory in a git repo for a dependency. Based on the docs on VCS requirements , I can't find support for that via PEP 440 and hacking around seems to confirm that. Just wanted to verify that "subdirectory" and "egg" are not supported? It is a minor issue for us, as we can easily adjust the repo so that subdirectory is not needed.
h
At least that I'm aware of, yeah I don't think PEP 440 supports this
e
Pex does support it though. If Pants can be a less opinionated middleman here the rest of the pipeline would work. I'm not sure if it can though.
l
I'm all for Pants being highly opinionated, it just seems like a few escape hatches may be needed. I know that's often easier said than done though. In this case, the lack of support for subdirectory/egg is not a blocker. The "no-binary" stuff (in an existing GH ticket) is more of a concern, though perhaps more so on emotional grounds as getting that to work with pip and dbt was more frustrating than I expected it to be 🙂
e
Yeah, --no-binary also requires Pants getting out of the way on requirements parsing so that may be a nice one stop solution to these 2 problems and a host of others that always crop up when you try to get between a user and their tool of choice.