Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry - How to handle monorepo lock? #4

Open
cognifloyd opened this issue Mar 29, 2021 · 1 comment
Open

Poetry - How to handle monorepo lock? #4

cognifloyd opened this issue Mar 29, 2021 · 1 comment

Comments

@cognifloyd
Copy link
Member

The idea of using poetry is to replace the custom in-requirements.txt/requirements.txt machinery with something more standardized.

Poetry works well with one project where a project maps to the unit of packaging (one project => one wheel). However, we have a monorepo with several projects, each of which should be in separate wheels. Each of those packages will be installed in the same virtualenv, however, so we want a global dependency lock.

Poetry doesn't handle monorepos yet. It now has a plugin system, so maybe that could be used to add this as described in these comments:

@cognifloyd
Copy link
Member Author

The pants experiment has panned out nicely, so I'm leaning towards just using that. Plus pants/pex lockfile is more robust than the poetry lockfile as it handles git repo deps as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant