Closed alexjball closed 7 months ago
Hi! This is the same issue from https://github.com/mtkennerly/poetry-dynamic-versioning/issues/158 . Poetry's internal logic doesn't expect a pyproject.toml's version field to change partway through processing, so I don't think we can do much about this, unfortunately.
When installing a project that has an editable install on a project using dynamic versions, poetry always reports that it's downgrading from the last-installed dynamic version to the version in the pyproject (0.0.0). I would expect poetry to think its installing the latest dynamic version, so that
poetry install
eventually reports that there is nothing to do.This does cause poetry to re-prepare the package being installed, which doesn't take very long since everything is already present in the venv, but takes longer than a no-op install.
repro: https://github.com/alexjball/poetry-dynamic-versioning/commit/8e4f720214360f7d437f08854b32f3f8c3070bcd