Skip to content

Best way to track component versions for a project? #147

Answered by DavidVujic
estherbester asked this question in Q&A
Discussion options

You must be logged in to vote

Polylith uses the concept of versionless bases and components. Versions can be used for projects: when you package a project, you can have a version attached to it - the built & deployable artifact - as you write, in the pyproject.toml.

Having bricks (bases and components) without versions, means that all projects and the local development environment will use the same source code. You can think of bricks as local source code - namespace packages - with a single-project/single-repo developer experience, but used by several projects.

Compared to a library, a depencency, a brick is a lot smaller. A library is a full-blown feature (and would need versioning), a brick is a smaller part of one…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DavidVujic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants