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 - dev: bump library dependencies Latest Release

Published by DavidVujic 4 months ago

Details in #57 and #58.

poetry-multiproject-plugin - feat: add support for project-specific path with wildcards

Published by DavidVujic 7 months ago

Details in Pull Request #56

poetry-multiproject-plugin - fix(build-project): rewrite the CLI endpoint when there is relative includes matching the namespace

Published by DavidVujic 8 months ago

Details in Pull Request #52 and in issue #51

poetry-multiproject-plugin - feat(build-project): rewrite script entries when using custom top namespace

Published by DavidVujic 8 months ago

Details in Pull Request #50

poetry-multiproject-plugin - fix(mypy): use latest minor of v1

Published by DavidVujic 8 months ago

Using the latest MyPy v1 version to avoid downgrades in CIs that don't allow the recommended poetry self add plugin way.

Details in Pull Request #48

poetry-multiproject-plugin - fix: update lock files

Published by DavidVujic 8 months ago

Details in Pull Request #46

poetry-multiproject-plugin - fix: bump sub-dependencies (poetry lock file)

Published by DavidVujic 11 months ago

Details in #43

poetry-multiproject-plugin - fix: extend ignore patterns

Published by DavidVujic over 1 year ago

Extend the ignore copy pattern for the build-project and check-project commands.

More details in #39

poetry-multiproject-plugin - Allow paths for top namespace

Published by DavidVujic over 1 year ago

feat: add paths support when running poetry build-project with the --with-top-namespace flag.

⭐ This feature was added by @ryaminal ⭐
Thank you!

Details in Pull Request #34

poetry-multiproject-plugin - fix: TOML parsing on Windows and Poetry 1.5

Published by DavidVujic over 1 year ago

Fixing issue in #30

Thank you for reporting this error ⭐ 👏

More details about the change in PR #31

poetry-multiproject-plugin - fix(build-project: accidentally overwritten default build options

Published by DavidVujic over 1 year ago

Fixing the issue reported in #28 - thank you for reporting this! ⭐

More details in Pull Request #29

poetry-multiproject-plugin - feat: rewrite top namespaces for relative includes when building packages

Published by DavidVujic over 1 year ago

Supporting the use case for publishing PyPI package(s) from a Python Monorepo arranged according to what's suggested in this repo, and with Polylith.

When projects includes shared packages, they will have the same top namespace. This can be a problem when libraries, that originates from projects built from the same monorepo, will be installed into the same virtual environment.

Since Python libraries are installed in a "flat" folder structure, two libraries with the same top namespace will collide.

This release will offer a solution to this, by choosing a custom namespace to be used in the build process. Then organize the namespaced packages, and more importantly, re-write the imports made in the source code.

Pull Request

poetry-multiproject-plugin - fix(check-project): avoid unnecessary files

Published by DavidVujic almost 2 years ago

Making the check-project command faster. Details in Pull Request.

poetry-multiproject-plugin - fix(check-project): install mypy in temp virtual environment

Published by DavidVujic almost 2 years ago

More details in Pull Request

poetry-multiproject-plugin - fix(check-project): from top folder

Published by DavidVujic almost 2 years ago

Fix: mypy analyser running properly when check-project from top folder with the --directory option.

Pull Request https://github.com/DavidVujic/poetry-multiproject-plugin/pull/23

poetry-multiproject-plugin - fix: add support for global options

Published by DavidVujic almost 2 years ago

Adding support for the --directory option in build-project and check-project
Adding support for the --verbose option in check-project, because this command mutes output by default

Pull Request https://github.com/DavidVujic/poetry-multiproject-plugin/pull/21

poetry-multiproject-plugin - fix: check-project command with reusable venv

Published by DavidVujic almost 2 years ago

Use the Poetry global cache-dir for the temporary virtual environment that is created during check-project. This will speed up the process, and avoid unnecessary network calls.

Pull Request https://github.com/DavidVujic/poetry-multiproject-plugin/pull/19

poetry-multiproject-plugin - fix: check-project command

Published by DavidVujic almost 2 years ago

Fixes the check-project command that didn't work as intended.

More info in Pull request https://github.com/DavidVujic/poetry-multiproject-plugin/pull/18

poetry-multiproject-plugin - new command: check-project

Published by DavidVujic almost 2 years ago

This command is mainly useful to check for any missing dependencies or packages in code for a project. It uses MyPy under the hood.

Pull Request: https://github.com/DavidVujic/poetry-multiproject-plugin/pull/17

poetry-multiproject-plugin - Add support for Python 3.8

Published by DavidVujic almost 2 years ago

Pull Request 15 by @Brejkarn

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