poetry-multiproject-plugin

A Poetry plugin that makes it simple to share code between projects in monorepos.

MIT License

Downloads
47.1K
Stars
155
Committers
2

Bot releases are hidden (Show)

poetry-multiproject-plugin - Minimum Python version (3.10), Community standards, CI

Published by DavidVujic almost 2 years ago

poetry-multiproject-plugin - Better docs: what the plugin does and guideline

Published by DavidVujic almost 2 years ago

poetry-multiproject-plugin - Bugfixes

Published by DavidVujic almost 2 years ago

Updates:

  • Run the poetry-build command in the actual project foder.
  • make sure the package includes section has no duplicates in the generated pyproject.toml file
poetry-multiproject-plugin - Supporting Poetry 1.2

Published by DavidVujic almost 2 years ago

poetry-multiproject-plugin - fix: use the same Python requirements as the Poetry tool

Published by DavidVujic over 2 years ago

poetry-multiproject-plugin - fix: organize package includes in a root namespace

Published by DavidVujic over 2 years ago

fixing the broken 'package includes' packaging.

NOTE: now require that shared packages are structured within a root namespace, as described in the README.md.

poetry-multiproject-plugin - fix: typo in docs about running the command with explicit path to toml file

Published by DavidVujic over 2 years ago

poetry-multiproject-plugin - feat: add support for dist builds located in the actual project folder

Published by DavidVujic over 2 years ago

A dist folder will be added in the actual project when running poetry build-project -t path/to/pyproject.toml.

Also, changes in how relative package includes are set in the pyproject.toml.

packages = [
    { include = "the_code_in_my_project"
    { include = "../../../my-shared-package" }]
poetry-multiproject-plugin - Always expect an pyproject toml

Published by DavidVujic over 2 years ago

This is a breaking feature:
removing the possibility to set a custom name for a TOML file. I don't think this is needed anymore, since it is possible to set the workspace directory and build a project specific pyproject.toml with package includes that are "above" the actual project directory.

Decided to not use Semver for this yet, because the project still is in experimental mode.

Also: this version has less of manipulating with the Poetry internals (no factory overloads, use the original build command handle function).

poetry-multiproject-plugin - Add support for including packages that are outside of a project root.

Published by DavidVujic over 2 years ago

poetry-multiproject-plugin - docs: add example usage

Published by DavidVujic over 2 years ago

Added example usage and a Monorepo scenario to the README.md

poetry-multiproject-plugin - First release

Published by DavidVujic over 2 years ago

This is the very first release, and the plugin is available at PyPi.

Please note that this plugin is dependent on a preview of the Poetry tool.

Package Rankings
Top 11.11% on Pypi.org
Badges
Extracted from project README
CircleCI CodeScene Code Health Quality Gate Status Download Stats