Skip to content

Inspired by the poetry-monorepo-dependency-plugin, this uv geared tool facilitates the usage of more complex monorepo project structures by pinning version dependencies when building archives with local path dependencies to other uv projects within the same monorepo.

License

Notifications You must be signed in to change notification settings

TechnologyBrewery/uv-monorepo-dependency-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uv-monorepo-dependency-tool

PyPI PyPI - Python Version PyPI - Wheel PyPI - Downloads License Build uv-monorepo-dependency-tool

uv-monorepo-dependency-tool

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.

Features

  • 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.

Examples

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.

About

Inspired by the poetry-monorepo-dependency-plugin, this uv geared tool facilitates the usage of more complex monorepo project structures by pinning version dependencies when building archives with local path dependencies to other uv projects within the same monorepo.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages