uv-monorepo-dependency-tool
is a tool designed to help manage dependencies within a Python
monorepo structure, particularly when using uv
as the package manager. It simplifies the process
of identifying, updating, and synchronizing dependencies across various projects within the
monorepo.
- Automated Rewrite of Path Dependencies: Converts editable path dependencies into pinned version dependencies during archive generation.
- Improved Package Metadata: Adjusts dependency metadata in generated archives to use pinned versions, ensuring better compatibility for consumers of the package.
- Monorepo Support: Designed specifically for managing dependencies across complex UV-based monorepos.
- CLI Support: Run commands directly from the terminal for seamless integration with your development workflow.
For more detailed information about the tool, its features, and usage instructions, please refer to the dedicated README.md.
This project was inspired by our sister effort, the PoetryMonorepoDependencyPlugin.
The examples
folder contains sample projects demonstrating various use cases and configurations of the uv-monorepo-dependency-tool
.
- project-a: Using the uv-monorepo-dependency-tool for a single reusable module in a monorepo project.
- project-a-consumer: A monorepo project that consumes the module from
project-a
.