We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-vvv
I have added a scripts section to my pyproject.toml at the end then I tried to run poetry version minor -vvv which seems to output the right thing:
scripts
poetry version minor -vvv
Bumping version from 0.1.1 to 0.2.0
But checking the diff, the scripts section was only moved to its right place:
diff --git a/pyproject.toml b/pyproject.toml --- a/pyproject.toml +++ b/pyproject.toml @@ -13,9 +13,9 @@ python = "^2.7 || ^3.6 || ^3.7" [tool.poetry.dev-dependencies] +[tool.poetry.scripts] +mercurial-litf = "mercurial_litf.cli:main" [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" -[tool.poetry.scripts] -mercurial-litf = "mercurial_litf.cli:main"
If I rerun once again poetry version minor -vvv, the version is correctly bumped:
diff --git a/pyproject.toml b/pyproject.toml --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mercurial-litf" -version = "0.1.1" +version = "0.2.0" description = "A litf plugin for the Mercurial test runner" authors = ["Boris Feld <lothiraldan@gmail.com>"] license = "MIT" @@ -13,9 +13,9 @@ python = "^2.7 || ^3.6 || ^3.7" [tool.poetry.dev-dependencies] +[tool.poetry.scripts] +mercurial-litf = "mercurial_litf.cli:main" [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" -[tool.poetry.scripts] -mercurial-litf = "mercurial_litf.cli:main"
I can reproduce every time and I was on the latest release of poetry so it's not a regression on the 1.0.0b1.
1.0.0b1
I just wanted to confirm that it's indeed a bug before submitting a patch.
The text was updated successfully, but these errors were encountered:
Hey @Lothiraldan ,
could you please check the behavior with the latest preview? For me it works.
Thanks!
Sorry, something went wrong.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
-vvv
option).Issue
I have added a
scripts
section to my pyproject.toml at the end then I tried to runpoetry version minor -vvv
which seems to output the right thing:But checking the diff, the
scripts
section was only moved to its right place:If I rerun once again
poetry version minor -vvv
, the version is correctly bumped:I can reproduce every time and I was on the latest release of poetry so it's not a regression on the
1.0.0b1
.I just wanted to confirm that it's indeed a bug before submitting a patch.
The text was updated successfully, but these errors were encountered: