poetry-plugin-mono-repo-deps icon indicating copy to clipboard operation
poetry-plugin-mono-repo-deps copied to clipboard

Poetry export on CI

Open itepifanio opened this issue 8 months ago • 0 comments

Hi @gerbenoostra thanks for the plugin, it works as described on the README.

I've been able to export the subrepositories correctly, but I was expecting been able to also create a root non-package pyproject.toml that points to the subrepositories and export them, which doesn't seem to work.

My idea was to create a global venv, export the root dependencies and install them, but the root export doesn't work it outputs my local paths in editable mode.

This is my current setup, the package A doesn't use the plugin, but the package B (that depends on A) uses the plugin.

── pyproject.toml
└── repo
    ├── A
    │   └── pyproject.toml
    └── B
        └── pyproject.toml

My root pyproject.toml is a non package that points to the subrepositories, but exporting from the root doesn't export the package a and b with their actual versions.

...

[tool.poetry]
package-mode = false

[tool.poetry.dependencies]
python = ">=3.11"
package-a = { path = "A", develop = true }
package-b = { path = "B", develop = true }

[tool.poetry-monorepo.deps]

Edit: This is a non-blocking issue, is more something that I would expected it would work

itepifanio avatar Feb 05 '25 18:02 itepifanio