Thanks for the great work on this project - it's super useful!
I noticed recently that I had somehow forgotten to add the following configuration to my pyproject.toml:
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
That said, I had still installed poetry and poetry-dynamic-versioning into my venv, and included all other relevant configuration within the pyproject.toml file. This resulted in poetry build commands showing output references to the version I expected from poetry-dynamic-versioning rendering and files under my dist which were a later ("incorrect") version than expected (following I believe setuptools defaults which bumped the patch semver, among other things).
I wondered if it might make sense to inform the user about the potential for this to happen; perhaps as a warning when issuing poetry build or earlier to help state that there is a conflict / unexpected overlap from the configuration. I'm not sure if this is possible because of my erroneous configuration, but I thought it might be since poetry build showed the expected version. Thanks in advance for your thoughts on this (even if it's to say no, this isn't a very good idea or possible under the circumstances)!
Thanks for the great work on this project - it's super useful!
I noticed recently that I had somehow forgotten to add the following configuration to my
pyproject.toml:That said, I had still installed
poetryandpoetry-dynamic-versioninginto my venv, and included all other relevant configuration within thepyproject.tomlfile. This resulted inpoetry buildcommands showing output references to the version I expected frompoetry-dynamic-versioningrendering and files under mydistwhich were a later ("incorrect") version than expected (following I believesetuptoolsdefaults which bumped the patch semver, among other things).I wondered if it might make sense to inform the user about the potential for this to happen; perhaps as a warning when issuing
poetry buildor earlier to help state that there is a conflict / unexpected overlap from the configuration. I'm not sure if this is possible because of my erroneous configuration, but I thought it might be sincepoetry buildshowed the expected version. Thanks in advance for your thoughts on this (even if it's to say no, this isn't a very good idea or possible under the circumstances)!