Skip to content

chore: switch to poetry-core backend - #27

Merged
gernot-h merged 1 commit into
sw360:mainfrom
michaeladler:feat/poetry
Nov 4, 2026
Merged

gernot-h merged 1 commit into
sw360:mainfrom
michaeladler:feat/poetry

Conversation

@michaeladler

Copy link
Copy Markdown
Contributor

Replace legacy poetry.masonry.api with poetry.core.masonry.api. The old backend lacks build_editable() (PEP 660 [1]), breaking editable installs with standards-compliant installers like uv or pip >= 21.3. For example, this allows developers to use uv instead of poetry for local development.

poetry-core is Poetry's officially recommended build backend [2]. It is lighter (no resolver/CLI/plugins pulled in at build time) and supports the full PEP 517/660 interface.

[1] https://peps.python.org/pep-0660/
[2] https://python-poetry.org/docs/basic-usage/

Replace legacy `poetry.masonry.api` with `poetry.core.masonry.api`.
The old backend lacks `build_editable()` (PEP 660 [1]), breaking
editable installs with standards-compliant installers like uv or
pip >= 21.3. For example, this allows developers to use uv instead
of poetry for local development.

poetry-core is Poetry's officially recommended build backend [2].
It is lighter (no resolver/CLI/plugins pulled in at build time)
and supports the full PEP 517/660 interface.

[1] https://peps.python.org/pep-0660/
[2] https://python-poetry.org/docs/basic-usage/

Signed-off-by: Michael Adler <michael.adler@siemens.com>
@gernot-h

gernot-h commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Thanks, @michaeladler!

@gernot-h
gernot-h merged commit 69ed162 into sw360:main Nov 4, 2026
5 checks passed
@michaeladler
michaeladler deleted the feat/poetry branch November 5, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants