modern-leather-2761211/03/2021, 8:45 PM
. For some projects or some branches, we also pin internal dependencies. With a Pants-based monorepo, it makes sense to develop and test against the union of internal libraries, i.e., the source code as is. I can see how to cut different libraries from the monorepo as well. But I don't see a good solution to distributing libraries with pinned internal dependencies. Essentially, I'm asking how can I layer a packaged and possibly pinned view on top of the all sources in a big soup view of the monorepo with Pants. Any help in resolving this last remaining issue would be fantastic.
happy-kitchen-8948211/03/2021, 9:13 PM
modern-leather-2761211/05/2021, 9:59 PM
happy-kitchen-8948211/12/2021, 1:10 AM
dict, and make the wheel for A declare that version in its
declares its own distribution name and version, and when Pants builds some dist A and notices that its libraries depend on other libraries in some other dist B, it "zooms out" those deps to make A depend on B at the version B currently declares for itself.
we barf: https://github.com/pantsbuild/pants/blob/372fa36efb09d7d477436dbf927edb28537bc2f5/src/python/pants/backend/python/goals/setup_py.py#L221
and allow a user-supplied version of foo to override the computed version)
modern-leather-2761211/12/2021, 7:53 PM
happy-kitchen-8948211/12/2021, 7:59 PM