Hey,
We’ve been using the Polylith architecture for a while and one pain point is version management.
Each project has its own pyproject.toml, so dependency versions can easily drift apart.
I’m wondering if we could use uv workspaces to manage versions more centrally, so shared and project-specific dependencies stay in sync.
- components are like a package with their own unique dependencies
- bases use components and may have their own unique dependencies
- projects tie bases & components together & are used build a container
This video by Arjan Codes shows how to use uv workspace:
The Best Way to Share Code Between Python Apps
Has anyone tried something like this, or found a clean way to handle shared dependencies across projects in a Polylith repo?
my project:
OSRS bot_detector
Hey,
We’ve been using the Polylith architecture for a while and one pain point is version management.
Each project has its own
pyproject.toml, so dependency versions can easily drift apart.I’m wondering if we could use
uvworkspaces to manage versions more centrally, so shared and project-specific dependencies stay in sync.This video by Arjan Codes shows how to use uv workspace:
The Best Way to Share Code Between Python Apps
Has anyone tried something like this, or found a clean way to handle shared dependencies across projects in a Polylith repo?
my project:
OSRS bot_detector