You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
Hi @tiangolo, many thanks for adding this plugin! I'm currently working on replacing pipenv with poetry and this seems to be the last missing piece.
When testing your plugin I realized that many poetry commands fail when there is either no git tag set at all or when the current commit is not tagged.
Do I misunderstand some step in the intended workflow or is this a bug?
Below please find the steps required to reproduce the errors. Also other commands, e.g. poetry install fail with the same message.
# Preparation steps
poetry new TestPackage
git init TestPackage
cd TestPackage
# works
poetry shell
exit# add pluginecho\n[tool.poetry-version-plugin]\nsource = \"git-tag\">> pyproject.toml
# raises: # fatal: No names found, cannot describe anything.# poetry-version-plugin: No Git tag found, not extracting dynamic version
poetry shell
# create a tag
git add -A
git commit -a -m "Initial commit"
git tag 0.0.1
# works
poetry shell
exit# add a new commit without tagecho TestPackage > README.md
git add README.md
git commit -a -m "add readme"# raises:# fatal: no tag exactly matches '6972216108011dd40616c7e92fbd75ee00f96498'# poetry-version-plugin: No Git tag found, not extracting dynamic version
poetry shell
The text was updated successfully, but these errors were encountered:
Hi @tiangolo, many thanks for adding this plugin! I'm currently working on replacing pipenv with poetry and this seems to be the last missing piece.
When testing your plugin I realized that many
poetry
commands fail when there is either no git tag set at all or when the current commit is not tagged.Do I misunderstand some step in the intended workflow or is this a bug?
Below please find the steps required to reproduce the errors. Also other commands, e.g.
poetry install
fail with the same message.The text was updated successfully, but these errors were encountered: