m3dev / gokart

Gokart solves reproducibility, task dependencies, constraints of good code, and ease of use for Machine Learning Pipeline.
https://gokart.readthedocs.io/en/latest/
MIT License
305 stars 57 forks source link

Change build backend to poetry-core #355

Closed Hi-king closed 6 months ago

Hi-king commented 6 months ago

poetry-core is PEP 517 build backend of poetry

https://github.com/python-poetry/poetry-core

A PEP 517 build backend implementation developed for Poetry. This project is intended to be a lightweight, fully compliant, self-contained package allowing PEP 517-compatible build frontends to build Poetry-managed projects.

Backgroud

We would like to try developing version of gokart

but poetry add git+ssh://git@github.com:m3dev/gokart.git will break original version constraints (e.g. gokart > 1.0.0) because of use of poetry-dynamic-versioning.

With poetry-core, we can poetry add git+ssh://git@github.com:m3dev/gokart.git --editable, which run poetry-dynamic-versioning while installing.

Side Effect

I believe no side effect. Actually, current default backend is already poetry-core https://python-poetry.org/docs/basic-usage/ .